Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mpm-event]

The tag has no usage guidance.

0
votes
0answers
27 views

should I rewrite my htacces when migrating to php-fpm?

I'm trying to migrate an application written in PHP and running over Apache 2.0 with mpm_prefork and mod_php to Apache 2.4 with mpm_event and php-fpm via mod_proxy_fcgi. It is an application that ...
0
votes
0answers
28 views

Increase in memory utilization after upgrading to httpd 2.4.34 from 2.4.23 for 7.2

We upgraded from httpd 2.4.23 to 2.4.32 . After upgrade, we noticed mpm module got changed from preforx to event in 2.4.23 $ /apps/httpd.2.4.23/bin/httpd -M | grep mpm mpm_prefork_module (...
1
vote
0answers
114 views

php.net discourages the use of threaded MPM in production with Apache 2

php.net discourages the use of threaded MPM in production with Apache 2. Use the prefork MPM, which is the default MPM with Apache 2.0 and 2.2. It doesn't mention anything about apache 2.4, I ...
0
votes
0answers
67 views

GTmetrix, apache, mpm_event and keepalives

Would appreciate some apache experts have a look at this. #Timeout 30 #KeepAlive On #MaxKeepAliveRequests 50 #KeepAliveTimeout 10 #<IfModule mpm_event_module> # StartServers 3 # ...
-1
votes
2answers
313 views

How to make apache and php use more memory?

I am working on one server having 16GB of RAM. It runs on Apache with php-fpm. The site hosted on this server is taking about 10 seconds to load. First I thought that it's a resources issue, but when ...
1
vote
1answer
373 views

Increasing the max execution time

Mine is Ubuntu 14 and I've enabled fpm-event with Apache. apachectl -V | grep -i mpm shows: Server MPM: event It seems those pages which take more than 30 seconds to execute I'm getting this ...
0
votes
1answer
583 views

SetEnv in htaccess file doesn't work with PHP-FPM

I'm moving from a prefork apache setup to event mode with php-fpm. In prefork mode, I can use SetEnv directives in an htaccess file like so: SetEnv CI_ENV testing And that value ends up in PHP: ...
6
votes
2answers
10k views

switch apache from prefork to event in Ubuntu 16, get php 7 working

Apache was running slow in production. After searching for answers for some time, I finally went to #apache IRC channel and the pros had me check the apache mode with this command: sudo apachectl -V ...
0
votes
1answer
900 views

Debian 8, Apache 2.4.10: Scoreboard is full, not at MaxRequestWorkers

Fresh install of Debian 8. After running my web server for a few minutes/hours, Apache2 stops working. I always get the error "Scoreboard is full, not at MaxRequestWorkers" from Apache2 error.log. ...
5
votes
6answers
5k views

(13) Permission denied on Apache CGI attempt

I have recently upgraded my Apache2 server, and am now unable to run a CGI app. My logs are showing (13) Permission denied unable to connect to cgi deamon after multiple tries I understand that the ...