RE: [PHP] Blank page in browser

From: Date: Wed, 18 May 2005 05:59:55 +0000
Subject: RE: [PHP] Blank page in browser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-215442@lists.php.net to get a copy of this message
Thanks Richard Lynch, I found same error in error_log file which I face on command prompt before then I install PHP 5.0 with --with-oci8=$ORACLE_HOME compilation so that problem solved. Now I'm facing same problem on Apache. So can you tell me where should I define the environment variables on Apache. Thanks, Regards, Nayeem. -----Original Message----- From: Richard Lynch [mailto:ceo@l-i-e.com] Sent: Tuesday, May 17, 2005 10:51 PM To: Nayeem Cc: php-general@lists.php.net Subject: Re: [PHP] Blank page in browser On Tue, May 17, 2005 1:41 am, Nayeem said: > I'm new to PHP programming and I just try to display small information > from > database on web page but its shows blank page. So my code is mention below > and let me know what's wrong in it but when I execute same program on > command prompt then its shows all result correctly with HTML Tags You logged in as you. The PHP user runs as somebody else. That other user does not have the same permissions/rights as you, and not the same environment variables ($PATH in shell) and not even the same shell. If you can 'su' to that other user and run it, you may find out why it fails. You should also check error logs as suggested, and use "View Source" in your browser to see if the "blank" page is really blank, or just buried inside an unfinished HTML tag. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#215442) next »