kehuadong

十万个为什么 [php] 绿色安装

1. 下载php源码

axel -n 3 https://www.php.net/distributions/php-8.3.9.tar.xz

 

2. 配置源码

./configure --prefix=/root/green/php-8.3.9 --enable-cli --enable-cgi --with-config-file-path=/root/green/php-8.3.9/etc --with-config-file-scan-dir=/root/green/php-8.3.9/etc/php.d --disable-all

 

3. 编译安装

make -j2

make install 

 

posted on 2024-08-01 13:36  kehuadong  阅读(5)  评论(0编辑  收藏  举报

导航