Path to PHP executable Xampp Mac

Hi,

I am using a XAMPP in Mac, and trying to find and select the path to the "PHP executable" within a Xampp Mac installation.

Would be nice to receive some hints

Cheers,

 

0

Please try "which php" terminal command to locate the PHP executable file location, that should help.

1

Hi,

"which php" answers "/opt/lampp/bin/php" which is an alias pointing to "php-7.4.14" being in the same folder.

When I directly select the "php-7.4.14", PhpStorm is giving "Failed to parse validation script output" by clicking the 2 round arrows.

Cheers,

 

0

Hello,

Did you try setting "/opt/lampp/bin/php" as an executable path?

Also, what output do you get with "php -v" command?

0

Hi, 

Thank you for your reply.

As I didn't succeed in making this php in Xampp being executable or seen by PhpStorm (I guest that it is seen as a file and not as an executable), I changed the environment from Xampp to MAMP from bitnami.

This works and the configuration was much more convenient and faster. It worked right away.

0

请先登录再写评论。