vegasgwm
06-08-2006, 04:13 AM
In BH knowledgebase there is a nice tip how to copy the php.ini file to every subfolder. (e.g. if you want to overide BH php config in all subs)
If you plan to use it, THINK about it first.
I was hoping to solve some authentication problems and did it.
WRONG!:eek:
This trick puts the php.ini in ALL subfolders (also where it's not needed images/includes/etc....)
Turns out, some programs (e.g 4images gallery) did NOT like that plan a bit and just "crashed."
Well I guess I learned my lesson. Consider yourselves warned!
b.t.w. anyone know the REVERSE code for this, so i dont have to go delete that ****ed php.ini in every singe subfolder.
this was the copying code:
// system("find * -type d|xargs -i cp --verbose php.ini {}/.");
If you plan to use it, THINK about it first.
I was hoping to solve some authentication problems and did it.
WRONG!:eek:
This trick puts the php.ini in ALL subfolders (also where it's not needed images/includes/etc....)
Turns out, some programs (e.g 4images gallery) did NOT like that plan a bit and just "crashed."
Well I guess I learned my lesson. Consider yourselves warned!
b.t.w. anyone know the REVERSE code for this, so i dont have to go delete that ****ed php.ini in every singe subfolder.
this was the copying code:
// system("find * -type d|xargs -i cp --verbose php.ini {}/.");