. NET to PHP from scratch-Configure Visual Studio PHP Development environment PHP for Visual Studio

Source: Internet
Author: User
Tags php development environment php editor visual studio php

As a. NET developer, you've always been pampered by this powerful editor in Visual Studio, and other editors are useless and unskilled. Recently this is not a PHP, using the PHP editor is uncomfortable, I think it is more comfortable with Visual Studio.

Plug-ins that support Visual Studio have PHP tools for Visual Studio and vs.php, where PHP tools for Visual Studio is more powerful. But the charges, no way, had to find a way to crack.

PHP tools for Visual Studio cracked version: Https://pan.baidu.com/s/1pLJe1cB extract code: G3SK

First, install and crack PHP tools for Visual Studio

The following main explanation for the visual studio2013 installation plug-in

1. Modify the Hosts file 127.0.0.1 api.devsense.com (how to modify the hosts please search Baidu)

2. Create a Web site and bind the domain name api.devsense.com, then create the folder license in the root directory of the Web site, then copy the Default.aspx from the network to the directory, and then visit the/license/of the website (you need to open it properly, Open page with no content and no error)

(1, 2 step is mainly the purpose is to forge a api.devsense.com address request, because the crack is required to request http://api.devsense.com/license/this address)

3. Run Phptools.1.15.7750.msi Install PHP tools for Visual Studio

4. Run PhptoolCracker.exe, select File C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\ devsense\php Tools for Visual Studio 1.14.5514\devsense.visualstudio.licensepackage.dll file replacement

(PHP Tools for Visual Studio 2013 1.14.5514 directory may be a different version directory)

5. After the change, open Visual Studio 2013, enter the activation code where it is entered, and then the hack succeeds.

Ii. Configuring PHP Tools for Visual Studio PHP directory

1. Open Visual Studio 2013, Tools, options

, configure the Environment directory for PHP

We've completely installed the PHP development environment based on Visual Studio 2013

Third, Visual Studio 2013 debugging PHP Program

You need to debug your PHP program with Visual Studio 2013 to configure php.ini and install the Xdebug plugin

1. Modify the php.ini file

Add code to the file

[Xdebug]
Zend_extension_ts = "C:/php/ext/php_xdebug.dll"

Xdebug.collect_params=on
Xdebug.collect_return=on
Xdebug.trace_output_dir= "F:\phpweb\xdebug"//Set function to invoke the path of the output file of the monitoring information.
Xdebug.profiler_output_dir= "F:\phpweb\xdebug"//Set the path of the performance monitoring information output file.

If you do not have a Php_xdebug.dll DLL, you will need to go to http://www.xdebug.org/download.php to download the latest version, and then place it in the Ext directory under the PHP installation directory.

Restart Apche after configuration to see if the Xdebug is included in the Phpinfo

Finally for

Perfect commissioning!

. NET to PHP from scratch-Configure Visual Studio PHP Development environment PHP for Visual Studio

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.