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....

 

[email protected]

Link to comment
https://forums.phpfreaks.com/topic/50460-apache-show-configuration/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.