你还在为Linux搭载环境费劲吗?请看一步到位 wget -c http://lamp.phpstudy.NET/phpstudy.bin chmod +x phpstudy.bin #权限设置 ./phpstudy.bin #运行安装 然后根据提示选择php版本,选择nginx还是apache 三行命令就搞定!