![]() ![]() The server uses PHP version 7.4 which is installed in “C:\Users\Medewerker\php7”. For anyone unfamiliar with this feature, see Using Grav’s new built-in Web Server. On a Windows 10 machine I’m using Grav’s built-in webserver starting it with: To me the “zero config” setup of PhpStorm with Xdebug as shown in the Grav blog post Grav + PHPStorm + Xdebug Video is not as zero as I would like it to be.īelow is a reconstruction of what I tried. To my disappointment I can’t make it all work. And they do quite frequently since I’m not a developer by far. I was really looking forward to inspecting variables when a fatal error 500 occurs. Last week I decided to make life easier by purchasing PhpStorm. The process of creating and figuring out how Grav works was rewarding but often frustrating as well. Over the years I have created a couple of Grav plugins. you may only use these constants *after* the line that loads the extension.First of all, I know this is a lengthy post because I tried to give a complete overview of what I did with as much detail as possible. dynamically loaded extension (either a PHP extension or a Zend extension), ![]() Open it and add the following line zend_extension=/usr/lib/php/20190902/xdebug.soĪfter If you use constants in your value, and these constants belong to a You should add "zend_extension=/usr/lib/php/20190902/xdebug.so" to php.iniįind where is my php.ini. When it's done, system told me Build process completed successfully I can install xdebug sudo pecl install xdebug sudo apt-get install xdebugīut, it gave me the error "phpize" didn't find. When I go through the xdebug website, I knew that I need to install PHP development headers. So, install php-dev sudo apt-get install php-dev ![]() So, in this paragraph, I will write down how I install Xdebug and config with PHPStorm in Ubuntu.įollowing the instructions of the Xdebug website, I try to install Xdebug with PCEL. And many developers using PHPstorm as an IDE. But how to debug it when you meet a problem? You can use echo, but it will make your web page messy. To develop a PHP project, Ubuntu is a good choice. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |