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

From: Date: Mon, 18 Mar 2002 12:27:21 +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-2752@lists.php.net to get a copy of this message
ID: 16094 Updated by: msopacua@idg.nl Reported By: ngupta@hss.hns.com Status: Feedback Bug Type: *General Issues Operating System: Red Hat LInux PHP Version: 4.1.2 New Comment: 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(); ?> Previous Comments: ------------------------------------------------------------------------ [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". ------------------------------------------------------------------------ [2002-03-15 06:56:17] ngupta@hss.hns.com this is not a support question. May be some step is missed out in the INSTALL file which is required for installation. ------------------------------------------------------------------------ [2002-03-15 06:44:35] ngupta@hss.hns.com The php.ini file is located in /usr/local/lib and not in /usr/local/bin reported earlier ------------------------------------------------------------------------ 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 (#2752) next »