Hi people! I don't know how to go on further, but I did the installation instructions to get PHP 5.2.2 running as fast-cgi on Apache2. Can somebody help me?
I followed the exact configuration steps mentioned in the sample configuration as well I compiled PHP with the "--with-fastcgi" option. My apache error log: [Wed May 09 07:18:58 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Wed May 09 07:18:58 2007] [notice] Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8e DAV/2 SVN/1.4.3 configured -- resuming normal operations [Wed May 09 07:19:07 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:08 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:09 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:10 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:11 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:11 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29854) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:11 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29853) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:11 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29852) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:11 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29850) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:12 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:13 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:15 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:15 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29858) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:15 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29857) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:15 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29855) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:19 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29862) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:22 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:23 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:23 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29863) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:26 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:27 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:27 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29868) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:27 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29864) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:31 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29869) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:34 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:35 2007] [notice] mod_fcgid: call /usr/local/apache2/htdocs/php/info.php with wrapper /usr/local/bin/php [Wed May 09 07:19:35 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29879) exit(server exited), terminated by calling exit(), return code: 0 [Wed May 09 07:19:35 2007] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Wed May 09 07:19:35 2007] [error] [client 127.0.0.1] Premature end of script headers: info.php [Wed May 09 07:19:41 2007] [notice] mod_fcgid: process /usr/local/apache2/htdocs/php/info.php(29880) exit(communication error), terminated by calling exit(), return code: 0 and my apache httpd.conf: ServerRoot "/usr/local/apache2" Listen 80 # LoadModule php5_module modules/libphp5.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule fcgid_module modules/mod_fcgid.so <IfModule !mpm_netware_module> User daemon Group daemon </IfModule> ServerAdmin [EMAIL PROTECTED] DocumentRoot "/usr/local/apache2/htdocs" <Directory "/usr/local/apache2/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.html </IfModule> <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> ErrorLog logs/error_log LogLevel warn <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> Format). CustomLog logs/access_log common </IfModule> <IfModule alias_module> ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" </IfModule> <IfModule cgid_module> </IfModule> <Directory /usr/local/apache2/htdocs/php> SetHandler fcgid-script FCGIWrapper /usr/local/bin/php .php Options ExecCGI allow from all </Directory> DefaultType text/plain <IfModule mime_module> TypesConfig conf/mime.types AddType application/x-compress .Z </IfModule> # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf # Multi-language error messages #Include conf/extra/httpd-multilang-errordoc.conf # Fancy directory listings #Include conf/extra/httpd-autoindex.conf # Language settings #Include conf/extra/httpd-languages.conf # User home directories Include conf/extra/httpd-userdir.conf # Real-time info on requests and configuration #Include conf/extra/httpd-info.conf # Virtual hosts #Include conf/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual #Include conf/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Include conf/extra/httpd-dav.conf # Various default settings #Include conf/extra/httpd-default.conf # Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users