![]() Here you will choose "From Docker." Configuring the CLI interpreter in PHPStorm Choose the CLI image name Choosing a language level and a CLI interpreter in PHPStorm Configure the CLI interpreter Next click on the three vertical dots to choose a CLI interpreter. Here you will want to set PHP 7.4 as the language level. The first thing to do is to go to preferences and search for PHP. Choose a language level and a CLI interpreter The following below is a series of screen captures that illustrate how to set this up. Once that is done, go to your site and make sure it loads. Once that is done, you'll see something like this in terminal: NAME d9xdebug Now that we have Lando all set, go ahead and run lando rebuild -y so that these updates take effect. If you've used an older version of Xdebug in the past, the port was typically 9000. Also note that port 9003 is set for Xdebug, that is because Xdebug 3 requires this. I also like to add memory_limit = -1 to this file as well to avoid any out of memory issues. You'll want to set these variables for Xdebug: Create these directories if they do not exist already. Now, we need to create our php.inifile within lando/config.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |