directadmin面板升級和降級配置環(huán)境軟件版本很方便,下面2種方法,都是網(wǎng)絡(luò)到處都有的
一種:登錄ssh 進(jìn)入目錄
cd /usr/local/directadmin/custombuild/
然后,編輯options.conf:
vi options.conf
設(shè)置 clean=yes , php5_ver=5.3
然后,開始升級過程:
./build clean ./build update ./build all y
最后重啟httpd:
service httpd restart
二種:
cd /usr/local/directadmin/custombuild ./build set php5_ver 5.3 ./build update ./build php n