Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

helpmyworld's avatar

php artisan serve not working

Good day, i was working well until i hit the block. i get the following error when i run "php artisan serve" i am on windows.

[Sat May 6 14:06:36 2017] 127.0.0.1:49705 [200]: /favicon.ico [Sat May 6 14:07:18 2017] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in C:\xampp\htdocs\blogdee\storage\framework\views\ddbb6321502d8e10fdb54ff75acba89dd66b1193.php on line 1

What could this mean.

when i go to my http://localhost:8000 my project/website is blank.

Please your help will be highly appreciated.

0 likes
9 replies
Snapey's avatar

it means it cannot log into your SQL server with the credentials you provided.

helpmyworld's avatar

i was able to resolve that. Now the error i am getting is that my project/website is blank when i go to localhost:8000

when i run "php artisan sereve" i get the following error " [Sat May 6 14:06:36 2017] 127.0.0.1:49705 [200]: /favicon.ico [Sat May 6 14:07:18 2017] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in C:\xampp\htdocs\blogdee\storage\framework\views\ddbb6321502d8e10fdb54ff75acba89dd66b1193.php on line 1"

Snapey's avatar

Ignore the favicon error, or create a favicon.ico image in your public folder.

The real problem is in the second error. Perhaps you have some form of endless loop in the view.

That long unrecognisable filename is the blade cache for the view. You can review it by looking for that filename in your storage/framework/views folder, or just look at your source code. I assume you know which view is being rendered?

helpmyworld's avatar

lol i am just a beginner, what you said up there is foreign to me. Would you care to guide me through.

smagafu's avatar
try php artisan view:clear

to clear pre-compiled view in storage-

Snapey's avatar

ok, so you know that little icon on your browser tab that represents the site? Well that is called a favicon. All browsers will try to fetch it from the root of your website and if you don't have one then your web server will quietly throw an error.

Just ignore this for now - it is not important.

Ok, the next error.

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in C:\xampp\htdocs\blogdee\storage\framework\views\ddbb6321502d8e10fdb54ff75acba89dd66b1193.php on line 1"

Look in the file listed and see what PHP code you have there

helpmyworld's avatar

Thank You Snapey, i installed a fresh laravel project to start from scratch.

Snapey's avatar

for future reference, don't change the question after someone has posted a reply. My first reply now looks completely stupid.

1 like

Please or to participate in this conversation.