![phpstorm php interpreter phpstorm php interpreter](https://edcs.me/assets/img/setting-up-phpstorms-phpunit-integration/phpstorm-phpunit-remote-interpreter.png)
If theres no interpreter in your dropdown click on the icon next to the dropdown and add your PHP interpreter path. Here's what the UI looks like: Click the + icon, choose From Docker, Vagrant, VM, WSL, Remote., and choose WSL in there. Clicking on the Fix button will open a window where you can set your CLI interpreter.
PHPSTORM PHP INTERPRETER CODE
Now you're ready to go and Tinkerwell will now evaluate your PHP code on your configured server. You are using a PHP interpreter of the Local type, while you need to use the WSL type. Once you have configured and stored your remote server credentials, you still need to provide the path mapping, so that PHPStorm knows in which directory your code lives.Ĭonfigure your path mappings, so that you map your local directory to your remote directory on the configured server. Click on the three dots to configure a new remote PHP interpreter.Ĭlick on the "+" button and create a new remote PHP interpreter.Ĭhoose "SSH" and configure your remote server connection In order to use a remote interpreter, go to your project settings to "Languages & Frameworks" and choose "PHP".
![phpstorm php interpreter phpstorm php interpreter](https://i.stack.imgur.com/2fzIO.png)
The plugin makes use of your configured PHP CLI interpreter. The Tinkerwell PHPStorm plugin can also run your code on remote SSH servers. Feel free to change those to your liking. You can either use the context menu in your PHP file to choose "Run with Tinkerwell", or you can make use of the existing key-bindings. About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features Press Copyright Contact us Creators. To use the Tinkerwell plugin within PHPStorm, you can either create a new scratch-file and run the code from that file, or use it within your existing PHP files. One Before launch command The beauty of the phpStorm Task manager is that we can chain tasks. Working directory The path to the makepot.php file. Interpreter options The only option we need is the new file name.
PHPSTORM PHP INTERPRETER LICENSE KEY
Provide your Tinkerwell license key and press "Apply" to activate the plugin. Interpreter path We need a terminal command to move the file. After installing the plugin, go to your PHPStorm settings and you will find a new entry called "Tinkerwell" in the "Tools" section of your settings: Computers need programs called interpreters to read code to them, and interpret what youre trying to do into lower-level languages.