Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2005 11:44:44 -0700
From:      Philip Wege <philip@xms.co.za>
To:        freebsd-questions@freebsd.org
Subject:   PHP on freebsd ports not working
Message-ID:  <1118083484.19699.6.camel@linux.site>

next in thread | raw e-mail | index | archive | help
Unable to get php to work through ports system:

Php5 and Apache2 is being used.

The test script looks like this :
<html>
<head>
<title>Hello World</title>
</head>
<body>
<?php
echo "Hello World";
?>
</body>
</html>

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

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 ? 








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1118083484.19699.6.camel>