Post by alber99 » Sun Jun 02, 2024 8:37 am

OC version 2.0.3.1. with default theme (minor customizations) and several extensions. My VPS Hosting provider has informed me the old Linux OS version and Cpanel version on my existing server is reaching end-of-life. So I need to migrate to AlmaLinux 8 server. The lowest version of PHP that can be run on this new server would be PHP 7.4 and MySQL 8.

I prefer NOT to upgrade my Opencart. Will OC 2.0.3.1 work with PHP 7.4 and MySQL 8?

New member

Posts

Joined
Sun Apr 08, 2012 9:14 am

Post by ADD Creative » Sun Jun 02, 2024 7:26 pm

It should do with some minor changes to cut down the number of warnings being logged. You may also need to update the encryption library if any extensions use it. Third party extensions would also need to be checked they work without issue.

It's best to test with the new PHP version first before updating a live site and always make backups.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Elevate » Sun Jun 02, 2024 9:15 pm

alber99 wrote:
Sun Jun 02, 2024 8:37 am
OC version 2.0.3.1. with default theme (minor customizations) and several extensions. My VPS Hosting provider has informed me the old Linux OS version and Cpanel version on my existing server is reaching end-of-life. So I need to migrate to AlmaLinux 8 server. The lowest version of PHP that can be run on this new server would be PHP 7.4 and MySQL 8.

I prefer NOT to upgrade my Opencart. Will OC 2.0.3.1 work with PHP 7.4 and MySQL 8?
They are just now informing you? CentOS is EOL (End of Life) in a matter of a week or two. Yes, OC 2.0.3.1 can be modified to work with PHP 7.4 and MySQL 8. However, I would suggest upgrading to this modified version of 2.3.0.2 - same look and feel but it's already designed to work with PHP 7.4 - 8.3 and includes a ton of other great fixes.

https://github.com/condor2/Opencart_23xx

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by alber99 » Tue Jun 04, 2024 1:44 am

Elevate wrote:
Sun Jun 02, 2024 9:15 pm
alber99 wrote:
Sun Jun 02, 2024 8:37 am
OC version 2.0.3.1. with default theme (minor customizations) and several extensions. My VPS Hosting provider has informed me the old Linux OS version and Cpanel version on my existing server is reaching end-of-life. So I need to migrate to AlmaLinux 8 server. The lowest version of PHP that can be run on this new server would be PHP 7.4 and MySQL 8.

I prefer NOT to upgrade my Opencart. Will OC 2.0.3.1 work with PHP 7.4 and MySQL 8?
They are just now informing you? CentOS is EOL (End of Life) in a matter of a week or two. Yes, OC 2.0.3.1 can be modified to work with PHP 7.4 and MySQL 8. However, I would suggest upgrading to this modified version of 2.3.0.2 - same look and feel but it's already designed to work with PHP 7.4 - 8.3 and includes a ton of other great fixes.

https://github.com/condor2/Opencart_23xx
I was trying to avoid an upgrade, but if I'm going to invest the time and effort, maybe I should just upgrade to 3.x? From similar "upgrade" threads it seems like 3.0.3.9 is the latest safe bet?? Please advise... how painful is this likely to be? All thoughts are welcome.

New member

Posts

Joined
Sun Apr 08, 2012 9:14 am

Post by Cue4cheap » Tue Jun 04, 2024 2:20 am

Condor's version is what I upgraded my 2.3.0.2 store to. 2.0.3.1 isn't too different than 2.3.0.2 so I suspect it would be pretty easy. My intension was just to run his version for 2 months until I moved up to a 3.x version but here I am still running it without issues.
In fact I ran into a couple of problems but they are pretty easy to fix so I wouldn't say updating to Condor's version is too difficult. (sorry I can't remember what issues I ran into since they weren't too tough).

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Elevate » Tue Jun 04, 2024 8:52 pm

I would say that the version I linked to earlier is a very solid one for the 2.x series. It would be your easiest upgrade path. Bumping up to the 3.0.3.9 version is ultimately what I would recommend but it does take more work to make that happen. Both of these will perform much better than what you have now and will support newer PHP versions.

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by KevinBlomfield » Fri Jul 19, 2024 6:27 pm

Hi, Do you have a guide to help with the migration to AlmaLinux 8, PHP 7.4 and MySQL 8?https://cube-host.net/vps-linux/
Last edited by KevinBlomfield on Tue Jul 23, 2024 6:22 pm, edited 1 time in total.


Posts

Joined
Fri Jul 19, 2024 6:23 pm

Post by Elevate » Mon Jul 22, 2024 9:23 am

KevinBlomfield wrote:
Fri Jul 19, 2024 6:27 pm
Hi, Do you have a guide to help with the migration to AlmaLinux 8, PHP 7.4 and MySQL 8?
Check with your web hosting provider

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA
Who is online

Users browsing this forum: No registered users and 5 guests