banner



How To Add Php 5.6 To Microsoft Webmatrix

In this article, you will find out how to install PHP Tools for VS Code on Windows. Getting it running is fast and simple and information technology shouldn't accept you more than a few minutes.

Install Visual Studio Code for Windows.

To install PHP Tools, you need to take Visual Studio Code (VS Code) already installed on Windows. For those who already have information technology, just skip this pace. For those who don't, download VS Code for Windows. If you would similar detailed instructions, click here.

Download VS Code for Windows

Once yous take VS Code installed, yous have unlike ways of installing PHP Tools. In this article, we'll discuss two means: The internal installation straight from VS Code, and the external from Devsense's download page. Both ways are simple, fast and easy.

Internal Installation

  1. Launch VS Code.

  2. Click the icon for extensions.

VS Code Extensions button

  1. Search for "PHP Tools" in the search menu.

  2. Click Install. The tool should be installed automatically.

  3. Afterward the successful installation, a pop-upward window will announced on the bottom right of the screen.

In that location, you'll have to cull among entering your license cardinal, choosing to get a trial or receiving more information. Delight, refer to the Activation department of this tutorial for detailed instructions.

VS Code PHP Tools Extension

External Installation

  1. Go to Devsense's download folio.

Make certain you have selected the department for VS Code on the correct (the letters should be blue).

  1. Download Extension

Click the blue push "Go the extension" under the version you would like to download.

Download PHP Tools for VS Code

  1. The file will offset downloading to your PC.

PHP Tools for VS Code Downloading

  1. Open VS Lawmaking

  2. Install from VSIX

Open the command palette on VS Lawmaking (Ctrl + Shift + P) and type in "Install from VSIX". Next, click Install.

Install from VSIX

Activation

Later successfully installing PHP Tools for VS Lawmaking, you'll receive a notification on the bottom correct to actuate information technology. Please, bear in heed that the activation of the software requires an Cyberspace connection. You'll meet 3 buttons:

a. "I have the license key"

If y'all already purchased your license key, click that button and fill in the required information.

b. "Get a trial"

If you would like to attempt PHP Tools for VS Code, click this button:

Get trial

Fill in the information and you'll receive an email with a 14-24-hour interval trial key. Re-create and paste the primal and y'all'll be able to showtime using the tool. If you call back PHP Tools for VS is the correct option for you lot, you can purchase a license afterwards the trial period is over.

c. "More data"

This button will have you to the purchase page, where you'll come across prices and license data.

The activation will exist confirmed by a pop-upwards window stating that the process was successful.

Debugger and configuration

Once you take activated your PHP Tools, you need to setup PHP Tools' debugger. PHP Tools makes apply of Xdebug to integrate debugging features into VS Code.

  1. Make sure you have PHP installed.

PHP Tools plugin doesn't require you to have a web server! Only PHP. There are two options to install PHP on your platform.

  • a. Y'all tin become to php.net and download the installer of the latest PHP by yourself (preferred).

  • b. Yous can download the whole spider web server package for PHP – Xampp or Wamp.

  1. Get your phpinfo().
  • a. On the command line, run
          php-r phpinfo();                  
  • b. If you lot installed Xampp or Wamp, simply open http://localhost on your browser, and click on the phpinfo() tab.
  1. Use Xdebug Wizard

Copy the whole content of phpinfo() that shows up and go to the Xdebug Wizard. Insert the copied content there and click on the highlighted button below.

Xdebug Wizard

  1. Then, follow the steps provided.

Xdebug Steps

  1. Bank check php.ini

When you're done with the above-mentioned steps, the last thing to practise is ensure php.ini states the post-obit directives:

          xdebug.remote_enable = ane xdebug.remote_autostart = 1 // or append `XDEBUG_SESSION_START=one` parameter to the URL of folio you want to debug                  

Now yous are ready to kickoff your first projection!

Getting started with PHP Tools for VS Code

You may also want to read:

  • Configuration options

  • How to install Laravel for VS Lawmaking

  • How to install PHP Tools for VS Code on macOS

How To Add Php 5.6 To Microsoft Webmatrix,

Source: https://blog.devsense.com/2019/how-to-install-phptools-for-vscode-on-windows

Posted by: georgewithen.blogspot.com

0 Response to "How To Add Php 5.6 To Microsoft Webmatrix"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel