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

cookie_good's avatar

ubuntu server 20.04

Has anyone here played with Ubuntu 20.04?

I got it up and running ago but having problems with SSL on MySQL remote connections. This is a major upgrade, and it going to cause a lot of refactoring....

Bleeding edge PHP, MySQL, etc.

Have you tried 20.04 and if so, what are you encountering?

0 likes
8 replies
Tray2's avatar

Been running it since saturday morning on my server without any issues. However I don't run a webserver on it.

Not knowing if you run nginx or apache but check these guides out

https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-18-04-lamp/

https://www.howtoforge.com/tutorial/how-to-install-nginx-with-php-and-mysql-lemp-on-ubuntu-1804/

These guides are for 18.04 but it's the same in 20.04.

Mysql does not allow remote access by default this needs to be enabled.

https://www.digitalocean.com/community/tutorials/how-to-allow-remote-access-to-mysql

How to create a self signed certificate

https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-in-ubuntu-18-04

https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-18-04

Good luck.

1 like
Tray2's avatar
Tray2
Best Answer
Level 73

If that helped you solve your issue please mark the reply as best reply.

cookie_good's avatar

Okay, will do, but I was hoping to stir the pot about 20.04.

Snapey's avatar

Okay, will do, but I was hoping to stir the pot about 20.04.

Why? I run two servers on 20.04 one with local database and one with remote

I didn't have to make any special allowances compared to my 18.04 servers

cookie_good's avatar

The main problem I had with it is that TLS 1 is deprecated on 20.04. That meant that I had to upgrade my remote data version. Did take some code maintenance to handle the upgrade, but AWS was not as apocalyptic as I had feared.

I'm haven't upgraded to PHP8 and I expect breaking changes.

trin's avatar

i use 20.10 at home as home system for every day, besides bigsur on macbook. and have many production servers with 20.04 or 20.10. all works fine

Please or to participate in this conversation.