Warning: require(/vendor/autoload.php): failed to open stream: Permission denied in /var/www/ .. need solution.
I installed the AWS PHP SDK with composer but it is showing error like this.
Warning: require(/vendor/autoload.php): failed to open stream: Permission denied in /var/www/
Fatal error: require(): Failed opening required '/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/
So, what is the problem and how to solve it?
Total 1 Ans
, 1275 views
This error is showing because the system didn't have found you have installed PHP sdk aws.
If you think that you have installed it then you might have installed it in another directory or folders,
You should install PHP SDK aws only on inside of the directory where your website files is stored.
I mean composer also should be installed inside of the directory where your website files is situated.
Installing outside of your website directory it will show error.
Other wise it will show this kinda errors.
announcement Recently Asked