Comparison of environment construction under Linux

Source: Internet
Author: User

XAMPP is a beginner to use the integrated Apache MySQL and PHP configuration installation package, we can use XAMPP to quickly install the configuration of the PHP environment, let's take a look.

To hang our PHP Web program on a Linux server, we have to build the PHP operating environment on the server first. Of course, if you use a VPS, you choose the system is with WDCP version of Linux, will automatically help you install the environment, and has a Chinese management interface for you to manage your Linux server, new website, new FTP, link database and so on, the Novice recommended the use of this, But not every offer has WDCP, million nets no, Huaxia has.

Now there are 4 ways to build PHP's environment under Linux:

Using the XAMPP Integrated installation package "includes Php,mysql,apache,phpmyadmin,ftp,perl"-–XAMPP official website: www.apachefriends.org
Using the LNMP Integrated installation package "includes php,mysql,nginx,phpmyadmin"--LNMP official website: lnmp.org
Direct Source Standalone Installation Php,mysql,nginx/apache
Among the integrated installation packages, Windows Server can also be used under the XAMPP to build, Lnmp without Windows platform. Under Windows commonly used also phpnow,phpnow now renamed to Servkit, the official website of the original is phpnow.org, now also replaced by servkit.org. The PHP environment under Windows Server is set up to do tutorials later.
Advantages and disadvantages of XAMPP, LNMP and standalone source installation environment

The first and xampp the second kind of LNMP are integrated package, installation is convenient, the third independent sub-source code installation, this is more troublesome, not a certain familiarity with Linux is difficult to install success, unfamiliar words even follow the online tutorial step-by-step, which step is not successful or how to deal with.
The difference between the first xampp and the second LNMP see the software contained in it, the biggest difference is that the XAMPP is APACHE,LNMP with Nginx, and nginx in the ability to deal with large concurrent access than Apache. Nginx can also support the module function, but Nginx does not support Apache. htaccess, and the relative Apache,nginx to configure the virtual host a little bit of a hassle (in fact, with the familiar and not feel Trouble). More differences, we can self-baidu a bit.
PHP Development Environment Php,mysql,nginx/apache Source installation so troublesome, where is the advantage, if it is a standalone installation, what we installed, the software needs that version can be determined by ourselves, the integration of the installation package is dead software version (if need to upgrade, That was after the installation was done). Another major advantage is that stand-alone installations do not install a lot of software that might not be needed at all, like an integrated installation package, or load other unwanted modules, which are used to consume resources from the Linux system. Since our Linux system is specially designed to hang our website, it can run less than anything else.
Recommended order

Standalone source installation Php,mysql,nginx/apache > Lnmp > Xampp

Comparison of environment construction under Linux

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.