Intellij IDEA not detecting PHP from macports installation

There is an alias in /opt/local/bin for php but IDEA doesn't seem to see it... I am running OS X 10.9 (Mavericks)

Captura de pantalla 2013-10-30 a la(s) 11.53.30 AM.png
Captura de pantalla 2013-10-30 a la(s) 11.57.10 AM.png
Any ideas?

1 comment

Figured it out. Turned out I had the php xdebug port installed and also (here's the trick) an entry for it in my php.ini file. There was some confliction which caused it not to be read from Intellij IDEA. Why I have no clue. The solution is to simply remove the conflicting entries from your php.ini file. I found out there was a confliction by running "php" at the command line.


Please sign in to leave a comment.