因为今天发现系统自带的php-fpm不支持freetype,所以只好重装php-fpm。mac系统还好有homebrew这个神器,大赞。 一、安装php与php-fpm brew install php55 --with-fpm --with-mysql ...
真 · nginx配置php文件解析(PATH_INFO支持与index.php隐藏)
nginx默认配置文件中对php的支持是这样的: # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html ...