Problems getting mod_fastcgi and Apache 2 and php4 to run
Flavio Curti <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello List I'm trying to get mod_fastcgi (2.4.2) and Apache2 (2.0.55) together with PHP4 (4.4.2RC1) to run. All programs are compiled by myself. My apache config looks like: FastCgiServer /home/httpd/apps/fastcgi/fcgi-php4 ScriptAlias /fastcgi/ /home/httpd/apps/fastcgi/ AddHandler php-fastcgi .phpf <Location /fastcgi/> Option ExecCGI SetHandler fastcgi-script </Location> Action php-fastcgi /fastcgi/fcgi-php4 AddType application/x-httpd-php .phpf /home/httpd/apps/fastcgi/fcgi-php4 looks like: #!/bin/sh PHPRC="/etc/httpd2/" export PHPRC PHP_FCGI_CHILDREN=4 export PHP_FCGI_CHILDREN exec /usr/bin/php4.fcgi --($:~)-- /usr/bin/php4.fcgi -v PHP 4.4.2RC1 (cgi-fcgi) (built: Dec 19 2005 14:09:33) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies On apache startup, the fcgi server gets started: [Mon Dec 19 21:31:31 2005] [notice] FastCGI: process manager initialized (pid 24191) [Mon Dec 19 21:31:31 2005] [warn] FastCGI: server "/home/httpd/apps/fastcgi/fcgi-php4" started (pid 24192) So everything looks fine. But as soon as I access a page (info.phpf, with <?phpinfo();?> inside I get to see the code of /home/httpd/apps/fastcgi/fcgi-php4 in the browser. Nothing else. I have tried everything I found on the net, rearranged the config, made it dynamic, but it only shows the source of the shell script... Do you have any Idea what my problem is? Thank you and kind regards Flavio -- http://no-way.org/~fcu/ ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/