环境是 debian 9
配置和简单,直接 apt-get install -y nginx php php-fpm php-gd php-curl php-mysql php-memcache php-mbstring php-zip php-opcache
在 /etc/nginx/sites-enabled/default 里添加
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
这是 info 信息 http://159.89.182.42/info.php
但是为什么 http://159.89.182.42/index.php 啥也干不了?~~~
感谢感谢