![]() You can see my project is made in PHP5, so change your folder name/location according to your version of PHP. ![]() You can create one using commands such as touch, vim, vi, nano and so on. Now you need to navigate inside your server to a location: /etc/php5/apache2/conf.d/ and check if the file 20-xdebug.ini exists there. Copy the location somewhere as you will use it later on. Getting startedįirst you need to find the location of the xdebug.so file on your server. In this tutorial I will assume you have Xdebug installed. However, as my project is using PHP5, I’ve had to do it the old fashioned way: looking it up on forums. ![]() If you don’t have Xdebug installed on your server but are using PHP7, you can do it by using Tailored Installation Instructions from the official Xdebug site here. The goal of this tutorial is to get the Xdebug working on your server and then point PhpStorm to Xdebug. It collapses from time to time so I have to redo this setup, and therefore I know this setup works :). The app I am working on runs inside of a Vagrant box which is shaky somehow. ![]() Since there aren’t many tutorials on how to do it, I’ve encountered some problems on how to get the setup up and running.īy combining a few tutorials and spending a few hours on several forums, I came up with this text. Recently I started focusing more on PHP, and I needed to set up a local debugging environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |