note 49014 added to install.windows
| From: | claudio_jvt at hotmail dot com | Date: | Fri, 14 Jan 2005 12:38:01 +0000 |
| Subject: | note 49014 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83269@lists.php.net to get a copy of this message | ||
One very helpfull note to Win2003 iis6 users:
If you'd like to use isapi in the web service extensions and you're in a development
server (or even if your php.ini config file changes frequently), here's what you can do:
Php.ini runtime changes:
Create a new application pool in iis:
iis->select server->application pools->new application pool
Use default settings;
go to the application pool you've created, properties->
check the "Recycle worker process" option, and give it a small value (10 is nice :) ).
Now go to your site (or virtual directory site)-> properties->
change the application pool to the newly configured appPool.
At this moment, is good to make a iss restart (note this is the only resart needed).
Your site is now semi-runtime changed :)
You can try it with the usal php info() test. Change something in the php.ini and check the number
of requests it takes to use the new configuration.
The downside of this approach (wich is still better than to use php-cgi.exe): the process is
recycled, so all the configuration in php.ini is read every N requests - with php-cgi.exe, this
would happen for every request, so.. is a good solution.
Again, be carefull when using this in a production environment, since the load can increase (not
sure how much, but it will certainly increase).
And keep in the new appPool JUST the php sites that require runtime changes in php.ini !
------
You've helped me, so I help you ;)
Tks
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49014
Delete -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+49014&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49014&report=yes
Search -- http://master.php.net/manage/user-notes.php