Leilin Peng Share: 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

  Using the Web host that supports PHP

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

  Just create your .php file in the web directory can be, your server will automatically parse these files.

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

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

  PHP build on your own PC,

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

  Installing a Web Server

  Installing PHP

  Install the database, such as MySQL

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

  PHP server components

  For starters recommend the use of integrated server component that already contains PHP, Apache, Mysql and other services, eliminating the need for developers to spend time in the tedious process configuration environment.

  WampServer

  Windows systems can use WampServer, download address: http: //www.wampserver.com/, supports 32-bit and 64-bit systems, choose according to their own version of the system.

  WampServer installation is 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, 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). 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 for Windows, 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 the user efficiency, a deep understanding of user code, provides smart code completion, quick navigation and real-time error checking.

  PhpStorm is ideal for PHP developers and the front-end engineers. Zhu to provide: Smart HTML / CSS / JavaScript / PHP editor, code quality analysis, version control integration (SVN, GIT), debug and test capabilities.

  Support for Windows, Linux and Mac OS platforms.

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

  PHP programs run in the Cloud Studio

  PHP is a server running on open source, interpretation and object-oriented scripting language. Because it is an interpreted language, the compiler is not required, and therefore faster than other scripting languages. And has an open source, platform-independent, compatibility, embedded scripting, etc., it is increasingly being used for Web development. In most cases, run on the server side PHP scripts to rely on Apache, Nginx Web server to run this. But here I recommend a more convenient development environment to you: to quickly begin using cloud-based Tencent online cloud host Cloud Studio + PHP development tools built-in Web server on your PHP project.

  step1: Access Tencent cloud developer platform, registration / login account.

  step2: the right side of the menu in the operating environment of choice: "PHP runtime environment" step3: New PHP code directory write PHP code in the code directory on the left

  step4: enter PHP code directory run php -S 0.0.0.0:8080 start the built-in web server PHP server listens on port 8080.

  step5: Click on the far right of access [link] tab, fill in the port number to access the link in the panel: 8080, click the Create link, you can click on the link generated visit our PHP project

  Tips: Enter the command from a terminal can be seen Cloud Studio as we integrate Ubuntu16.04.1 + PHP7.0.28 (NTS) development environment:

  Have any questions, you can access help documentation

  CODING now being held on a Cloud Studio workspace [my favorite Cloud Studio plug-selection contest]. Enter the event's official website: https: //studio.qcloud.coding.net/campaign/favorite-plugins/index, for more event information.

View all PHP tutorial article: https://www.codercto.com/courses/l/5.html

(Editor: Leilin Peng Source: network intrusion deleted )  

Guess you like

Origin www.cnblogs.com/linpeng1/p/10949323.html