yandeu / five-server-with-php

MIT License
14 stars 1 forks source link

Xampp on Linux (Could not find PHP executable) #1

Open 6heads opened 2 years ago

6heads commented 2 years ago

PHP is part of the xampp installation. Running sudo /opt/lampp/bin/php -v outputs the following: PHP 8.1.4 (cli) (built: Mar 16 2022 16:19:31) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.4, Copyright (c) Zend Technologies

However if I run which php as suggested nothing is found. So the question is what would I need to put into fiveserver.config.js' path-configuration? I tried /opt/lampp/bin and a bunch of other things but none of them seem to work.