Current time: 11-26-2024, 06:31 AM Hello There, Guest! (LoginRegister)


Post Reply 
Error 500
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #7
RE: Error 500
(08-27-2009 08:29 PM)nuke3d Wrote:  What does
Code:
cat /var/www/fcgi/master/php5-fcgi-starter
output?


server A

#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=10
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi


Server B

#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=10
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi


Server C

#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=10
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi


Quote:Can you run
Code:
/usr/bin/php5-cgi
?


yes

Quote:What happens if you supply /usr/bin/php5-cgi with a .php file?
Code:
/usr/bin/php5-cgi /var/www/virtual[...]/htdocs/somephpfile.php

show the code file
X-Powered-By: PHP/5.2.6-1+lenny3
Set-Cookie: bdf1123acfa0ef34bf4a61f5833aa9cd=-; path=/
Set-Cookie: mosvisitor=1
Last-Modified: Thu, 27 Aug 2009 10:42:07 GMT
Cache-Control: post-check=0, pre-check=0
.....
08-27-2009 08:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Error 500 - theprincy - 08-26-2009, 08:10 AM
RE: Error 500 - theprincy - 08-27-2009, 01:36 AM
RE: Error 500 - kilburn - 08-27-2009, 03:42 AM
RE: Error 500 - theprincy - 08-27-2009, 09:02 AM
RE: Error 500 - theprincy - 08-27-2009, 08:20 PM
RE: Error 500 - nuke3d - 08-27-2009, 08:29 PM
RE: Error 500 - theprincy - 08-27-2009 08:43 PM
RE: Error 500 - nuke3d - 08-27-2009, 09:33 PM
RE: Error 500 - theprincy - 08-27-2009, 09:36 PM
RE: Error 500 - nuke3d - 08-27-2009, 09:45 PM
RE: Error 500 - theprincy - 08-27-2009, 09:50 PM
RE: Error 500 - nuke3d - 08-27-2009, 09:56 PM
RE: Error 500 - theprincy - 08-27-2009, 10:01 PM
RE: Error 500 - nuke3d - 08-27-2009, 10:09 PM
RE: Error 500 - theprincy - 08-28-2009, 12:19 AM
RE: Error 500 - theprincy - 08-28-2009, 04:12 PM
RE: Error 500 - gOOvER - 08-28-2009, 04:41 PM
RE: Error 500 - theprincy - 08-28-2009, 04:46 PM
RE: Error 500 - theprincy - 08-28-2009, 06:35 PM
RE: Error 500 - kilburn - 08-28-2009, 07:15 PM
RE: Error 500 - gOOvER - 08-28-2009, 07:51 PM
RE: Error 500 - theprincy - 08-28-2009, 08:00 PM
RE: Error 500 - theprincy - 08-28-2009, 07:40 PM
RE: Error 500 - theprincy - 08-29-2009, 04:52 AM
RE: Error 500 - kilburn - 08-29-2009, 02:33 PM
RE: Error 500 - theprincy - 08-29-2009, 05:47 PM
RE: Error 500 - kilburn - 08-29-2009, 07:13 PM
RE: Error 500 - sci2tech - 08-29-2009, 07:34 PM
RE: Error 500 - kilburn - 08-29-2009, 07:47 PM
RE: Error 500 - sci2tech - 08-29-2009, 08:02 PM
RE: Error 500 - kilburn - 08-29-2009, 09:51 PM
RE: Error 500 - sci2tech - 08-29-2009, 11:28 PM
RE: Error 500 - kilburn - 08-30-2009, 03:28 AM
RE: Error 500 - sci2tech - 08-30-2009, 03:50 AM
RE: Error 500 - kilburn - 08-30-2009, 06:53 PM
RE: Error 500 - sci2tech - 08-30-2009, 06:56 PM

Forum Jump:


User(s) browsing this thread: 10 Guest(s)