Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Interpreter is not Installed (Linux)

I am using PhpStorm on Linux Mint 16. I created a Hello World, but am struggling to run it. I am getting an error "PHP Interpreter is not installed. Press 'Fix' to edit your project configuration."

enter image description here

When I hit "Fix", I get:

enter image description here

Any ideas how to fix this? There are no Interpreter options.

like image 834
Evorlor Avatar asked Feb 14 '23 01:02

Evorlor


2 Answers

You should install PHP. Your IDE is not responsible for that, you need to do it yourself.

See this site for instructions: http://community.linuxmint.com/tutorial/view/486

Update: Add PHP interpreter following: https://www.jetbrains.com/phpstorm/webhelp/enabling-php-support.html

PHP home could be set to /usr/bin on linux.

like image 113
TwilightSun Avatar answered Feb 24 '23 07:02

TwilightSun


i did this sudo apt-get install php5-dev sudo apt-get install php-pear sudo apt-get install php5-cgi

then add interpreter and php was under the /usr/bin

like image 45
roxdurazo Avatar answered Feb 24 '23 09:02

roxdurazo