十万个为什么 [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