ispCP - Board - Support
[HowTo] HowTo ispCP with mod-php5 & mpm-itk - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] HowTo ispCP with mod-php5 & mpm-itk (/thread-3552.html)



[HowTo] HowTo ispCP with mod-php5 & mpm-itk - grungy - 06-17-2008 06:13 PM

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


RE: HowTo ispCP with mod-php5 & mpm-itk - keffer - 07-02-2008 02:05 AM

what is the advantage use this apache ?


RE: HowTo ispCP with mod-php5 & mpm-itk - sci2tech - 07-02-2008 02:12 AM

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.


RE: HowTo ispCP with mod-php5 & mpm-itk - grungy - 08-04-2008 12:57 AM

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>



RE: [HowTo] HowTo ispCP with mod-php5 & mpm-itk - itanium - 01-13-2009 02:40 AM

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


RE: [HowTo] HowTo ispCP with mod-php5 & mpm-itk - abokov - 07-29-2009 08:25 PM

Check it out - should helps - suexec - 500 internal error