htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: More on php5.fcgi setup
PostPosted: 01 Nov 2006 02:43 
Offline
User avatar

Joined: 25 Sep 2006 04:48
Posts: 242
  • Idle processes will be killed by FastCGI after the idle-timeout is reached. You'll see a warning in the Apache error log when this happens. This is normal as long as the exit status is 0.
  • php5.fcgi must be executable by the webserver, and the directory its in must be +ExecCGI. (The PHP files themselves don't need to be executable.)
  • If php5.fcgi is not executable, or if ExecCGI is not enabled, you'll get a 403:Forbidden error.
  • You need a copy of php5.fcgi in the document root of every VirtualHost.
  • You can add arguments to the 'exec' to tweak how php runs. You can, for example, have a separate php.ini file for every directory on your server.
  • Not absolutely necessary to do it this way. You can copy the php binary into a cgi-bin directory if you're more comfortable with that.


FastCGI.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB