unable to view .php files in browser
| From: | ngupta at hss dot hns dot com | Date: | Fri, 15 Mar 2002 11:58:24 +0000 |
| Subject: | unable to view .php files in browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88642@lists.php.net to get a copy of this message | ||
I am using php,mysql,apache combination on a linux machine.
I used the INSTALL file available in php-4.0.6.tar to install PHP in
static mode.
Compilations and Installation go on fine with no errors.
But when a test.php script containing:
<HTML>
<HEAD>
<TITLE>Testing PHP</TITLE>
</HEAD>
<BODY>
<?
phpinfo();
?>
</BODY>
</HTML>
is executed, only the HTML tags are interpreted. There is no output for
phpinfo().
The php.ini file is located in /usr/local/lib
The httpd.conf is present in /www/conf
The apache version used is apache_1.3.23
"DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain privileged or confidential information and should
not be circulated or used for any purpose other than for what it is intended. If
you have received this message in error, please notify the originator
immediately. If you are not the intended recipient, you are notified that you
are strictly prohibited from using, copying, altering, or disclosing the
contents of this message. HSS accepts no responsibility for loss or damage
arising from the use of the information transmitted by this email including
damage from virus."