I've installed PHP4 and Apache on NT sp4. Everything seems to work okay, but I can't seem to figure out how to prevent "Content-type: text/html" from being displayed in the browser. Can someone give me the simple solution?
yeh..i get the same on apahce/php4/mysql/w2k mine keeps saying.. X-Powered-By: PHP/4.0.1pl2 Content-type: text/html at the top of every screen.. how do you get this off...
I've got the first part covered. In your php.ini file, under Misc, set "expose_php = Off". That will get rid of the X-Powered_By: PHP/4.0.0. I'm not sure that that's the correct solution, but it works.