note 49014 deleted from install.windows by cmb

From: Date: Sun, 31 Mar 2019 08:49:23 +0000
Subject: note 49014 deleted from install.windows by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-210486@lists.php.net to get a copy of this message
Note Submitter: claudio_jvt at hotmail dot com ---- 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

« previous php.notes (#210486) next »