简体   繁体   中英

I can't run project from localhost

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM