[Resolved] Apache 2.4 with Event MPM sample configuration
Apache 2.4 includes some neat new functionality that be used to run PHP websites like WordPress very efficiently. A generic configuration can be found on http://wiki.apache.org/httpd/PHP-FPM. But that is not quite enough to have a WordPress website running well. After some tinkering, I came up with the following:
<VirtualHost _default_:80> ServerName domain.com ServerAlias www.domain.com DocumentRoot /srv/http/domain CustomLog /var/log/apache2/domain_access.log common ErrorLog /var/log/apache2/domain_error.log <Directory /> FallbackResource index.php DirectoryIndex index.php Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/srv/http/domain/$1 </VirtualHost>
- The topic ‘[Resolved] Apache 2.4 with Event MPM sample configuration’ is closed to new replies.