adrianle Posted February 23, 2016 Share Posted February 23, 2016 Hey guys.. I've got a few entries in a php.ini file that don't appear to be taking hold after restarting apache. Here's the scenario: Wrote an info.php to show me my PHP configuration. It says it's looking for php.ini under .../webroot/etc/php.ini I changed that php.ini - restarted Apache Ran the info.php again, and I don't see the new values reflected here. Suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/300862-phpini-doesnt-change-php-values-after-restart/ Share on other sites More sharing options...
Jacques1 Posted February 23, 2016 Share Posted February 23, 2016 What does php -i | grep 'Loaded Configuration File' say? Is this the exact file you're editing? Quote Link to comment https://forums.phpfreaks.com/topic/300862-phpini-doesnt-change-php-values-after-restart/#findComment-1531363 Share on other sites More sharing options...
adrianle Posted February 23, 2016 Author Share Posted February 23, 2016 It says: /etc/php.ini ... which is where I put it. Quote Link to comment https://forums.phpfreaks.com/topic/300862-phpini-doesnt-change-php-values-after-restart/#findComment-1531379 Share on other sites More sharing options...
Jacques1 Posted February 23, 2016 Share Posted February 23, 2016 In your first post, you actually said it's /webroot/etc/php.ini, which sounds like you're running PHP in some kind of jail. So what's going on here? Quote Link to comment https://forums.phpfreaks.com/topic/300862-phpini-doesnt-change-php-values-after-restart/#findComment-1531385 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.