PHP on freebsd ports not working

Philip Wege philip at
Mon Jun 6 09:48:04 GMT 2005

Unable to get php to work through ports system:

Php5 and Apache2 is being used.

The test script looks like this :
<title>Hello World</title>
echo "Hello World";

Logs only says :

[Mon Jun 06 07:50:48 2005] [notice] caught SIGTERM, shutting down
[Mon Jun 06 07:53:12 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4
configured -- resuming normal operations

The following was added to httpd.conf :

LoadModule php5_module        libexec/apache2/

When the one open machineip/test.php , it displayes the empty webpage
and its title.

I got a feeling im missing config lines that needs to be added to
httpd.conf , can anyone help ? 

More information about the freebsd-questions mailing list