Posts

Showing posts with the label composer-php

require(vendor/autoload.php): failed to open stream

require(vendor/autoload.php): failed to open stream I know that this issue has been posted many times, but for me it seems to be a different problem. Indeed, this error Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in C:xampphtdocssite_websend_mail.php on line 3 Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='C:xamppphpPEAR') in C:xampphtdocssite_websend_mail.php on line 3 appears at the begining of my code from this line: require 'vendor/autoload.php'; So, I guess there must be a /vendor/autoload.php file somewhere in my computer (I have installed composer and ran composer require phpmailer/phpmailer composer require phpmailer/phpmailer ). So, I looked for this file using: dir /s autoload.php in the Windows command line, and found one here: C:WindowsSysWOW64vendorautoload.php , dir /s autoload.php C:WindowsSysWOW64vendorautoload.php but for me, syswow64 folder has nothing to see wi...

How to upload Composer to DirectAdmin (sharedhost)

How to upload Composer to DirectAdmin (sharedhost) For my laravel project I see that it is required to have composer on the server. I have downloaded composer to my machine, but I don't know what that means to do it for the server. How can I accomplish this? Can you ssh into the server? – user2094178 Sep 16 '15 at 16:41 i just learned ssh so im not sure how to do that. Can you explain? – Ricki Moore Sep 16 '15 at 16:58 First you must find out with your hosting if you have ssh enabled. – user2094178 Sep 16 '15 at 17:17 ...