Hello ,
I've installed on my FreeBSD8 machine a web server apache22 , php5 and php5-extensions.
I'm using ports and I build a apache module .
Installation finish without any error and file "/usr/local/libexec/apache22/libphp5.so" exist .
I edit apache conf file "/usr/local/etc/apache22/httpd.conf" adding this line :
Starting apache (/usr/local/etc/rc.d/apache22 start) without error ...
If I try to connect to my localhost web server it dont works .
I verify with netstat and there'nt port 80 listen .
now ... I try to disable php5 module and restart apache
and now web server works fine ...
My freebsd 8 machine is full ports updated , I using internet guid to install apache22 + php5 but I dont find any solution for this problem .
Any help ?
I've installed on my FreeBSD8 machine a web server apache22 , php5 and php5-extensions.
I'm using ports and I build a apache module .
Installation finish without any error and file "/usr/local/libexec/apache22/libphp5.so" exist .
I edit apache conf file "/usr/local/etc/apache22/httpd.conf" adding this line :
Code:
LoadModule php5_module libexec/apache22/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Starting apache (/usr/local/etc/rc.d/apache22 start) without error ...
Code:
freebsd# httpd -M
...
php5_module (shared)
...
Code:
freebsd# ps aux | grep http
www 52237 0.0 0.4 13408 9004 ?? I 10:29AM 0:00.00 /usr/local/sbin/httpd
If I try to connect to my localhost web server it dont works .
I verify with netstat and there'nt port 80 listen .
now ... I try to disable php5 module and restart apache
Code:
#LoadModule php5_module libexec/apache22/libphp5.so
and now web server works fine ...
Code:
It works!
My freebsd 8 machine is full ports updated , I using internet guid to install apache22 + php5 but I dont find any solution for this problem .
Any help ?