PHP environment build tool_php tutorial

Source: Internet
Author: User
PHP environment build tool. I have been using XAMPP to build a local PHP environment. I have also introduced how to set up and install Wordpress on a local XAMPP and how to enable the local XAMPP to support Rewrite redirection, however, recently, many of my XAMPP applications have been using XAMPP to build a local PHP environment. I have also introduced how to set up and install Wordpress on a local XAMPP and how to enable the local XAMPP to support Rewrite redirection, however, recently, my XAMPP has a lot of flexibility. first, after each installation, the page will change to 500 after one or two days, uninstalling, reinstalling, or even re-installing the system, cannot start Apache and Mysql (non-port problems ). So I am looking for some other PHP local environment building tools.

Seven local PHP environment building tools

1. XAMPP

XAMPP is a powerful local testing platform. It integrates three required functions and FileZilla. The software comes with a control panel, you can register Apache, MySql, and FileZilla as system services or uninstall services. there is a service startup control button, and the service running information is displayed at the lower part of the window. Although the panel is in English, it is clear and easy to understand. The advantage of registering as a system service is that it can run automatically upon startup, but it will consume a certain amount of system resources. you can decide on your own. After the installation is successful and the service is started successfully, you can open the browser and enter http: // localhost/to check whether the installation is successful. The XAMPP web page supports Chinese characters.

2. Wamp Server

Its official website does not have Chinese characters, but the program supports Chinese characters. After the installation program is started, it will prompt you to uninstall the old version, do not support overwriting upgrade, and then the installation will be successful all the way to NEXT. It has an icon in the task tray. if a service startup exception occurs, it is red. if some exceptions occur, it turns yellow. if everything is normal, it turns white. These different color warnings make it easy to determine whether your localhost can be opened. It can also switch between the online and offline states. The optional language items are also available in simplified Chinese, which is good.

3. Vertrigo Server

This is a lightweight WAMP environment, but when you download it, the security component that comes with Thunder says it has a virus. According to my scans (ESS3.0) and usage, this is completely a false positive, so you can safely use it. Install NEXT. the original password in PhpMyAdmin is vertrigo, which is unnecessary by default. It has a simple control panel and its running status is clear at a glance.

The localhost page contains common links, which is convenient.

4. PHPNow

PHPNow is really simple. Simply put, the installer is a self-extracting program made of RAR. There is no shortcut after the release. you must find the folder where the file is stored and run Init. cmd to initialize it. During the initialization process, you are prompted to set the password. because only one password is designed in the CMD command line and there is no password confirmation item, please be careful when setting the password. do not forget it. It also registers Apache and MySql as services and starts automatically upon startup.

In the program folder, it also has a control panel, but it is just CMD, but it is very useful.

It is easier to uninstall the service. in the control panel of the software, uninstall the service and delete the entire folder. For this convenience, you can try it easily.

5. PHPStudy

PHPStudy is different. it contains IIS + PHP and Apache + PHP. The latter is recommended for software. There is also an icon in the task tray. you can open the panel to view the service running status, which is also very simple.

Open localhost and the standard PHP information interface appears.

6. AppServ

During the installation of the program, it prompts you to change the default port 80 to the service port, so as to avoid the burst caused by Port sharing. There is a password setting prompt, but it is much better than PHPNow, the software can also set the character set, the default is the UTF-8. Although the software does not have a control panel, a shortcut is added to the Start menu for all operations, which is convenient to use. The software also has a MySql command line terminal.

7. EasyPHP

The software is really EASY! Install the NEXT method, but do not load Apache and MySql as services. Therefore, you must start it manually every time you use it. The software also has a simple control panel, and there is nothing else to say.

Note: The original article is from linxo.cn. However, if the website is no longer available, the original article address will not be listed.

Two common problems

In fact, I have only used XAMPP and EasyPHP, but they are similar. The two most common problems are that Apache cannot be started due to port problems, and local Rewrite cannot be implemented.

1. unable to start Apache due to port problems

If Apache cannot be started due to a port problem, close other programs and try to determine which port 80 is occupied. The most common one is Thunder.

2. enable the Rewrite module locally

I do not know whether other applications are applicable. Find the httpd. conf file in XAMPP and EasyPHP, open the edit File, replace All AllowOverride None with AllowOverride All, and remove the "#" before # LoadModule rewrite_module modules/mod_rewrite.so.

, But recently my XAMPP has seen a lot of strange things...

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.