php.ini Settings Not Working
Sometimes you need to apply a configuration change to a PHP server and it just doesn't seem to be taking effect whatever you do. Usually it will be something like increasing the max post size or memory limit in php.ini, but a subsequent check with phpinfo() isn't showing the value you set.
Well there is a relatively simple solution you can try.
Assuming that your php.ini file is in the web root, edit (or create) the .htaccess file and add the following:
deny from all
Of course you'll need to change the ConfigPath to match the location of your web root which varies from server to server and from account to account.
After that php.ini changes should apply to all PHP files on that server. If not it's probably locked down and you'll probably need to contact your host.
Did this help? Let us know in the comments!blog comments powered by Disqus