lamp后单独装了个nginx,结果php无法启动
1. 最开始装的lamp.wget http://soft.vpser.net/lnmp/lnmp1.9.tar.gz -cO lnmp1.9.tar.gz && tar zxf lnmp1.9.tar.gz && cd lnmp1.9 && ./install.sh lamp
2. 然后装了个nginx
./install.sh nginx
3. 重启电脑后执行lnmp status , 提示php未运行
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATQAAACLCAYAAADvamWLAAAYpklEQVR4nO2dP4+yzNfHv78n97ugIbjN1lPamRgrfQVjSWFjtrOd1m5jY2E5vAKtDAkdJfU2q7HhdfAUDAgII7D+5TqfO5Nct2cHzjDDYf6eAwBRLnEZhWEYhWEYSV6QPTAx4UdhKCPOnqcDJUQAj6RqD75gL6BPSWIi8n0RsWfrQekV0tMVqEyMy8j3Q2VgZcRfQCdKL5jIoFFS6T+8MIEzRd95thYEQbwL/0Ns2QiCIN6e/3u2AgRBELeCDBpBEJ2BDBpBEJ2BDBpBEJ2hxKAxCN+HYI9XhiAI4i9QD40giM5ABo0giM6QGjQmfIRhiDDcwjZN2Nsw/n9fIB59Mghf/RYWh6QkIxnJSPZ8WcnGWgbhr4B5HyIAQRDE20BDToIgOgMZNIIgOgOd5SQIojNQD40giM5ABo0giM5ABo0giM5ABo0giM5AZzmfzHlDMz3zvxNvspT82XpUwAT8dKP6Q2/82s/lxhT8crNI+H4knhmcRAVqOQdpUYE6JH+6z/LbJh7JR8RK4LL62V0868zf6+ohE0wnSb7kf/DrzyMZlrW7qt+bJSb8yiAvOtlN0z1iH+jq9h9MLz3kHIzUJ4WPYJ1Oz1XmHrAPWM/WQTGYVfccKuvhtMHEMGAYBozJAq61xKp1N/MHh5OJ3meZ7IhfOrVC1OB1DdrJg2eNwAHwkQXXPaYiLpOzW9mzpki79EKWD+Mq8yV5VR4pZUHOcteUuZc2HqJLIVX+kmtfoM6fbW2YGGBZ1JUJSHU+zZfFa7W53xVOHjzY+CobkmjqIUfgQKw9mOUWqQYBfo+A9cEAcMhQDZHYB6zTAT8AdG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oCHRSvX2cRLoWttdJaT+CMvbdCIDkIGjbgjZNAIgugM/w8PBid8AoF5BwAAAABJRU5ErkJggg==
如何解决呢,没装nginx之前网站能正常跑?
执行lnmp restart 。 再执行lnmp status也依旧显示 php-fpm is stop!
首先你安装的lamp,你再装上个nginx也启动不了
其次lamp也没有php-fpm
页:
[1]