Closed tim1mike closed 3 years ago
Run composer install
in the directory with extension.
I can't do this because I have only virtual hosting without roots in /usr/bin
So I can't just move Composer in there to run composer install
globally
I only can run php composer.phar
from installed directory
You can run Composer from wherever, it doesn't matter if it's installed globally or not.
I was trying, it says:
h009399868@h009399868:~/***/docs/extensions/AWS$ composer install
-bash: composer: command not found
I could move composer.phar into the AWS folder to run php composer.phar install
frome the AWS directory and then move Vendor folder into the wikimedia $IP, is that a right way?
I could move composer.phar into the AWS folder to run php composer.phar install frome the AWS directory
Yes.
and then move Vendor folder into the wikimedia $IP
Not needed. Running composer is enough.
I did it, thanks so much!
Warning: require_once(/docs/extensions/AWS/s3/../vendor/autoload.php): failed to open stream: No such file in /extensions/AWS/s3/AmazonS3FileBackend.php on line 25
Fatal error: require_once(): Failed opening required '/docs/extensions/AWS/s3/../vendor/autoload.php' (include_path='/docs/vendor/pear/console_getopt:/docs/vendor/pear/mail:/docs/vendor/pear/mail_mime://docs/vendor/pear/net_smtp:/docs/vendor/pear/net_socket:/docs/vendor/pear/pear-core-minimal/src:/docs/vendor/pear/pear_exception:.:/php') in /docs/extensions/AWS/s3/AmazonS3FileBackend.php on line 25
What should I do?