Jump to content


This topic is now archived and is closed to further replies.


modifying php.ini getting php to refresh

Recommended Posts


know I'm probably dumb beyond all belief but....

After modifying php.ini, how do I get php to refresh and use the new settings without restarting my webserver? When I look at phpinfo it continues to show the old data for some time.


Share this post

Link to post
Share on other sites
There is no otherway of updating the PHP settings without restarting the server. Beacuse when the server gets restarted it basically loads all the config settings in to its memory. It does not check the config file everytime a page is requested instead it uses the internal memory. So the only option is to restart the server inorder for it use the new settings available.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.