Apache PHP-fpm Mariadb

Apache 虚拟主机配置:

<Virtualhost *:80>
        DocumentRoot "/data/www/html"
        ServerName www.centos7.net
        ProxyRequests Off
        ProxyPassMatch ^/(.*\.php)$  fcgi://127.0.0.1:9000/data/www/html/$1
        <Directory "/data/www/html">
                #Options FollowSymLinks
                Options FollowSymlinks
                AllowOverride None
                Require all granted
        </Directory>
</Virtualhost>
posted @ 2017-06-15 17:50  linushelp  阅读(146)  评论(0编辑  收藏  举报