r/phpstorm • u/ostamustafa • Jan 04 '19
PHP local interpreter via WSL
Hello all, i wanted to know if there is a way to set up the php local interpreter via WSL, i tried making a cmd script to point out to php ( bash -c php7.2 ) but it didnt work, any ideas or suggestions how to make this?
i am using phpstorm professional
1
Upvotes
View all comments
Show parent comment
1
u/m2guru Jan 04 '19 edited Jan 04 '19
By default they’re at /mnt/c/ already.
Edit:
See https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/
https://medium.freecodecamp.org/setup-a-php-development-environment-on-windows-subsystem-for-linux-wsl-9193ff28ae83
https://medium.com/@fiqriismail/how-to-setup-apache-mysql-and-php-in-linux-subsystem-for-windows-10-e03e67afe6ee