pzg's blog

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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注