ammardev / LaravelStorm

IntelliJIdea & PhpStorm Laravel tools plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hardcoded php path

dododedodonl opened this issue · comments

It would be nice if it was possible to set the path to php so one can run a different version than the system default.

Do you mean you want to choose a custom php path like this :
image
If you want something like that you can do it from phpstorm / intellij Settings .
From : File menu > Settings > Languages & Frameworks > PHP
Press the button next to the drop down and the above dialog will appear .

image

Yes, or just a field in which I can paste the path to php. The problem I run into is that the run command does not work because it is hardcoded to the system default php (which is too old).

schermafbeelding 2017-07-01 om 10 56 35

I would like that to be configurable to /path/to/php artisan serve --host=localhost --port=8000 than the plugin will also work for me.

I should get the command from the PhpStorm settings. But instead I sent php command without getting it from the settings . I will fix it soon . Thanks for reporting

Solved on commit a763cb0 (Not released yet)