ccxo
March 26, 2025, 4:00pm
1
Ubuntu 22.04.5
Current Version: 2.3
Build: 9
Current Commit: f6164e81baae9dd4917e0d429aac316d3950b59a
Latest Version: 2.3
Latest Build: 9
Latest Commit: 33cc6ba1dad4b805767a794ac79b4f3c144adea8
hello. while working on wordpress plugin development I’m trying to run
composer install on the plugin directory and getting this error
bash: /usr/bin/composer: /usr/bin/php: bad interpreter: No such file or directory
Welcome @ccxo Happy you are here!
Error indicates indicates that the PHP binary specified in the composer
script is either missing or incorrectly configured. Check if you have set PHP version correctly
Under Website List you should see your php version:
When managing a single website you can set the correct PHP version you prefer:
Now you can use composer using command /usr/local/bin/composer
in SSH or VNC terminal under that directory