- This topic has 3 replies, 1 voice, and was last updated 2 months ago by pfsalter.
- AuthorPosts
- November 15, 2020 at 1:57 pm #2406Nicole_BunnyshellParticipant
Are there any beginners who want to learn more about Symfony? In this [step-by-step tutorial](https://www.bunnyshell.com/blog/how-to-set-up-symfony-in-ubuntu/), we want to help beginners learn how to set up Symfony 4 on an Ubuntu 18.04 LTS based Nginx server.
November 15, 2020 at 1:57 pm #2407Flibbertygibbety22GuestSurely if you’re learning today, you’d use the latest versions of both Symfony (5.1) and Ubuntu (20.04).
November 15, 2020 at 1:57 pm #2408lekoalabeGuestReally, if you are a beginner, don’t setup a webserver yourself. There are so many great solutions like ServerPilot or Runcloud that work fine and make sure that your website is secured and properly configured
November 15, 2020 at 1:57 pm #2409pfsalterGuestI think there are a few improvements to be made here:
1. Don’t run NGINX and FPM as the same user. There’s no reason for it.
2. Don’t install GIT/Composer on production servers, deploy code instead of pulling it, it scales better
3. Don’t have one box running both MySQL and PHP. MySQL will eat memory from PHP and you’ll run out of memory fast. VMs are so cheap now you may as well separate them, also better for scaling.
4. Use Lets Encrypt to provide HTTPS connections, forward all HTTP to HTTPS - AuthorPosts
- You must be logged in to reply to this topic.