How to Use Visual Studio to develop PHP Projects

Source: Internet
Author: User
In addition to notepad DW and a bunch of Zendstudio, Eclipse, and NetBeans streams, I personally think vsiualstudiophptoole is the best way to develop php in windows. The main reason is speed. The speed of vs is really fast. There are too many other ides, and the resource consumption is better than the other three in terms of startup speed and usage. After all

In addition to notepad DW and a bunch of Zend studio, Eclipse, and NetBeans streams, php is developed in windows. In my personal opinion, vsiual studiophptoole is the best choice. The main reason is speed. The speed of vs is really fast. There are too many other ides, and the resource consumption is better than the other three in terms of startup speed and usage. After all

In addition to notepad DW and a bunch of Zend studio, Eclipse, and NetBeans streams, php development in windows makes vsiual studio + phptoole the best choice. The main reason is speed. The speed of vs is really fast. There are too many other ides. Both the startup speed and the consumption of resources in the use process are better than the other three. After all, it is Microsoft's own thing.


Visual studio 2013 has two famous php plug-ins. php and phptools, the former is basically only available for registration in version 2010, and the new version has been released to version 2.6 but no one has cracked it. The latter is also recommended by Microsoft 3.4, but some people have done some work in version 1.13, it can be successfully registered, but it takes some time to install it.


First, the computer is a windows 8.1 64-bit version. When you double-click to install msi, you will be prompted that the dll is missing. You have to start the command line administrator Version and start msi installation under cmd.


Next, modify hosts, which is hidden by default. Choose Control Panel> folder to open and hide system files. If the file user group does not have the modification permission, you need to modify the full control, and then remove the read-only attribute from the property, after a line is added, it may take effect after restart. I restarted it anyway.


When vs2013 is started, the system will prompt registration. After successful registration, a few php statements are written for debugging and the system prompts that xdebug is not properly configured.


The basic configuration of php is not much said. Put php5.5 under c: \ php and modify php. ini.

Then, add a similar configuration. The default value is port 9000. Because my other applications have been occupied by port 10000, it will be successful. If not, you will be prompted to correct the configuration. Try a few more times, wish everyone success

[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.