https://download.csdn.net/download/Jifei5201314/89549641
1.上面地址下载编译包
2.解压包:unzip php-disable-eval.zip
3.进入目录:cd php-disable-eval
4.路径按php实际安装目录跳转,预编译:/usr/local/php/bin/phpize
5.标红位置安装实际目录更改,执行:./configure -with-php-config=/usr/local/php/bin/php-config
6.执行:make && make install
7.打开配置文件:vi /usr/local/php/etc/php.ini
8.在最厚位置输入:extension = disableeval.so
9.重启PHP