How do I edit the php.ini file?

carlosab23

New Member
Ok I may seem a little noobish, but it's getting frustrating. I've googled for like 5 hours, so now I've come here. Should've googled afterwards huh? Anyway I need to find out how to edit my php.ini file. My web hosting service is 000webhost. The problem is the dang Suhosin error. So if anyone has any tips to edit the php.ini file they would be much appreciated.
 
Ok guys thanks for the help.
I contacted them yesterday, (wow that quick) and they told me they could not change the settings because it would effect other users.
 
carlosab23 said:
Ok guys thanks for the help.
I contacted them yesterday, (wow that quick) and they told me they could not change the settings because it would effect other users.

Actually, that may not be completely true. In my experience you can often over ride the servers php.ini by placing one in your public html directory. You can do one of two things:
Download your version of php from the php website
Simply open any text editor and put something like this in it:
magic_quotes_runtime=off
magic_quotes_gpc=off
magic_quotes_sybase=off
register_globals=on

You can switch out those variables for what ever functions need to be on or off.

Now go to your vb admin cp->Matience->View PHP Info. About 4 or 5 columns down you will see: Loaded Configuration File This should point to the php.ini in your public html directory.
 
yup it's possible but, only if your host allow in their php.ini file to be modified by another php.ini some host like the one mentioned above, block this kind of things so is only half true
 
Itsuki Minami said:
so is only half true

Actually, its completely true. I never said it always works :p

For the record, every host i have tried it on has worked though, except maybe 5gbfree, cant recall for sure on that one.
 
Back
Top