Jump to content


Photo

modifying php.ini getting php to refresh


  • Please log in to reply
1 reply to this topic

#1 tbailey

tbailey
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 24 March 2006 - 05:54 AM

Hi,

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.

Thanks!

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 24 March 2006 - 02:31 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users