Hi, All:
We recently installed PHP 4.x for a client on IIS server. We're adjusting config in php.ini, however, once changes are made, PHP doesn't see them until IISAdmin is stopped/started.
There's got to be a better way, right? On a production machine we simply can't stop/start critical services like this.
Any solutions, anyone?
Newbie Question: How to "reload" php.ini in IIS
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
- Heavy
- Forum Contributor
- Posts: 478
- Joined: Sun Sep 22, 2002 7:36 am
- Location: Viksjöfors, Hälsingland, Sweden
- Contact:
I believe there are two ways of installing the PHP parser:
* As a DLL, loaded and called by IIS
* As an EXE, called by IIS
The DLL reloads php.ini when it is loaded, that is when IIS is restarted, right...
The EXE is started on every single request and as such, it reloads php.ini for every single request for a PHP-page.
Anybody, correct me if this is wrong.
I did not take the time to read the manual for this post, but I kind of believe my statement describes the cause of the problem.
* As a DLL, loaded and called by IIS
* As an EXE, called by IIS
The DLL reloads php.ini when it is loaded, that is when IIS is restarted, right...
The EXE is started on every single request and as such, it reloads php.ini for every single request for a PHP-page.
Anybody, correct me if this is wrong.
I did not take the time to read the manual for this post, but I kind of believe my statement describes the cause of the problem.