Hello,

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/mod_fastcgi.so
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.


Regards
Silvio

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to