logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Running PHP as FastCGI (mod_fcgid) and Multiple Configs.
Author
Millennium



Joined: 17 Apr 2006
Posts: 179
Location: Leiderdorp, NL, EU

PostPosted: Fri 02 Feb '07 21:08    Post subject: Running PHP as FastCGI (mod_fcgid) and Multiple Configs. Reply with quote

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

PostPosted: Fri 09 Feb '07 11:51    Post subject: Reply with quote

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


Reply to topic   Topic: Running PHP as FastCGI (mod_fcgid) and Multiple Configs. View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules