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://127.0.0.1:9000/$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 *