Alberto, You need to add the AddType line in httpd.conf as per the installation instructions and restart Apache.
HTH Chris Alberto Martin wrote: > Hi: > > I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart > apache with no errors. Now I'm trying to test php by using a test script > (php_test.php) that I saved in /etc/local/apache/htdocs/. > The test script called the phpinfo function, like this: > > <?php > > phpinfo(); > > ?> > > When I try to access the php file from the browser > http://127.0.0.1/php_test.php, I only see the script code, > but nothing happen. Looks like php is not working, even though > the start page index.html of apache (http://127.0.0.1) is > working fine. > > Any suggestion... > > Thanks in advanced > > Alberto > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php