If I used the absolute path "/usr/local/zendsvr6/bin/php-cli" the system was able to find it, but the output would appear to be garbage when running this command:
Code: Select all
/usr/local/zendsvr6/bin/php composer.phar install
I came across this article https://support.zend+.+com/hc/en-us/articles/206212087-Set-IBM-i-PASE-environment-variables-for-php-cli- and followed the instructions using my fcgi env variables but had no luck, so I reverted. By reverted I mean I made a duplicate of the original before any changes and then renamed it back without ever editing the duplicate. Now when I use the absolute path I used before, the command is no longer found but it clearly exist at that location and the permissions are exactly the same as the other files in the directory.
This is whats displayed:
Code: Select all
$
/usr/local/zendsvr6/bin/php-cli -v
/QOpenSys/usr/bin/-sh: /usr/local/zendsvr6/bin/php-cli: not found
$
Note*: I can't post URL links so I just added "+" to any links.