pepo Posted September 12, 2008 Share Posted September 12, 2008 Hi all. am facing a little problem with my php.ini configuration (WampServer2.0c) for now, am still learning php. and am try to understand some output control function.. am trying to debuge the error that well hapen whene am use an code like the following <html> <head> <title>example</title></head> <body> example body </body></html> <?php header ('Content-Type: text/html'); ?> this code should generate a warning. but it's not. [from my php.ini] error_reporting = E_ALL display_errors = stdout output_buffering = Off what did I miss? Quote Link to comment https://forums.phpfreaks.com/topic/123861-wamp-phpini-how-to-configure-it-to-disply-output-warnings/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 12, 2008 Share Posted September 12, 2008 You need to make sure the php.ini that you are changing is the one that php is using and to get any change made to take effect you need to stop and start your web server. Quote Link to comment https://forums.phpfreaks.com/topic/123861-wamp-phpini-how-to-configure-it-to-disply-output-warnings/#findComment-639497 Share on other sites More sharing options...
pepo Posted September 12, 2008 Author Share Posted September 12, 2008 yes, it's the right one. here is the result using the phpinfo() [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/123861-wamp-phpini-how-to-configure-it-to-disply-output-warnings/#findComment-639500 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.