Home > OS >  I can't run project from localhost
I can't run project from localhost

Time:08-24

I have a project that I need to edit. To see this project, I wanted to run it on localhost and ran it from wamp. Later, when I entered localhost, I got the error.

On top of that, I wanted to run it from cmd and see it. The response I got at that time was as follows.


Fatal error: Uncaught Error: Failed opening required 'C:\wamp64\www/vendor/autoload.php' (include_path='.;C:\php\pear') in C:\wamp64\www\artisan:18
Stack trace:
#0 {main}
 thrown in C:\wamp64\www\artisan on line 18

CodePudding user response:

check if there is any /vendor/autoload.php file in your wamp folder if not try composer install in the terminal where your project is located. (if you don't have composer install the composer first via this url)

you can start your project directly with php artisan serve too. if php is added to your windows path variables.

  • Related