Re: Apache2, Fastcgi and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux