PHP is an environment that is equivalent to a fish living in the water environment. In the absence of water, there is no way for fish to survive.
PHP Living Environment has a variety of recommendations here, WANP is an integrated PHP environment, phpstudy more suitable for beginners to learn. Phpstom is our working environment, just said Phpstudy is living environment, then phpstom equivalent to survival activities.
Phpinstallation What do you need to do?
To get started with PHP, you can:
- Find a Web host that supports PHP and MySQL
- Install the WEB server on your own PC, then install PHP and MySQL
Using a PHP-enabled WEB host
If your server supports PHP, then you don't need to do anything.
Whenever you create a. php file in your web directory, the server will parse the files for you automatically.
You do not need to compile any software, or install additional tools.
Because PHP is free, most WEB hosts provide support for PHP.
Build PHP on your own PC
However, if your server does not support PHP, you must:
- Installing the WEB server
- Install PHP
- Install the database, such as MySQL
The official PHP website (php.net) has PHP installation instructions: http://php.net/manual/en/install.php
PHP Server Components
For beginners, it is recommended to use the integrated server component, which already includes PHP, Apache, Mysql and other services, eliminating the time spent by developers in the tedious configuration environment process.
Wampserver
The Window system can use wampserver,:http://www.wampserver.com/, support 32-bit and 64-bit systems, and select versions according to its own system.
Wampserver installation is simple, you just have to click "Next" to complete the installation.
Xampp
The XAMPP supports MAC OS and Window systems: https://www.apachefriends.org/zh_cn/index.html.
IDE (Integrated development environment, integrated development environment) Eclipse for PHP (free)
Eclipse is an open-source, Java-based, extensible development platform (if the JDK is not installed, you need to download the JDK installation first). For its part, it is just a framework and a set of services for building a development environment through plug-in components. Fortunately, Eclipse comes with a standard set of plugins, including Java development tools (Java Development kit,jdk).
Supports Windows, Linux, and Mac OS platforms.
Eclipse for PHP official: HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-PHP-DEVELOPERS/HELIOSR
Phpstorm (FEE)
Phpstorm is a lightweight and convenient PHP IDE designed to provide user efficiency, a deep understanding of the user's coding, smart code completion, quick navigation, and instant error checking.
The Phpstorm is ideal for PHP developers and front-end engineers. Available in: Smart html/css/javascript/php editing, code quality analysis, version control integration (SVN, GIT), debugging and testing.
Supports Windows, Linux, and Mac OS platforms.
Phpstorm official: http://www.jetbrains.com/phpstorm/download/
PHP environment, Phpstom usage, phpstudy configuration, Wamp configuration