How to develop a PHP project using Visual Studio

Source: Internet
Author: User

Developing PHP under Windows in addition to Notepad DW and a bunch of Zend Studio,eclipse,netbeans, personal feeling is vsiual studio+phptoole 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 vs.php and Phptools on Visual Studio 2013, The former basic only 2010 of the 2.6 version can be registered, 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 the installation of the MSI when the DLL is missing, had to start the command line Administrator version, under CMD to start the MSI installation successfully passed.


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, added a line may need to restart to take effect, anyway, I was restarted.


Next start vs2013 will prompt registration, after the successful registration, wrote a few words of PHP ready to debug and hint Xdebug not well equipped


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

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= "C:/php/ext/php_xdebug-2.2.5-5.5-vc11-nts-x86_64.dll"


Plug - ins

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


Xdebug Download

http://www.xdebug.org/


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.