Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
By carlbowles100 on
My sites were all built manually without Composer - simply by downloading modules and themes and installing them that way.
I'd like to use Composer with my sites now, so:
I've downloaded and installed Composer on my computer.
I've installed the Plesk extension PHP Composer on my Linux server.
I log into Putty SSH and go to the root directory of any of my sites and run any composer command and I get the following:
/user/bin/env: 'php' : No such file or directoryIs there something I need to do to fix this issue?
Comments
That's a Plesk related
That's a Plesk related problem, maybe this can help? https://support.plesk.com/hc/en-us/articles/12377596215703-How-to-run-Co...