Jump to content

Apache Show Configuration


saito

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.