Appserv 2.5.10 upgrade PHP from version 5.2 to 5.3

WBOY
Release: 2016-08-08 09:29:22
Original
1796 people have browsed it

Recently, when using PHP in Appserv 2.5.10 to develop WeChat, I encountered the following error

Fatal error Call to undefined function libxml_disable_entity_loader(), check it out:

libxml_disable_entity_loader

(PHP5 >= 5.2.11)

http://php.net/manual/en/function.libxml-disable-entity-loader.php

So, to save the trouble, I want to upgrade PHP to 5.3.x alone. Some opinions on the Internet are troublesome. There is a Thai version, which is very simple and can be used for personal testing:

Note: I downloaded php-5.3.29-Win32-VC9-x86.zip. The link is as follows, and the steps are borrowed from that guy’s pictures.

http://windows.php.net/downloads/releases/archives/

Original reference:

Upgrade PHP from version 5.2 to 5.3

http://www.mainacup.com/upgrade-php-from-version-5-2-to-5-3/

https://translate.google. com/translate?hl=zh-CN&ie=UTF8&prev=_t&sl=th&tl=zh-CN&u=http://www.mainacup.com/upgrade-php-from-version-5-2-to-5-3/

1. Go to http://php.net/downloads.php to select version PHP 5.3.24.

2. Download the Zip file

3. Compress the file.

4. As shown in the picture after decompression.

5. Open the renamed folder "PHP5".

6. Back up or rename the folder "PHP5" to look like. "Php_backup_5.2.6"
7. Copy the folder from (5) to the application.

8. Run "service" on type.
9. Select the service "Apache.2.2" and then choose to restart the service.

10. Check that the php5.3.24 upgrade is completed.



The above has introduced Appserv 2.5.10 to upgrade PHP from version 5.2 to 5.3, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!