cancel
Showing results for 
Search instead for 
Did you mean: 

Does magento requre ini_set to be enabled

SOLVED

Does magento requre ini_set to be enabled

i am getting errors in my log like this

Warning: ini_set() has been disabled for security reasons  in /home/tvpwhole/public_html/app/code/core/Mage/Core/Model/Email/Template.php on line 427

 

Does magento need ini_set to be enabled?

3 REPLIES

Re: Does magento requre ini_set to be enabled

Yes, Magento will require ini_set() to be enabled to function properly. 

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips

Re: Does magento requre ini_set to be enabled

Thanks, I thought that ini_set was a security concern.  Is it still a concern but just required or is there any way to make it more secure?

Re: Does magento requre ini_set to be enabled

IMO enabling ini_set() isn't really a major security concern as long as the server is setup and secured properly. 

 

If the server is not setup and secured properly, you have more important things to worry about than just ini_set(). Smiley Wink

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips