httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Silvio Siefke <>
Subject Re: [users@httpd] Apache2, Fastcgi and PHP
Date Fri, 04 Feb 2011 12:44:37 GMT

so i have found the mistake. It was the short_open_tag Problem. In the
Script stand <? phpinfo(); ?>, in Standard of php.ini must write
<?php phpinfo(); ?> or the Directive "short_open_tag = On".

Okay the installation in Detail for FreeBSD i think in Linux is same
with the package tool of distribution.

cd /usr/ports/www/mod_fastcgi && make install clean
cd /usr/ports/www/spawn-fcgi && make install clean

Activate in httpd.conf
LoadModule fastcgi_module libexec/apache22/
AddHandler php5-fastcgi .php
FastCgiExternalServer /usr/local/www/apache22/data -host localhost:9000

spawn-fcgi Config: (detailed Directive can see in rc Script
echo 'spawn_fcgi_enable="YES"'

Service start:
service spawn-fcgi start
service apache22 start

Its easy to use PHP-CGI with Apache.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message