Re: Problem loading a php script

From: Date: Tue, 09 Jul 2002 10:48:56 +0000
Subject: Re: Problem loading a php script
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7672@lists.php.net to get a copy of this message
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


« previous php.install (#7672) next »