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

PK_06's avatar
Level 1

Deployment

Hi ! Can you give me some idea about deploying my laravel application to production? Currently on my local, I use php artisan serve to serve my application during development. But I have no idea how to serve my application on a remote server. Because onced, I tried to run it on WAMP Server knowing it is almost the same when deploying your app. But came up for some errors, it requires public directory on my url/routing.

I know php artisan serve use server.php file on a root project then redirect the request on public directory to reach .htaccess and index.php. And now, I need to run it on a server like WAMP Server without using php artisan serve.

Thank you for who will share their ideas.

0 likes
5 replies
Robstar's avatar

https://laravel.com/docs/5.7/envoy ism always good as long as you have SSH access to your server. It's also surprisingly free. By the way, WAMP is definitely not a good choice. For the little effort it requires on your part I;d recommend using LaraDock or Homestead to develop locally.

PK_06's avatar
Level 1

Hmm. Thank you. But we are using Windows Server only. Is there any way?

bobbybouwmann's avatar

@PK_06 You should have mentioned that you use a windows server though... I have zero experience with Windows Server, so I can't help you with that ;)

PK_06's avatar
Level 1

Okay thank you for your time bro.

Please or to participate in this conversation.