DirectAdmin: Web control panel

PHP 5.3 (updating default install)

by ross at 07:23:17 on October 28, 2011

Edit /usr/local/directadmin/custombuild/options.conf, change php5_ver= line:


Deinstall Zend Optimizer, eAccelerator and pecl-memcache ports if you installed them (no need to deinstall/rebuild memcached daemon). We will get them back, excluding Zend Optimizer.

# cd /usr/local/directadmin/custombuild
# ./build clean
# ./build update
# ./build php n

Check version:

# php -v                                                                 [14:29:55]
PHP 5.3.8 (cli) (built: Aug 28 2011 14:27:37) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

Or better yet put phpinfo.php file on one of your domains. Very handy if you need to see if the extension is enabled. Don't forget to restart httpd in DA admin interface after installing the extension.



Now read the next page to install accelerator and memcached.