| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I am using Ubuntu 8.04. I have installed apache2 using apt-get, this installs the mpm-worker mode. However when i try to install php5 using apt-get, it removes the mpm-worker and installs prefork. I need to keep the worker mode intact......please suggest. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#2
| |||
| |||
| On Sat, Nov 8, 2008 at 2:00 PM, Savio Dias <saviodias@gmail.com> wrote: > Hello, > > I am using Ubuntu 8.04. > > I have installed apache2 using apt-get, this installs the mpm-worker mode. > However when i try to install php5 using apt-get, it removes the > mpm-worker and installs prefork. > > I need to keep the worker mode intact......please suggest. Your distro is wisely preventing you from using that combination. http://www.php.net/manual/en/faq.ins...lation.apache2 If you know better, build your own. -- Eric Covener covener@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#3
| |||
| |||
| Hello, Is there anyone who can help resolve this issue ? Thanks On Sun, Nov 9, 2008 at 1:48 AM, Eric Covener <covener@gmail.com> wrote: > On Sat, Nov 8, 2008 at 2:00 PM, Savio Dias <saviodias@gmail.com> wrote: >> Hello, >> >> I am using Ubuntu 8.04. >> >> I have installed apache2 using apt-get, this installs the mpm-worker mode. >> However when i try to install php5 using apt-get, it removes the >> mpm-worker and installs prefork. >> >> I need to keep the worker mode intact......please suggest. > > Your distro is wisely preventing you from using that combination. > > http://www.php.net/manual/en/faq.ins...lation.apache2 > > If you know better, build your own. > > -- > Eric Covener > covener@gmail.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#4
| |||
| |||
| Savio Dias wrote: > Hello, > > Is there anyone who can help resolve this issue ? > Hi. What the Debian packager (through the apt-get program) and Eric are telling you, is that the PHP5 package removes mpm-worker and replaces it by mpm-prefork for a good reason. The good reason is probably that mpm-worker is a threaded version of Apache, and PHP5 has something that does not work in a threaded version of Apache, so they are not compatible. What Eric is further telling you, is that you can decide to live dangerously, and still force PHP5 to run under a threaded version of Apache. But the way to do that, would be to build your own threaded version of Apache from the Apache source. > Thanks > > On Sun, Nov 9, 2008 at 1:48 AM, Eric Covener <covener@gmail.com> wrote: >> On Sat, Nov 8, 2008 at 2:00 PM, Savio Dias <saviodias@gmail.com> wrote: >>> Hello, >>> >>> I am using Ubuntu 8.04. >>> >>> I have installed apache2 using apt-get, this installs the mpm-worker mode. >>> However when i try to install php5 using apt-get, it removes the >>> mpm-worker and installs prefork. >>> >>> I need to keep the worker mode intact......please suggest. >> Your distro is wisely preventing you from using that combination. >> >> http://www.php.net/manual/en/faq.ins...lation.apache2 >> >> If you know better, build your own. >> >> -- >> Eric Covener >> covener@gmail.com >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#5
| |||
| |||
| André Warnier wrote: > Savio Dias wrote: >> Hello, >> >> Is there anyone who can help resolve this issue ? >> > Hi. > What the Debian packager (through the apt-get program) and Eric are > telling you, is that the PHP5 package removes mpm-worker and replaces it > by mpm-prefork for a good reason. > The good reason is probably that mpm-worker is a threaded version of > Apache, and PHP5 has something that does not work in a threaded version > of Apache, so they are not compatible. > That's correct. To correctly run PHP5 in a threaded Apache, don't use mod_php5 - use FastCGI. That'll give you all of the benefits of worker without bombing out on non-threadsafe PHP calls (or if you're POSITIVE that you don't need threadsafe PHP5 extensions, you can use mod_php5 - AFAIK the php5 core IS threadsafe and I know of several folks using this in production) Issac --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.