Latest web development tutorials

PHP Installation

What you need to do?

To get started with PHP, you can:

  • Find a support PHP and MySQL Web Host
  • Install a Web server on your own PC, then install PHP and MySQL

Supports PHP Web Host

If your server supports PHP, then you do not need to do anything.

As long as you can create .php files in your web directory and the server will automatically parse them for you.

You do not need to compile any software or install additional tools.

Because PHP is free, most Web hosts offer PHP support.


Build PHP on your own PC,

However, if your server does not support PHP, you must:

  • Installing a Web Server
  • Install PHP
  • Install the database, such as MySQL

Official PHP website (PHP.net) have PHP installation instructions: http://php.net/manual/en/install.php


PHP server components

For beginners is recommended to use an integrated server component that already contains PHP, Apache, Mysql services, eliminating the need for developers to spend time in the tedious process configuration environment.

WampServer

Window system can use WampServer, Download: http://www.wampserver.com/ , supports 32-bit and 64-bit systems, according to their own choice system version.

WampServer installation is simple, you just need to keep clicking "Next" to complete the installation.

XAMPP

XAMPP support Mac OS and Window systems Download: 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 not installed JDK, you'll need to download the JDK installation). On its own, it is only a framework and a set of services for building development environments by plug-in component. Fortunately, Eclipse comes with a standard set of plug-ins, including Java development tools (Java Development Kit, JDK).

Support Window, Linux and Mac OS platforms.

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

PhpStorm (surcharge)

PhpStorm is a lightweight and convenient PHP IDE, which is designed to provide user efficiency, a deep understanding of the user's code, provides smart code completion, quick navigation and real-time error checking.

PhpStorm very suitable for PHP developers and front-end engineers. Provided all in: Smart HTML / CSS / JavaScript / PHP editing, code quality analysis, version control integration (SVN, GIT), and other debugging and testing.

Support Window, Linux and Mac OS platforms.

PhpStorm Official Download: http://www.jetbrains.com/phpstorm/download/