In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces wampserver how to increase php5.6, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Wampserver add php5.6 methods: 1, download the PHP binary package; 2, extract the binary Zip package to the php directory; 3, copy wampserver.conf files to the PHP5.6 directory; 4, restart the service.
This article operating environment: windows7 system, PHP5.6 version, DELL G3 computer
How does wampserver add php5.6?
Add multiple versions of PHP5.6.36 and other support under WampServer
WAMPServer allows developers to quickly build a WAMP environment under the Windows system. It supports the switching of multiple versions of Apache, MySQL and PHP without affecting each other, which is very convenient and fast for PHPer developers.
The following are the steps to support both PHP5.5 and PHP5.6 under WAMPServer:
WampServer
1. According to the version I downloaded, php5.5.12 has been installed by default, as shown in figure-1 below
2. Note the two special files in figure-2 below: phpForApache.ini wampserver.conf
Download the PHP binary package
Https://windows.php.net/download
PHP is currently available in PHP5.4, PHP5.5, PHP5.6, PHP7, etc.
And extract the binary Zip package to the directory at the same level of php5.5.12, as shown in figure-1
When PS downloads php here, you should pay attention to x86 or x64 / / Architecture PROCESSOR_ARCHITECTUREThread Save or Non Thread Save / / Thread Safety enabled// VC 11-9-6 / / this is the compiler that needs to be installed under your windows / / whether or not these will affect whether you can successfully install the php binary you downloaded VC6 is what VC6 is legacy Visual Studio 6 compiler That is, what is the VC9 compiled with this compiler? VC9 is the Visual Studio 2008 compiler. / / phpinfoCompiler MSVC9 (Visual C++ 2008) Compiler MSVC11 (Visual C++ 2012) / / Program Microsoft Visual C++ 2012 Redistributable (x86)-11.0.61030Microsoft Visual C++ 2012 Redistributable (x64)-11.0.61030Microsoft Visual C++ 2008 Redistributable (x64)-9.0.30729.4148Microsoft Visual C++ 2008 Redistributable (x64)-9.0.30729.4148amp / these information can be exported by phpinfo eg:Architecture X86 # x86-x64PROCESSOR_ARCHITECTURE x86 # x86Thread Safety enabled # ts TS-nts NTS-Thread Safe Non Thread Safe
Adding multiple versions of PHP supports copying the wampserver.conf files under php5.5.12 to the directories of each version of PHP. Of course, in the actual operation process, it is usually one by one. Take php5.6.36 as an example, copy the php.ini-development in the directory and rename it to phpForApache.ini, modify the PHP environment parameters in phpForApache.ini according to your own needs (it is recommended to save the configuration directly), and save and exit / / other versions to add similar tests.
Restart Apache Service
Restart All Services
Switch the version directly in php version / / if you have already configured a php version
Reopen the WAMPServer Manager
If the test goes well, the success is as follows:
Thank you for reading this article carefully. I hope the article "how to increase php5.6 in wampserver" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.