homepage Welcome to WebmasterWorld Guest from 54.197.19.35
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Transfering server from mod php to fastcgi using MPM Worker
Jase




msg:3775460
 1:04 am on Oct 29, 2008 (gmt 0)

Server Details

Hard Ware

Quad Core Xeon 2.4Ghz, 4GB Ram, 500 GB Hard Drive.

Software (Current Setup)

CentOS 5.2 (Final), cPanel 11, Apache 2.2.10 (prefork), PHP 5.2.6.

Question

My current setup is running Apache as mod_php under cPanel server that will only every run one site with the view to scalability and adding more servers for MySQL or Images.

I want to transfer this to Apache running MPM Worker and mod_fastcgi with fast cgi enabled in PHP. I can do this with EasyApache but cPanel does not auto config httpd.conf and the virtual host like it does for mod_php.

I need a detailed step by step setup to enable this and get everything in order for this to work correctly.

Any other advise on the whole approach I am using is also welcome.

The reason I chose to move away from mod_php and MPM Prefork is for scalability. This approach is less resource intensive and will scale much better and be less intensive on the server.

I hear from Google searchs that MPM Worker for uploaded files say 100 MB and over causes problems and advise on this?

You help is greatly appreciated!

 

2lame2rank




msg:3775470
 1:46 am on Oct 29, 2008 (gmt 0)

I need a detailed step by step setup to enable this and get everything in order for this to work correctly.

A detailed step by step guide to get what working?! Virtual hosts? Try the Apache documentations:

[httpd.apache.org...]

Or are you expecting a complete guide to be given out to you for nothing on a public forum, that we are supposed to spoon-feed you a complete Apache training guide?

You seem to think you know about making judgments about the scalability of different Apache setups then you indicate that you only know about clicking on things in cPanel.

It is time for a "reality check". I am sorry for being hard on you but it must be said. You have two options: one it to hire a professional to configure your server for you. The second is that you take the time to actually learn how Apache works, actually read the extensive documentation, and that you try, test, fail, do research, modify, optimize, and gain a valuable skillset in managing your own server. If you do the second, perhaps you will discover the total futility of asking for a "detailed step by step guide" for a complex situation when you yourself clearly don't know what you are doing.

Jase




msg:3775502
 3:41 am on Oct 29, 2008 (gmt 0)

I can use /.config make make install but why when I can automate it?

All I want is to know what I have to modify in user accounts and httpd.conf to change to fastcgi under MPM Worker.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved