- wegt http://cn2.php.net/distributions/php-7.0.25.tar.bz2(下载包)
- tar -jxvf php-7.0.25.tar.bz2
- cd php-7.0.25
- ./configure
- make && make install(编译,可能ERRORgcc: Internal error: Killed (program cc1),原因是内存不够)
- 报错运行:./configure –disable-fileinfo
- 运行 make test
- php -v 查看版本
PHP7 Linux 安装
最新推荐文章于 2021-03-12 01:26:40 发布