Codezzz
Codezzz

Reputation: 245

After typing php artisan serve, encounter error when trying to reach 127.0.0.1:8000

I'm using IIS as web server, after I ran php artisan serve on the terminal,

I encountered error when trying to reach 127.0.0.1:8000.

Warning: Unknown: failed to open stream: No such file or 
directory in Unknown  on line 0

Fatal error: Unknown: Failed 
opening  required 'C:\inetpub\wwwroot\laravel/server.php'
 (include_path='.;C:\php\pear') in Unknown on line 0

I have tried to look for other answers here, but none of them seems to work.

Any idea what went wrong. Thanks in advance.

Upvotes: 1

Views: 343

Answers (2)

Codezzz
Codezzz

Reputation: 245

Oops forgot to update .I've downloaded the laravel 5.4,It turns out I forgot to include the .dev file, it works now

Upvotes: 0

Suniti Yadav
Suniti Yadav

Reputation: 403

This error is coming cause in your working repository server.php file is missing.

Upvotes: 1

Related Questions