PHP - install question

Darryl Hoar darryl at osborne-ind.com
Thu Feb 7 20:11:04 UTC 2008


Greetings,
am trying to install apache 1.3, mysql, php on
my freshly installed 6.3 box.

Once I installed apache and mysql, I tried to install
php.  couldn't find mod_php4 in ports, so googled and
found that I needed /usr/ports/lang/php4.  Installed that
without problem.

Created file /usr/local/www/data/index.php with the
following contents:

<html>
<head>
<title>PHP_TESTER</title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>

When I use my browser and hit the server, I get a blank 
page with the title PHP_TESTER.

what step did I miss ?

any help greatly appreciated.


More information about the freebsd-questions mailing list