Nâng cấp lên PHP 5.4.x
cd /usr/local/directadmin/custombuild ./build set custombuild 1.2 ./build set php5_ver 5.4 ./build update ./build clean ./build php d
|I wish to install Zend Optimizer/Guard, and/or Ioncube.||Last Modified: Sep 19, 2011, 4:29 pm|
cd /usr/local/directadmin/custombuild ./build set zend yes ./build zendafter changing php versions, it's recommended you install zend again. Note that Zend Guard is the new name for Zend Optimizer, and is used for newer versions of php. Custombuild will install the correct one for your system. For Ioncube, type:
cd /usr/local/directadmin/custombuild ./build set ioncube yes ./build ioncubeThe "./build set" command only sets the option in the options.conf, so you only need to do that once to enable the feature, then install the item after it's enabled.
-- How to upgrade mysql with custombuild To upgrade mysql using the custombuild script, do the following:
cd /usr/local/directadmin/custombuild ./build set mysql 5.1 ./build set mysql_inst yes ./build set mysql_backup yes ./build update ./build mysqlWhere mysql can be 5.0, 5.1 or 5.5. A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set. It goes without saying, always make backups, either with this tool, or with other means. After the mysql update, always recompile php.
./build php n