我能说按照课程配的lamp完全不可行么?mysql启动不了,php没有mysqli扩展,后来没办法在网上找了一堆的资料才安装成的
2017-06-02
从当初的小白到现在对lamp和lnmp安装有点了解后写了个lnmp的脚本
www.zhangguanzhang.com/download/lnmp.sh
www.zhangguanzhang.com/download/lnmp.sh
2017-05-27
麻蛋,最后浏览新建PHP文件变成了下载。那是你修改过配置文件,那就必须重启nginx,这步很重要好不,居然跳过了。
/usr/local/nginx/sbin/nginx -s reload
这样才正常显示网页
/usr/local/nginx/sbin/nginx -s reload
这样才正常显示网页
2017-05-23
差点被坑死
location ~ \.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index /index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
location ~ \.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index /index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
2017-05-15