Code: Select all
curl -sS https://getcomposer.org/installer | /opt/Apache74/bin/php -- --install-dir=/opt/Apache74/bin --filename=composer
Code: Select all
curl -sS https://getcomposer.org/installer | /opt/Apache74/bin/php -- --install-dir=/opt/Apache74/bin --filename=composer
Code: Select all
</installer | /opt/Apache74/bin/php -- --install-dir=/opt/Apache74/bin --filename=composer
All settings correct for using Composer
Downloading...
Composer (version 1.10.10) successfully installed to: /share/CACHEDEV1_DATA/.qpkg/Apache74/bin/composer
Use it: php /opt/Apache74/bin/composer
[/opt/Apache74/etc/conf] # composer
/usr/bin/composer: line 22: /opt/Apache73/bin/composer: No such file or directory
/usr/bin/composer: line 22: exec: /opt/Apache73/bin/composer: cannot execute: No such file or directory
Code: Select all
php core to 7.4.10
composer fixed
just download and install
Code: Select all
[/share/htdocs/Lychee] # php artisan key:generate
-sh: php: command not found
Code: Select all
/opt/Apache74/bin/php artisan key:generate