build php cgi/fastcgi

thanhtamntp

Verified User
Joined
Sep 30, 2009
Messages
13
Hi all,
I have one VPS running DA. I try phpinfo, get Server API Apache 2.0 Handler. I tried ./build php, with php5-cgi=yes, php5-cli=no. I get Server API CGI/FastCGI. But website not run with file php, only run file phpinfo.php.

In addition, phpMyAdmin, Squirrelmail, IonCube not run.

So, i have to ./build php to be able to run file php.

Sorry for my poor English.
 
Hi all,
I have one VPS running DA. I try phpinfo, get Server API Apache 2.0 Handler. I tried ./build php, with php5-cgi=yes, php5-cli=no. I get Server API CGI/FastCGI. But website not run with file php, only run file phpinfo.php.

In addition, phpMyAdmin, Squirrelmail, IonCube not run.

So, i have to ./build php to be able to run file php.

Sorry for my poor English.


I'd guess you see 500 Internal Server Error. If so, then you need to change permissions of PHP files and directories in which they exist if you want to have them running under PHP-CGI. For more details you should read /var/log/suphp.log and apache error logs as SeLLeRoNe has suggested.
 
Back
Top