Post by ggrant3 » Wed May 08, 2024 8:24 pm

So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.

New member

Posts

Joined
Fri May 02, 2014 10:52 pm

Post by straightlight » Wed May 08, 2024 8:56 pm

ggrant3 wrote:
Wed May 08, 2024 8:24 pm
So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.
Check the PHP version you are using on your server. You might still be under.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ggrant3 » Wed May 08, 2024 10:23 pm

straightlight wrote:
Wed May 08, 2024 8:56 pm
ggrant3 wrote:
Wed May 08, 2024 8:24 pm
So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.
Check the PHP version you are using on your server. You might still be under.
Currently the existing 2.3.0.2 sites are running on 5.6 and the hosting company has a max option of 8.3 right now.

New member

Posts

Joined
Fri May 02, 2014 10:52 pm

Post by straightlight » Wed May 08, 2024 11:06 pm

ggrant3 wrote:
Wed May 08, 2024 10:23 pm
straightlight wrote:
Wed May 08, 2024 8:56 pm
ggrant3 wrote:
Wed May 08, 2024 8:24 pm
So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.
Check the PHP version you are using on your server. You might still be under.
Currently the existing 2.3.0.2 sites are running on 5.6 and the hosting company has a max option of 8.3 right now.
Upgrading your PHP version where your OC v3.0.3.9 store is hosted might resolve the issue. You can also try the opencart-3 version that specifically supports PHP 8.3 and see if you are able to upgrade as well: https://www.github.com/opencart/opencart-3 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Elevate » Wed May 08, 2024 11:39 pm

The key is when you create an add on domain, set the directory to /home/cpanel-username/new-domain (that last directory would be your domain). You don't want to use the same /home/cpanel-username/public_html folder for all add ons. When you do this, you can set a different PHP version for each of these domains, if needed.
ggrant3 wrote:
Wed May 08, 2024 8:24 pm
So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.

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 ADD Creative » Thu May 09, 2024 6:16 pm

ggrant3 wrote:
Wed May 08, 2024 8:24 pm
So I have a hosting plan that allows the use of "Addon Domains" so I only use one hosting plan, for multiple websites/OC shops.

So I have 3 shops running v2.3.0.2 and I'm installing a new OC shop (v3.0.3.9). I went to the new url to start the install process for the new v3.0.3.9 and it says "PHP7.3+ Required"

So that made me wonder, since these are all on the same Hosting plan, what is the highest PHP level I can go to in which my existing shops (v2.3.0.2) can still work fine? Or are PHP upgrades backwards compatible in a sense that PHP 8+ can still run older shops (designed with older versions of PHP in mind at that time) without an issue?

I figured I'd check here instead of trying something and breaking the existing shops.
OpenCart 2.3.0.2 should just about work on PHP 7.3. You may need to update system/library/encryption.php if any extension you are using use it. Also make sure you have display errors off in all 3 places.

Any third party extension you are using will be a different matter. You are probably best trying to test compatibility first.

www.add-creative.co.uk


Guru Member

Posts

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

Post by JNeuhoff » Thu May 09, 2024 7:52 pm

For OC 3.0.3.9 or 3.0.4.0 I'd recommend PHP 7.4 or 8.x .

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 2 guests