Go Back   Netpond ™ > Webmaster Forums and Resources > Tutorials
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

Anal, Ethnic, Pornstar, Shemale
Orgy, Pissing, Shemale Orgy, Pissing, Shemale
Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2008, 07:35 AM   #1 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
Wink Simple HowTo: WPMU - .htaccess and php.ini - Tutorial #3

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.
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 07:40 AM   #2 (permalink)
MMarko
crohoster
 
Join Date: May 2005
Location: on the net
Posts: 1,743
Points: 5,580
Send a message via ICQ to MMarko
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)
MMarko is online now   Reply With Quote Send a private message to MMarko
Old 04-30-2008, 07:44 AM   #3 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
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.
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 07:47 AM   #4 (permalink)
MMarko
crohoster
 
Join Date: May 2005
Location: on the net
Posts: 1,743
Points: 5,580
Send a message via ICQ to MMarko
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)
MMarko is online now   Reply With Quote Send a private message to MMarko
Old 04-30-2008, 07:49 AM   #5 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
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.
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 07:55 AM   #6 (permalink)
Rofl
Who Dares Wins
 
Rofl's Avatar
 
Join Date: Dec 2006
Location: Old Blighty
Posts: 2,183
Points: 1,050
Send a message via ICQ to Rofl
Quote:
Originally Posted by redhatslut View Post
After the blogs are populated with content for the first time, the updates won't take much resources.
Well, that begs the question, why are you changing resource limits then?
__________________
Re: coding/tech support/design: I am fully booked, regret NO new clients thank you.
3 great VOYEUR sites (my fave sponsor) | AEBN VOD Sponsor | Convert in style
Rofl is online now   Reply With Quote Send a private message to Rofl
Old 04-30-2008, 07:57 AM   #7 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
rarely it may occur that there will be some kind of delay and we dont wont to get an error which will break our chain of updates and force us to do something manually
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 08:27 AM   #8 (permalink)
Dutch Harry
Respect My Authoritaaaah
 
Dutch Harry's Avatar
 
Join Date: Oct 2004
Location: The Hague Holland
Posts: 7,568
Points: 730
Send a message via ICQ to Dutch Harry
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.
Dutch Harry is online now   Reply With Quote Send a private message to Dutch Harry
Old 04-30-2008, 08:55 AM   #9 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
yeah, so if you can ask them before you buy an account. WPMU pretty much needs changing php.ini. There maybe more stuff later involving mass plugins which may need changing this file :P
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 09:11 AM   #10 (permalink)
Dutch Harry
Respect My Authoritaaaah
 
Dutch Harry's Avatar
 
Join Date: Oct 2004
Location: The Hague Holland
Posts: 7,568
Points: 730
Send a message via ICQ to Dutch Harry
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.
Dutch Harry is online now   Reply With Quote Send a private message to Dutch Harry
Old 04-30-2008, 09:14 AM   #11 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
just a good example from me:

BlueHost, which is a decent hosting and is promoted on the wordpress.org page, but it doesn't support Wildcard DNS, so it is no good for WPMU
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 04-30-2008, 11:10 AM   #12 (permalink)
MMarko
crohoster
 
Join Date: May 2005
Location: on the net
Posts: 1,743
Points: 5,580
Send a message via ICQ to MMarko
Quote:
Originally Posted by redhatslut View Post
yeah, so if you can ask them before you buy an account. WPMU pretty much needs changing php.ini. There maybe more stuff later involving mass plugins which may need changing this file :P
No, it does not, if php.ini options are properly set before (at least for most WPMU installs).

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)
MMarko is online now   Reply With Quote Send a private message to MMarko
Old 04-30-2008, 12:24 PM   #13 (permalink)
redhatslut
WPMU Field Specialist
 
redhatslut's Avatar
 
Join Date: Apr 2008
Posts: 139
Points: 190
Send a message via ICQ to redhatslut Send a message via Yahoo to redhatslut
it depends on what you want to do with your WPMU,
we will see. If anything bad happens they contact me and we solve the problem. They have understanding customer service.
redhatslut is offline   Reply With Quote Send a private message to redhatslut
Old 05-29-2008, 12:25 PM   #14 (permalink)
Mantas
.
 
Join Date: Mar 2008
Posts: 30
Points: 155
Send a message via ICQ to Mantas
Thank you for a good tip. I will use it in my "porn biz".
__________________
Lithuanian adult webmaster
Mantas is offline   Reply With Quote Send a private message to Mantas
Old 06-02-2008, 09:45 PM   #15 (permalink)
fresh
so fresh and so clean
 
fresh's Avatar
 
Join Date: Apr 2006
Location: I like You. See Sig
Posts: 14,590
Points: 110
still nice tutorial
__________________


Check out new Netpond Sponsor: FlashCash - Instant payouts - you get 1 signup, you get paid instantly. No minimums, no need to leave money on the table
fresh is offline   Reply With Quote Send a private message to fresh
Old 06-04-2008, 10:28 AM   #16 (permalink)
Fuckin Bill
Smile MotherFucker!
 
Fuckin Bill's Avatar
 
Join Date: Aug 2003
Location: Pit 26B, Hell
Posts: 2,284
Points: 6,350
Setting up something like Wordpress MU on a virtual host is a bad idea. It is not meant to be used in a virtual hosting environment. Not only is it too much work for a virtual hosting account, it is so insecure in that environment it's not funny.

Setting up ANYTHING on Dreamhost is a bad idea. It's been proven over and over again that their hosting is horrible, and they are no good for adult sites. I wish the owners here would ban their company name already.

Resetting your php.ini settings to the ones you have provided is a HORRIBLE idea. Setting php to wait 6 minutes for a script to execute, and worse, more than 12 minutes for input is just asking for trouble. If something goes wrong, there's no failsafe to shut down the script before it takes down the server. If a process gets stuck or overloaded, it will take out the server before the server has a chance to even try to shut it down and save itself.
__________________
The Filthy Few - TGP Traffic And Hardlinks
MILF / Teen / Lesbian / Amateur / Hardcore / Big Boobs
Signup Forms Always Open!
Fuckin Bill is online now   Reply With Quote Send a private message to Fuckin Bill
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars WildCash PussyCash SilverCash
Fetish Hits Cyberwurx BoobBucks.NET Python
AEBN GroobyBucks Score-Cash XMoney
Rabbits Reviews CraziesCash TrafficCashGold EvilAngelCash
Orgycash BigClicks Webcams TubeClicks
Free Porn Paradise British Porno British Porn Models ShanesworldCash
Voyeur, Fetish Megasite
All times are GMT -4. The time now is 01:29 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007, PixelFX Studios