note 122737 rejected from features.commandline.webserver by cmb
| From: | cmb@php.net | Date: | Wed, 16 Sep 2020 17:04:41 +0000 |
| Subject: | note 122737 rejected from features.commandline.webserver by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215129@lists.php.net to get a copy of this message | ||
Note Submitter: ssmusoke at gmail dot com
----
I have found a strange issue while executing shell scripts on my Mac (High Sierra), PHP 7.2 with
both the server and Laravel Valet.
It seems like the PATH=/usr/bin:/bin:/usr/sbin:/sbin which are the default Mac paths, but does not
take into account the shell path from my .bash_profile which means that mysql and other utilities
cannot be found.
Is there any workaround for injecting a PATH variable on execution