下载:
https://museum.php.net/php5/
编译:
./configure -prefix=/usr/local/php -with-openssl=/usr -with-iconv-dir=/usr/local -enable-gd-native-ttf -with-libxml-dir -with-zlib -with-mhash -with-curl=/usr/local -with-curlwrappers -enable-bcmath -enable-calendar -enable-mbstring -enable-ftp -enable-zip -enable-sockets -enable-exif -enable-zend-multibyte -enable-fpm -with-fpm-user=root -with-fpm-group=root
编辑:
php-fpm.conf、php.ini相关
执行:
/usr/local/php/sbin/php-fpm