PHP Installation
What do you need to do?
To start using PHP, you can:
- Find a web host that supports PHP and MySQL
- Install a web server on your own PC, then install PHP and MySQL
Use a web host that supports PHP
If your server supports PHP, then you don't need to do anything.
Just create .php files in your web directory, and the server will automatically parse these files for you.
You don't need to compile any software or install extra tools.
Since PHP is free, most web hosts provide support for PHP.
Set Up PHP on Your Own PC
However, if your server does not support PHP, you must:
- Install a web server
- Install PHP
- Install a database, such as MySQL
The official PHP website (PHP.net) has PHP installation instructions: https://www.php.net/manual/zh/install.php
PHP Server Components
For beginners, it is recommended to use an integrated server component, which already includes services such as PHP, Apache, and MySQL, saving developers from spending time on tedious environment configuration.
WampServer
Windows systems can use WampServer; download address:https://www.wampserver.com/en/, supports 32-bit and 64-bit systems; choose the version according to your system.

WampServer installation is also simple; you just 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)
VS Code
VS Code (full name Visual Studio Code) is a free, open-source, cross-platform code editor released by Microsoft.
VS Code supports Windows, macOS, and Linux, with powerful features and flexible extensibility.
VS Code tutorial:https://www.runoob.com/vscode/vscode-tutorial.html
In addition, domestic companies Alibaba and ByteDance also have AI IDEs developed based on VS Code:

Eclipse for PHP (free)
Eclipse is an open-source, Java-based extensible development platform (if the JDK is not installed, you need to first Download the JDK install). As such, 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 plug-ins, including the Java Development Kit (JDK).
Supports Windows, Linux, and Mac OS platforms.
Eclipse for PHP official download address:https://www.eclipse.org/downloads/packages/

PhpStorm (paid)
PhpStorm is a lightweight and convenient PHP IDE designed to improve user efficiency. It deeply understands your code and provides intelligent code completion, fast navigation, and instant error checking.
PhpStorm is very suitable for PHP developers and front-end engineers. It provides features 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/
