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.
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
-
Launch VS Code.
-
Click the icon for extensions.
-
Search for "PHP Tools" in the search menu.
-
Click Install. The tool should be installed automatically.
-
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.
External Installation
- Go to Devsense's download folio.
Make certain you have selected the department for VS Code on the correct (the letters should be blue).
- Download Extension
Click the blue push "Go the extension" under the version you would like to download.
- The file will offset downloading to your PC.
-
Open VS Lawmaking
-
Install from VSIX
Open the command palette on VS Lawmaking (Ctrl + Shift + P
) and type in "Install from VSIX". Next, click Install.
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:
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.
- 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.
- 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 thephpinfo()
tab.
- 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.
- Then, follow the steps provided.
- 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