Windows Phpstorm combined with WAMP development Phalcon application Configuration

Source: Internet
Author: User
Tags php framework php tutorial

Recently to use the Phalcon framework to develop PHP applications, because the previous basically did not touch php more useless PHP framework, the results of the entire environment IDE configuration what took a long time

Learn how to teach online PHP tutorial installation wamp (windows+apache+mysql+php) environment

Phalcon official online Download Phalcon, here met the first pit, the original download is NTS version, according to the official document configuration, open Wamp prompt "Can't find Php5.dll", later only understand wamp default turn on thread protection, To use a non-NTS version of Phalcon.

The second pit was met with Wamp using the first demo of Phalcon, the tutorial has access to the link "localhost/test", test is the project name (placed under the WWW folder), and I so access results can only appear in the project folder under the file tree, Later I realized that to open the Apache URL rewrite module, "C:\wamp\bin\apache\apache2.4.9\conf" under the httpd.conf configuration file "LoadModule rewrite_module modules /mod_rewrite.so "#" comment in front of "delete", restart service.

The third pit is downloaded good phpstorm after not knowing how to run php files in http://stackoverflow.com/questions/23896638/ How-to-setup-built-in-webserver-in-phpstorm learned to use the Phpstorm built-in server to run view PHP files

The fourth pit is in Phpstorm use Phalcon's demo when met, when click Phalcon Jump link can not access to the corresponding controller, through the analysis URL, understand the URL rewrite is also the problem. Intended to use Wamp's Apache server, in https://confluence.jetbrains.com/display/PhpStorm/Installing+and+Configuring+XAMPP+with+ Phpstorm+ide found a solution to the idea. "File->settings->deployment" click "+" button, set "type" to "local or mounted folder", the name is arbitrary, the server address is similar to "C:\wamp\bin\apache\ apache2.4.9 ". Note Here, select the "Mappings" tab and fill in the project name in the "Web path on server ..." item.

The fifth pit is the configuration xdebug convenient debugging PHP, this online tutorial quite a lot of, not wordy.

Windows Phpstorm combined with WAMP development Phalcon application Configuration

Related Article

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.