Bug #16094 Updated: Unable to view .php file in the browser
| From: | sniper@php.net | Date: | Tue, 19 Mar 2002 11:59:15 +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-2864@lists.php.net to get a copy of this message | ||
ID: 16094
Updated by: sniper@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:
And you're not accessing the file directly? But through
some url? What is the url? (so we could see for ourselves)
Previous Comments:
------------------------------------------------------------------------
[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 ?
------------------------------------------------------------------------
[2002-03-18 07:07:35] ngupta@hss.hns.com
We upgraded the php version to 4.1.2 but still are facing the same
problem.
The output of :
/www/bin $>./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_php4.c
suexec: disabled; invalid wrapper /www/bin/suexec
---------------------------------------------------
The httpd.conf file contains:
AddType application/x-httpd-php .php
------------------------------------------------------------------------
[2002-03-15 07:11:18] mfischer@php.net
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php
If you are still able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
------------------------------------------------------------------------
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