Re: [PHP] unable to view .php files in browser
At 15.03.2002 17:28, you wrote: > > > >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: > >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 Check out, what filename you have, hereĀ“s an exerpt from my httpd.conf. maybe yours has not the correct endings defined (As I work for several servers, nearly every ending will be parsed) AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml AddType application/x-httpd-php3 .htmls AddType application/x-httpd-php3 .html AddType application/x-httpd-php3 .php # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps HTH Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] unable to view .php files in browser
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: Testing PHP 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." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php