mdserver-web/plugins/php/conf/enable-php.conf

9 lines
234 B
Plaintext
Raw Normal View History

2022-07-02 12:47:45 -04:00
set $PHP_ENV 1;
2018-12-18 06:37:46 -05:00
location ~ [^/]\.php(/|$)
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi-{$PHP_VERSION}.sock;
fastcgi_index index.php;
include fastcgi.conf;
2022-06-28 12:39:10 -04:00
include {$SERVER_PATH}/web_conf/php/pathinfo.conf;
2018-12-18 06:37:46 -05:00
}