Jump to content

Where do i change this, is it on the server


Recommended Posts

Posted

it amazes me how many forum admins struggle to post in the correct forums themselves. Perhaps its due to a bad naming convention or something here on IPB, but try using the correct forum http://community.invisionpower.com/forum/406-server-management-resources-optimization/

Posted

it amazes me how many forums admins struggle to post in the correct forums themselves. Perhaps its due to a bad naming convention or something here on IPB, but try using the correct forum http://community.invisionpower.com/forum/406-server-management-resources-optimization/




im sorry i thought i was in the right one as i posted many things here yesterday and got very good replies

thanks
Posted

im sorry i thought i was in the right one as i posted many things here yesterday and got very good replies



thanks




You might take a look at WebHostingTalk's VPS forums; reading the posts there helped me *SORT OF* understand the settings like maxclients and TimeOut (my host actually had these set pretty well for my forum, which is quite a bit smaller than yours, but running really well on a 1GB VPS). This post is not mine, but you can see the kind of responses sprinkled throughout the forums: http://www.webhostingtalk.com/showthread.php?t=1006123&highlight=maxclients In one post, one of the guys mentioned the "KeepAliveTimeout" setting that defaults at something like 30, and how it really impacts performance (he recommended it be set at 1; mine is set at 5).

I would post your specs there and see what the guys say.
Posted

It clearly said in those message that you need to change the php.ini file. Changing is not hard because it's just like a normal text file. Open with notepad, find the right line and edit the text. That's it.

The hard part is that, if you're on a shared host, you don't have access to this file. You're going to have to contact your host and see if they will change it for you.

Posted

It clearly said in those message that you need to change the php.ini file. Changing is not hard because it's just like a normal text file. Open with notepad, find the right line and edit the text. That's it.



The hard part is that, if you're on a shared host, you don't have access to this file. You're going to have to contact your host and see if they will change it for you.




yes i am on a shared host but i emailed them and 10 minutes later it was done

thanks for the replies

rob
Posted

it amazes me how many forum admins struggle to post in the correct forums themselves. Perhaps its due to a bad naming convention or something here on IPB, but try using the correct forum http://community.invisionpower.com/forum/406-server-management-resources-optimization/



In the future, feel free to click the Report button on the first post of a topic that is in the wrong forum, and a friendly neighborhood moderator will move it as appropriate. :)
Posted

If your on a shared host then ask them to add these values to there php.ini.

suhosin.post.max_vars = 4096


suhosin.request.max_vars = 4096


suhosin.post.max_value_length = 1000000


suhosin.request.max_value_length = 1000000



If your on a dedicated or VPS then read and do the following.

Open up your SSH terminal and type:

nano /usr/local/lib/php.ini



scroll down to the [suhosin] settings, " Alot" or press ctrl + w and search suhosin " 2 times it will be.

If you do not see any configuration for suhosin then you need to enabled this.

Go to the bit in the php.ini what says:

;;;;;;;;;;;;;;;;;;;



; Module Settings ;



;;;;;;;;;;;;;;;;;;;



Add below:

[suhosin]


suhosin.post.max_vars = 4096


suhosin.request.max_vars = 4096


suhosin.post.max_value_length = 1000000


suhosin.request.max_value_length = 1000000





Now you want to save the file, Do the following:

ctrl + x



then press Y tto confirm then enter.

Thats it saved. Now all you need to do is restart the apache server for changes to apply.

You can do this with the below command.

/etc/init.d/httpd restart



Hope this helps :)

PS: Be carefull when editing the php.ini and do it exactly like above, Unsure then don't try it or you could break things.
  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...