Debian 12 is fairly new, very good but I don't think that Linode has images with it, you will have to install Debian 11 and change distribution by upgrading to 12, it's easy and you will get PHP 8.2 (recommended by Zen Cart) in a stable distribution, so you will not need to install other repos.
Thanks for tip on the 11 to 12. I may do this over the Summer appreciate the insights from you both.
i am rarely a fan of in place upgrades on O/S; especially for public facing servers. i like starting with a fresh install...
and in looks like linode does have a debian 12 image available for deployment. see:
https://api.linode.com/v4/images
best.
You are absolutely right, I ran into trouble when editing sources.list in Linode, will check tomorrow with them abut the Debain 12 image, WARNING do not attempt this on a live server, you will break your websites, I am subscribed to Linode backup service so can recover.
It worked on my local test server, but not on Linode, in local I upgraded from Debian mirrors, in Linode I had to use Linode mirrors
Last edited by ckosloff; 19 Jun 2023 at 02:36 AM.
Just an update, don't worry be happy, I broke my live site by not following my own directives, but I now fixed it by following my directives.
The update from PHP 7.4 to 8.2 is not automatic, read my previous post, if you did not have php-fpm installed previously you have to install it then launch the commands in page 1, I got them from apt while performing the upgrade in my local system, same thing works on linode, sorry for demeaning the linode mirror.
Remember: a2enconf php8.2-fpm
systemctl reload apache2
Lastly make sure with apache2ctl -t (configtest), you should get Syntax OK. No need to type configtest, -t is shorthand.
Finally, it is best to get the Debian 12 image and start fresh!!
Less trouble, but I already had a site in there
Bookmarks