apache php-fpm config file

vi /etc/httpd/conf.d/hss5.conf

<VirtualHost *:8080>
ServerAdmin [email protected]
DocumentRoot "/var/www/html"
ServerName www.vpseo.com
ServerAlias  vpseo.com
ErrorLog "logs/hss5.error.log"
CustomLog "logs/ vpseo.common.log" common
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/$1
DirectoryIndex index.php index.html index.htm
<Directory "/var/www/html">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

相关推荐

php随机跳转网址方法

https://www.php.cn/php-ask-450384.html php随机跳转网址方法 1、首先使用array将所有url存在数组里或者存储在数 …

暂无评论

微信扫一扫,分享到朋友圈

apache  php-fpm config file