Update PHP to 5.3 In wdcp environment, wdcp5.3
In the current version of lanmp/wdcp/wdOS, the default php version is 5.2.17.
To upgrade to php5.3, use the following script
(Note: there are no security vulnerabilities and other reasons for this upgrade. It is only required for some users who are pursuing a higher version or application requirements. If this is not necessary, you do not need to upgrade the version)
Wget http://down.wdlinux.cn/in/php_up53.sh
Sh php_up53.sh
The prompt "php update is OK" is displayed.
Successful Completion
Report any errors or failures
Note:
This upgrade is only for PHP version upgrade. The corresponding zend and eaccelerator are not upgraded.
Zend opt is no longer supported since php5.3. That is to say, if zend opt is used, it should not be upgraded. Otherwise, it will only be difficult.
However, you can use Zend Guard Loader.
Install
Wget http://down.wdlinux.cn/in/ZendGL_ins.sh
Sh ZendGL_ins.sh
Only the latest version 0.9.6.1 is required for the eaccelerator.
Install
Wget http://down.wdlinux.cn/in/eac0961_ins.sh
Sh eac096w.ins.sh