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

nitz25's avatar

Deploy project to LAMP

Hello, is it possible to deploy my project in LAMP server? So that every time I run my project I am not going to execute the "php artisan serve". Someone please help me about this, any help will be appreciated!

Thanks, Donnise

0 likes
6 replies
d3xt3r's avatar

What's the confusion? Do you have the server setup?

Step 1: Set up L, install, A, M and P

Step 2: copy project to a directory of your choice.

Step 3: point A to the public directory and give it permission to write to sprecific laravel folders like storage, bootstrap

Step 4: Set up M, username password, make the .env file reflect these changes

Step 5: ... Any missing step I don't remember right away

Step 6: You are good to go

nitz25's avatar

I already install and set up everything but I think about the Step 3, how can I set the Apache to public? Sorry but I am just a beginner in laravel. Thanks :)

d3xt3r's avatar

yes, if using DO. Closely follow from step 4 and you should be good to go.

1 like
nitz25's avatar

Okay sir, thank you for the response. Have a good day!

Please or to participate in this conversation.