Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 06-03-2009, 08:48 PM suPHP local settings
Experienced Talker

Posts: 31
Name: Dave
Trades: 0
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.
Neophyte is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to suPHP local settings
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14438 seconds with 12 queries