Intellij idea Configuring the PHP development environment

Source: Internet
Author: User
Tags php language php development environment

Intellij idea is a very powerful compiler that can support Java HTML css and so on. Of course, adding PHP language is a piece of cake ~

Environment:

Windows 7, Intellij idea 2016.2.5, php5-7, Apache 2.4

Steps:

1, the configuration of the PHP development environment, including the PHP language and Apache server, reference link (Bo owner followed, no problem):

Http://www.cnblogs.com/wangqishu/p/5028031.html

2, the PHP suffix files copied to IntelliJ idea, the compiler will automatically detect PHP, and prompted to download the PHP plugin (follow the prompts to download it). Alternatively, you can go to File->settings...->plugins->install jetbrains plugin., Search for PHP plugins from, and install

3, such as PHP plug-in installed, restart IntelliJ idea, find PHP files, and open HTML files can be opened directly in the browser.

Precautions:

Open the php file directly in IntelliJ idea, by default with the compiler's own server (using the port number 63342), when receiving a POST request, the data is not available.

To replace the project's server with an Apache local server, refer to the tutorial:

http://blog.csdn.NET/whd526/article/details/53263181

Intellij idea Configuring the PHP development environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.