|
|
|||||||
| Register | FAQ | Calendar | Radio and TV | NP Shop | Search | Today's Posts | Mark Forums Read |
| Tutorials Tutorials and helpful articles made by ponders for ponders |
![]() |
![]() |
![]() |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
WPMU Field Specialist
|
As we read in the documentation of WPMU:
"If your PHP is compiled with memory limit checks, the default is 8MB which is much too small. You should increase this to at least 32MB or 64MB to avoid PHP out of memory errors. Look for "memory_limit" in your php.ini file." WPMU is some serious piece of soft, and it needs special care. Chances are that you have an average farm hosting and you don't have administrative access to your server. Depending on your provider, you may have no access to your servers php.ini files. ASK YOUR SUPPORT. I will describe this problem as it is solved on Dreamhost. We have no access to php.ini. We need to make a second php.ini for our domain. It will reside in the folder cgi-bin in root of our domain. read the php_ini wiki on DH, Custom PHP.ini - DreamHost IT will be similar for any other hosting. When you have set up you custom php.ini, edit it and for the beginning let's change: ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) to: max_execution_time = 360 ; Maximum execution time of each script, in seconds max_input_time = 720 ; Maximum amount of time each script may spend parsing request data memory_limit = 64M ; Maximum amount of memory a script may consume (8MB) It is just an example. Feeding rss scripts may take long time and 30 seconds won't be enough for them. They would display an error while executing. Another file is .htaccess. It is a hidden file in root of your domain folder. Some stuff from DH wiki: Htaccess - DreamHost You will need to edit it several times during the creation of your sBlog farm. For example the WPMU sitemap google xml plugin needs to edit this file. You need to talk with your support if you don't know how to do this. .htaccess is a hidden file and its name begins with a dot. Some ftp clients won't see it and for example MacOSX won't see it by default. Everything is explained in the wiki. When you are comfortable with editing your custom php.ini and .htaccess you can go to the next part of my tutorial. In the future we will also talk about cron jobs. |
|
|
|
|
|
#2 (permalink) |
|
crohoster
|
On most hosts users are not allowed to change or alter php.ini specially if they are on shared host because this is possible security issue.
If you have WPMU on shared host this usually means that it is not big and that will work on default settings. If you need to modify php.ini the best bet would be to get yourself a dedicated server. Dreamhost will surely ban you due to resource / cpu limitation they have in their TOS. __________________
■ CROHOSTER check plans - quality adult hosting & servers (we accept np points, credit cards, moneybookers and epass)
|
|
|
|
|
|
#3 (permalink) |
|
WPMU Field Specialist
|
no, they will not. Users on shared hostings are allowed to use custom php.ini, not to edit the servers one.
If you run your feeds in a reasonable way, they will not ban you. I have about 200 blogs on dreamhost, but each goes on 2-3 feeds and the feeds are processed separately. I will explain all this later. If you do everything with caution you will be ok, and after you make some money you can go to dedicated hosting. |
|
|
|
|
|
#4 (permalink) |
|
crohoster
|
I meant if you change execution times and memory limits there is high possibility you will go over their resource limits. You have 200 blogs with 600 feeds on 1 account?
__________________
■ CROHOSTER check plans - quality adult hosting & servers (we accept np points, credit cards, moneybookers and epass)
|
|
|
|
|
|
#5 (permalink) |
|
WPMU Field Specialist
|
yes. Changing php.ini for execution time is just a precaution.
All those feeds are processed separately. After the blogs are populated with content for the first time, the updates won't take much resources. i also have there about 30 other sites. |
|
|
|
|
|
#8 (permalink) |
|
Respect My Authoritaaaah
|
I am sure that a lot of shared hosting company's wont let you chance the php.ini, because of the high risk it involves
__________________
In Need of High Quality Blogs And no Time to Build Them? Harry's Blog Building Service email: harry(at)dutchharry.com | ICQ 211130833 | Skype dutch-harry. |
|
|
|
|
|
#10 (permalink) |
|
Respect My Authoritaaaah
|
I think that is a really good tip, that people check their hosting before getting a account, do your research!
__________________
In Need of High Quality Blogs And no Time to Build Them? Harry's Blog Building Service email: harry(at)dutchharry.com | ICQ 211130833 | Skype dutch-harry. |
|
|
|
|
|
#12 (permalink) | |
|
crohoster
|
Quote:
Anyway I think you're risking with that much blogs on Dreamhost. __________________
■ CROHOSTER check plans - quality adult hosting & servers (we accept np points, credit cards, moneybookers and epass)
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
![]() |
![]() |