saito Posted May 8, 2007 Share Posted May 8, 2007 Hi, I'm using PHP to develop some application. Sometime when i using php application, it show me/user/at website some httpd.conf configuration in top of php page. And when i refresh that page, all info disappear. So far i'm running my server 1 month and got 2 times that situations. May i know why.... ssaito@hotmail.com Quote Link to comment Share on other sites More sharing options...
the_oliver Posted May 8, 2007 Share Posted May 8, 2007 me/user/at website some httpd.conf can you rephrase that please? Quote Link to comment Share on other sites More sharing options...
daq Posted May 9, 2007 Share Posted May 9, 2007 Are you by any chance running phpinfo() anywhere in your script? Maybe on error? Also, disable error output to anywhere but the log files. Quote Link to comment Share on other sites More sharing options...
saito Posted May 18, 2007 Author Share Posted May 18, 2007 Hi, for more clear i attahached my error page [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
daq Posted May 19, 2007 Share Posted May 19, 2007 Is there anything in the code that could output that? Are you sending any unusual http headers to browsers? Since it goes away after a refresh I'm assuming it is some variable that is either set or not set and not a configuration issue since those are permanent. Check your variables. If you want to try and hide this under the carpet, create an .htaccess file in the folder where the script is which contains the following: php_flag log_errors off If its your server there is also a way to control this from php.ini If that doesn't make it go away, it might be something with Apache and not PHP. Check Apache log files. Quote Link to comment Share on other sites More sharing options...
the_oliver Posted May 19, 2007 Share Posted May 19, 2007 Run <?php phpinfo(); ?> and nothing else in a file, and see if there is anything on the info page that looks wrong. Something todo with flag/error_log as 'daq' sugests is most likly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.