tags:

views:

223

answers:

2

I am trying to get expose_php to off with ini_set, except it seems to not be working. I tried the value 0, and Off, but neither work.

ini_set('expose_php',0);

help?

A: 
ini_set('display_errors','0');

Both parameters need to be strings, as I recall. Try that.

inkedmn
doesnt work, it doesnt need to be a string btw.
David
+6  A: 

http://php.net/manual/en/ini.core.php

It can only be set in php.ini.

konforce