PHP complete se... LOGIN
PHP complete self-study manual
author:php.cn update time:2022-04-15 13:53:54

PHP installation


What do you need to do?

To get started with PHP, you can:

  • Find a web host that supports PHP and MySQL

  • On your own Install the web server on your PC, and 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 them for you.

You don’t need to compile any software, or install additional tools.

Since 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:

  • Install Web Server

  • Install PHP

  • Install database, such as MySQL

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 , it already includes services such as PHP, Apache, Mysql, etc., eliminating the need for developers to spend time on the tedious process of configuring the environment.


1. phpStudy (Recommended)

phpstudy under php Chinese website, a classic domestic PHP environment building tool, can quickly Build a php running environment! It is recommended to usephpstudy 2018orphpstudy V8 version


2. WampServer

Window system can use WampServer, Supports 32-bit and 64-bit systems, you can choose the version according to your own system.

PHP Chinese website download address://m.sbmmt.com/xiazai/gongju/90[Recommended]

wamp official website download address:http://www.wampserver.com/【Slow download speed】

The WampServer installation tutorial is actually very simple. You only need to keep clicking "Next" to complete the installation.

WampServer installation tutorial video address://m.sbmmt.com/code/14362.html


##3. XAMPP

XAMPP supports Mac OS and Window systems

PHP Chinese website download address:

//m.sbmmt.com/xiazai/gongju/91[Recommended]


IDE (Integrated Development Environment, integrated development environment)

1. Eclipse for PHP (free)

Eclipse is an open source, Java-based extensible development Platform (if JDK is not installed, you need to download and install JDK 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 Window, Linux and Mac OS platforms.

Eclipse for PHP official download address:http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliosr


2. PhpStorm (charged)

PhpStorm is a lightweight and convenient PHP IDE. It is designed to provide user efficiency, deeply understand the user's coding, provide intelligent code completion, and quickly Navigation and on-the-fly 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 Window, Linux and Mac OS platforms.

PHP Chinese website download address:

[phpstorm Win version]//m.sbmmt.com/xiazai/gongju/122(including phpstorm installation steps)

【phpstorm Mac version】//m.sbmmt.com/xiazai/gongju/510(including phpstorm installation tutorial)

PhpStorm official download address:http://www.jetbrains.com/phpstorm/download/


More php development tools

Download address://m.sbmmt.com/xiazai/gongju



##

php.cn