Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Running PHP as FastCGI (mod_fcgid) and Multiple Configs. |
|
Author |
|
Millennium
Joined: 17 Apr 2006 Posts: 179 Location: Leiderdorp, NL, EU
|
Posted: Fri 02 Feb '07 21:08 Post subject: Running PHP as FastCGI (mod_fcgid) and Multiple Configs. |
|
|
After reading the answer of Steffan in this topic: http://www.apachelounge.com/viewtopic.php?p=6090
I switched to FastCGI to get the server stable at last.
Only, in the old situation I had some base php settings (like Allow_url_fopen false) Which could be overruled by the VHOST settings, with the php_admin_flag directive.
I tried setting the PHPRC to a custom php.ini with the initdefaultEnv command in the vhosts. This works almost, but FastCgi reuses processes without reloading the php.ini. Setting MaxRequestperProcess to 1 didn't work.
Maybe I have to us "normal" CGI or are there other options ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 09 Feb '07 11:51 Post subject: |
|
|
A new pecl extention for php can read the .htaccess files. It is compiled in pecl pack in the new php 5.2.1
I haven't tried that out yet.
Docs can be found http://pecl.php.net/package/htscanner |
|
Back to top |
|
|
|
|
|
|