Current time: 11-15-2024, 02:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] HowTo ispCP with mod-php5 & mpm-itk
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #1
[HowTo] HowTo ispCP with mod-php5 & mpm-itk
The Apache 2 ITK MPM HOMEPAGE - http://mpm-itk.sesse.net/

Mpm-itk allows you to run each of your vhost under a separate uid and gid with MOD-PHP5!

Code:
apt-get install apache2-mpm-itk
- this will replace your current apache installation.

Edit dmn_entry template:

Code:
nano /etc/ispcp/apache/parts/dmn_entry.tpl

After suexec_module around line 6 add:

Code:
<IfModule mpm_itk_module>
      AssignUserId {SUEXEC_USER} {SUEXEC_GROUP}
</IfModule>


I run it for a month without problems on Debian Etch
(This post was last modified: 11-25-2008 03:08 AM by BeNe.)
06-17-2008 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
keffer Offline
Junior Member
*

Posts: 25
Joined: Jun 2007
Reputation: 0
Post: #2
RE: HowTo ispCP with mod-php5 & mpm-itk
what is the advantage use this apache ?
07-02-2008 02:05 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #3
RE: HowTo ispCP with mod-php5 & mpm-itk
Try to add more the 200 domains with apache_mdm_working or prefork and you`ll see Smile . I mean you can`t add this amount of domain because of limited file descriptors (1024) consumed with logs. With mod_php you can, but this brings security problems.
(This post was last modified: 07-02-2008 02:15 AM by sci2tech.)
07-02-2008 02:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #4
RE: HowTo ispCP with mod-php5 & mpm-itk
And do the same thing for subdomains...

nano /etc/ispcp/apache/parts/sub_entry.tpl

After suexec_module add:

Code:
<IfModule mpm_itk_module>
      AssignUserId {SUEXEC_USER} {SUEXEC_GROUP}
</IfModule>
(This post was last modified: 08-04-2008 12:58 AM by grungy.)
08-04-2008 12:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
itanium Offline
Junior Member
*

Posts: 35
Joined: Apr 2007
Reputation: 0
Post: #5
RE: [HowTo] HowTo ispCP with mod-php5 & mpm-itk
Thnaks for this how to.

A short problem with this: when you enable apache2-mpm-itk, cgi-bin no longer works. Suexec not work correctly.

(13)Permission denied: exec of '/usr/lib/apache2/suexec' failed
Premature end of script headers: contact.cgi

Sad
01-13-2009 02:40 AM
Find all posts by this user Quote this message in a reply
abokov Offline


Posts: 1
Joined: Jul 2009
Reputation: 0
Post: #6
RE: [HowTo] HowTo ispCP with mod-php5 & mpm-itk
Check it out - should helps - suexec - 500 internal error
07-29-2009 08:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)