First, the following three files are passed to the root directory (or the current work path).
mysql_up55.sh php_up54.sh zendguard6.sh
Command This command in SSH wget http://hubeidc.com/dl/wdcp/wdcp54.zip && unzip Wdcp54.zip
1. Upgrade mysql5.5 First
Execute #sh mysql_up55.sh
2. Re-upgrade php5.4
SH php_up54.sh
3. Install Zend Guard,
SH zendguard6.sh
4. After installing the Zend, remember to restart the Web server
Service httpd Restart
Service Nginxd Restart
Here's a word. Installing MySQL will cause you to not be able to connect to the database use "VI" to modify the program path
Error message
Starting MySQL ... error! The server quit without updating PID file (/www/wdlinux/mysql-5.5.27/data/***.pid)
Workaround: Edit the MySQL configuration file and enter the following command:
Vi/www/wdlinux/init.d/mysqld into edit
Edit MySQL configuration file, through VI command (press I into edit mode, press ESC to exit edit mode, enter: Wq save exit/or press the keyboard "CAPS lock/case Switch Key". Press 2 times Z to exit VI mode. and save) The new addition of two lines is configured as follows:
Basedir=/www/wdlinux/mysql
Datadir=/www/wdlinux/mysql/var
Save exit, restart MySQL process, input: command reboot
Service mysqld Start
Reboot mysql!
Successfully, probe to see if php5.4 zendguard support, phpmyadmin login view PHP version.