WDCP wdlinux upgrades PHP and MySQL to php5.4 Zendguard6 mysql5.5

Source: Internet
Author: User
Tags php and mysql zip zend

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.