directadmin 更新PHP

cd /usr/local/directadmin/custombuild
./build update
wget -O php-5.2.15.tar.gz http://files.directadmin.com/services/custombuild/php-5.2.15.tar.gz
perl -pi -e ‘s/php5:5.2.14:6dff7429a1b43aa1c76a43e909215608/php5:5.2.15:dbbb2beed6b51e05d134744f137091a9/’ versions.txt
perl -pi -e ‘s|cd php-\$\{PHP5_VER\}|cd php-\$\{PHP5_VER\}\n\tperl -pi -e \”s#resolved_name\\[resolved_basedir_len\\]#resolved_name\\[resolved_basedir_len -1\\]#\” main/fopen_wrappers.c|’ build
./build php n

0 0 投票数
文章评分
订阅评论
提醒
guest
0 评论
内联反馈
查看所有评论