How to develop a PHP5.6 project using Visual Studio 2013

Source: Internet
Author: User



How to use Visual Studio to develop PHP projects



Developing PHP under Windows in addition to Notepad DW and a bunch of Zend Studio,eclipse,netbeans, personal feeling is vsiual studio+phptools best. The main reason is speed. VS speed is really fast other IDE too much, whether from the start speed or the use of resources in the process is better than the other 3, after all, is Microsoft's own things.



There are two more famous PHP plugins on Visual Studio 2013 vs.php and PHP Tools for Visual studio.1.14.5747, the former basic only 2010 of the 2.6 version can register, and the new version has been out to 3.4 but no one cracked, the latter is Microsoft recommended 1.13, but 1.12 someone has done a certain job, can successfully register, but the installation needs some effort.



First, the computer is a Windows 8.1 64-bit version, double-click Install MSI when prompted by the missing DLL, had to start the command line Administrator version, under cmd start MSI installation passed smoothly.



Next modify the hosts this system is the default hidden to the Control Panel and folder options to open the hidden system files, the file user group does not modify the permissions need to modify the full control, and then the properties of the read-only removed, after adding a row may require a restart to take effect, Anyway, I restarted it.



Next start vs2013 will prompt registration, after the successful registration, wrote a few sentences PHP ready to debug and prompted Xdebug not well.



PHP basic configuration is not much to say put php5.6 under c:\php and then modify PHP.ini



Place the Xdebug related DLLs in D:\php\ext, and modify the php.ini, for example, the following code snippet



Then add a similar configuration by default is 9000 port due to my other application occupation changed to 10000, and then succeeded, if not the line prompts you to fix, try a few more, wish everyone smooth


[Xdebug]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
;xdebug.remote_port = 10000 
zend_extension="d:/php/ext/php_xdebug-2.2.6-5.6-vc11-nts-x86_64.dll"


Plug - ins



http://download.csdn.net/detail/masonwu21/7712875



Xdebug Download



http://www.xdebug.org/



Open Visual Studio 2013, new project---templates, other languages->php.



How to develop a PHP5.6 project using Visual Studio 2013


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.