Forum Moderators: coopster

Message Too Old, No Replies

PHP.INI Update Question

         

kevinj

1:46 pm on May 5, 2005 (gmt 0)

10+ Year Member



Does anyone know if when you make a change to the php.ini file what you need to do to make the change update on a site? Does the server need to be restarted for the new change to update?

TheSeoGuy

2:11 pm on May 5, 2005 (gmt 0)

10+ Year Member



Hi kevinj,

I think you are correct. It has been my experience with Windows IIS that the Web Service needs to be stopped and restarted for any changes to take effect.

kevinj

2:21 pm on May 5, 2005 (gmt 0)

10+ Year Member



Thanks. This client is using Apache server on a Mac OSX server. Probably applies to this situation too. Anyone know for sure?

Stormfx

3:15 pm on May 5, 2005 (gmt 0)

10+ Year Member



The PHP.ini file is loaded when the web server starts. If you make changes, the web server needs restarted. The exception is when you are using per-site PHP.ini files in Apache which I believe it reloads at each new request. I could be wrong on that part, however.

[php.net...]

kevinj

3:37 pm on May 5, 2005 (gmt 0)

10+ Year Member



Thanks Stormfx. I think a web services restart is what I'm going to need to do each time I update the php.ini file. Really appreciate everyone's help on this. Any other thoughts, please let me know.

mack

3:39 pm on May 5, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



you need to restart your server, service. Apache/IIs for changed to take effect. The same applies for mosrt server operating systems.

Mack.

kevinj

6:54 pm on May 5, 2005 (gmt 0)

10+ Year Member



Thanks. I did restart the web services and the change took effect.

Appreciate everyone's help.