Bug #16094 Updated: Unable to view .php file in the browser
| From: | mfischer@php.net | Date: | Tue, 19 Mar 2002 15:33:00 +0000 |
| Subject: | Bug #16094 Updated: Unable to view .php file in the browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2881@lists.php.net to get a copy of this message | ||
ID: 16094
Updated by: mfischer@php.net
Reported By: ngupta@hss.hns.com
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Red Hat LInux
PHP Version: 4.1.2
New Comment:
Re-Installing the OS silly.
Anyway, I think I lost track.
You try to put up a PHP page and view the output of the code phpinfo()
and you do not get it, right?
Previous Comments:
------------------------------------------------------------------------
[2002-03-19 07:05:38] ngupta@hss.hns.com
the web server is running on one of our corporate's machine and you
would not be able to view the page at your end.
However, after searching through several php bug databases, I found it
is better to install php,apache from the red
hat distribution cd itself instead of downloading the rpms
and installing them manually. Have u any comments on the same? Now I
intend to reinstall the linux OS.
------------------------------------------------------------------------
[2002-03-19 06:59:14] sniper@php.net
And you're not accessing the file directly? But through
some url? What is the url? (so we could see for ourselves)
------------------------------------------------------------------------
[2002-03-19 06:31:04] ngupta@hss.hns.com
We view the test.php file through the netscape browser available on red
hat linux. Nothing appears on the browser window.
AddType application/x-httpd-php-source .phps
is added to httpd.conf
Nothing changes when the <?
phpinfo();
?>
is changed to:
<?php
phpinfo();
?>
------------------------------------------------------------------------
[2002-03-18 07:27:20] msopacua@idg.nl
Let's get something straight:
You say "view .php file in the browser".
Do you open it locally? Or envoke it via the webserver?
Secondly:
What happens if you change:
<?
phpinfo();
?>
to:
<?php
phpinfo();
?>
------------------------------------------------------------------------
[2002-03-18 07:20:57] mfischer@php.net
Have you added the line
AddType application/x-httpd-php-source .phps
to your apache config file ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16094
--
Edit this bug report at http://bugs.php.net/?id=16094&edit=1