Phpnow upgrade PHP 5.4 with MySQL 5.5

Source: Internet
Author: User
Tags vc9 win32 phpmyadmin

This article was reproduced from: Https://www.dadclab.com/archives/5928.jiecao

Toss start

1, install the VC9 Run library,: https://www.microsoft.com/en-us/download/details.aspx?id=5582

If you are using Win7 SP1 and above, you can not install the VC9 runtime.

2. Download VC9 compiled PHP 5.4,:http://windows.php.net/downloads/releases/php-5.4.45-win32-vc9-x86.zip

3. Download MySQL 5.5,:https://dev.mysql.com/get/downloads/mysql-5.5/mysql-5.5.48-win32.msi

Once downloaded, install the VC9 Runtime Library first.

Phpnow's needs

PHP 5.5 and above require Apache 2.4, and Phpnow currently only provide 2.0 and 2.2 version, large d I have not yet to upgrade Apache plan, so temporarily first upgrade PHP to 5.4.

If the upgrade is based on the current installation, you can use the Pncp.cmd in the package to reinstall after all uninstall, Apache version is selected to 2.2. MySQL version at random, finally to upgrade it.

Close Phpnow

If Phpnow is running, use Pncp.cmd to pause the currently running service.

Upgrading PHP 5.4

1. Create a new folder named Php-5.4.45-win32 under the Phpnow installation directory to extract the downloaded PHP5.4 to the folder.

2. Copy the Php-apache2handler.ini in the Php-5.2.14-win32 folder of the Phpnow to the new Php-5.4.45-win32 folder in the previous step.

3, modify the apache-22\conf\httpc.conf, the file "Php-5.2.14-win32" replaced with Php-5.4.45-win32, the main is two paths.

Upgrading MySQL 5.5

1. Open the MySQL directory under the directory where the Phpnow is located, and here is C:\phpnow\MySQL-5.0.90, and backup the configuration file My.ini to one side.

2. Empty the MySQL-5.0.90 directory and install MySQL 5.5 into this directory.

3. After installation, copy the backup My.ini to the MySQL-5.0.90 directory (Tongue Twisters series) with MySQL 5.5 installed.

4, because MySQL 5.5 no longer supports--skip-locking as the startup parameters, so open the My.ini file, will skip-locking this line removed.

5. Use Pncp.cmd to reset the MySQL password.

Start a service and test to see if it starts properly.

If it can start normally, this message will appear without any control, and it can be used normally.

At this time, you can use Phpinfo to see the PHP version, such as.

You can also use phpMyAdmin to see the MySQL version.

If you feel that downloading a phpmyadmin is cumbersome and you have Telnet on your computer, you can also use Telnet to see the MySQL version number.

Telnet 127.0.0.1 3306

This article was tested on Windows R2 SP1 and Windows 10.

Just so much, above.

Thank you: Big D Comprehensive Research Institute

Phpnow upgrade PHP 5.4 with MySQL 5.5

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.