Bug #16094 Updated: Unable to view .php file in the browser

From: Date: Tue, 19 Mar 2002 12:05:39 +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-2866@lists.php.net to get a copy of this message
ID: 16094 Updated by: ngupta@hss.hns.com Reported By: ngupta@hss.hns.com -Status: Feedback +Status: Open Bug Type: *General Issues Operating System: Red Hat LInux PHP Version: 4.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 ? ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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

« previous php.bugs (#2866) next »