Support the ongoing development of Laravel.io →
posted 4 years ago
Last updated 2 years ago.
0
moderator

Apache is a webserver while artisan is a cli tool. Maybe you mean the artisan serve command? That is in basic the PHP build-in web server. That isn't meant to be a public available web server. See: https://www.php.net/manual/en/features.commandline.webserver.php In theory it should be possible but it isn't stable enough and can also lead to security issues.

Using apache like you are used to or another web server (like nginx) is the preferable approach.

Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.