I am trying to help out my host who seems to be relatively new but is trying as best he can. I just recently to shared hosting on a server that is running suPHP (suhosin). On one of my sites which is a vBulletin installation I had been changing some CSS settings and it threw up an error that mentioned changing the suhosin.post.max_vars and suhosin.request.max_vars settings. I had read about changing those setting previously while browsing the vB site so I knew this should be able to be accomplished with a local php.ini file. After trying to change those settings in that way failed, I also tried the same in the .htaccess file (using php_value) which also failed.
At this point I contacted my host, kind of a grumpy guy who at first thought I was seeking script support. I told him all I wanted to do was increase those two variables with a local .ini file. At first he told me to place this:
Code:
suPHP_ConfigPath /home/yourusername/public_html/php.ini
in the .htaccess file in my account root and place the .ini file in public_html. The .htaccess statement had the effect of disabling suhosin altogether which allowed me to acomplish my CSS changes, but disabling suhosin is not what I wanted to do, which I told my host. He said all they could do is open a ticket at su and he'd let me know what, if anything, they said. He also said they were kinda slow to respond sometimes. Doing some digging on my own, I discovered that the suPHP_ConfigPath statement should not point to the php.ini file but rather the path to the file. Making this chage had no effect on the results - suhosin was still hosed.
My question after that lengthy foreword is this: is it possible to make the aforementioned local changes to suhosin and if yes, what would be the requirements on the part of the host to accomplish this? Are there other settings that must also be altered on my end or his? If so, what would they be?
Thanks for any replies.
|