Linux 4 All

Best Linux tricks source

Here is how to configure PHP-FPM for an Apache virtual host. Just add the following line to the vhost.conf file:

ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/dev/shm/php.sock|fcgi://$DOCUMENTROOT/

arrow-left How to log client IP with Nginx behind Load Balancer
Previous post

Leave a Reply

Your email address will not be published. Required fields are marked *