apline安装nginx 启动报错nginx: [error] open() “/run/nginx/nginx.pid” failed (2: No such file or directory)
命令行输入 nginx即可生成nginx.pid
错误1:原因php限制访问上级目录,解决方案:在nginx中找到fastcgi.conf文件,设置open_basedir=NULL,重启service nginx restart 和 service php-fpm restart即可 &nbs…
1.添加一个远程账号 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'admin123' 2.刷新权限 flush privileges; 没…