Skip to content

Instantly share code, notes, and snippets.

@DominicWatts
Last active September 12, 2024 13:48
Show Gist options
  • Save DominicWatts/76362f42b24ce63c1c4060b59638405c to your computer and use it in GitHub Desktop.
Save DominicWatts/76362f42b24ce63c1c4060b59638405c to your computer and use it in GitHub Desktop.
Server : cPanel php versions #server

php versions

multi php paths

/opt/cpanel/ea-php74/root/usr/bin/php

/opt/cpanel/ea-php81/root/usr/bin/php

/opt/cpanel/ea-php82/root/usr/bin/php

shortcut

/usr/local/bin/php

composer

/opt/cpanel/composer/bin/composer

composer bypass

curl -o composer.phar https://getcomposer.org/download/2.6.5/composer.phar

chmod +x composer.phar

mv composer.phar composer2

composer2 --version

/usr/local/bin/php composer2 install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment