Things that php needs to install: 1. A Web host that supports PHP and MySQL; 2. Install the Web server on the PC; 3. Install the PHP source code; 4. Install a database, such as MySQL; 5. Install PHP code editor, such as PhpStorm.
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
What do I need to install for php?
To get started with PHP, you can:
Find a web host that supports PHP and MySQL
Install the Web server on your own PC, and then install PHP and MySQL
Build PHP on your own PC
However, if Your server does not support PHP, you must:
Install 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 component
For beginners, it is recommended to use the integrated server component, which already includes PHP, Apache, Mysql and other services, eliminating the need for Developers spend time in the tedious process of configuring the environment.
WampServer
Windows system can use WampServer, download address: http://www.wampserver.com/, supports 32-bit and 64-bit bit system, choose the version according to your own system.
WampServer installation is also simple, you only need to keep clicking "Next" to complete the installation.
XAMPP
XAMPP supports Mac OS and Windows systems, download address: 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 JDK is not installed, you need to download JDK and install it first). By itself, it is just a framework and a set of services for building development environments through plug-in components. Fortunately, Eclipse comes with a standard set of plug-ins, including the Java Development Kit (JDK).
Supports Windows, Linux and Mac OS platforms.
Eclipse for PHP official download address: http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliosr
PhpStorm (charged)
PhpStorm is a lightweight and convenient PHP IDE designed to provide user efficiency, deeply understand the user's coding, provide intelligent code completion, fast navigation and instant error checking .
PhpStorm is very suitable for PHP developers and front-end engineers. Provides functions such as: intelligent 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 download address: http://www.jetbrains.com/phpstorm/download/
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What does php need to install?. For more information, please follow other related articles on the PHP Chinese website!