Post by Nunya » Sun Nov 07, 2021 9:30 pm

On the OC website it says PHP v5.4 is required, just now, today. I am just setting up on local (older) machine and at install I got the message "PHP7.3+ Required".
Which is it?
Just now, today, from https://www.opencart.com/index.php?route=cms/download
Quote:
Requirements
These are minimum requirements needed so that OpenCart can be installed and work properly.
Web Server (Apache suggested)
PHP (at least 5.4)
Curl enabled
Database (MySQLi suggested)

I hope the software isn't as flaky as the OC website information. Seems a simple thing to keep current or accurate if you want to instill confidence especially to newcomers.
"Everybody" here was a newbie at one point, asking questions and seeking reliable information and assistance.

It's not that I am out of a lot of time. Create db, d/l and extract to folder (htdocs for me), read a little bit of the install.txt file, Curl is enabled by default, checked, still enabled and then type in localhost/opencart in a browser. Maybe 2 minutes max.
I really wanted to try it out and then get disappointed right from the start. Disappointed that now, I would have to second guess that everything I read here may or may not be accurate.
If the website said PHP7.3+ required, I would have been looking into older versions or moving on (for now) or maybe for good.
I can't even find any info here for last stable release for os xx php xx apache xx mysql xx, nada.

If I'm missing something, please advise.

Anyway, that's my vent. Please update the page as mentioned above.

Thanks

Newbie

Posts

Joined
Sun Nov 07, 2021 7:50 pm

Post by straightlight » Sun Nov 07, 2021 11:18 pm

PHP 7.4+ and below PHP 8 (with the exception of the master branch).

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 OSWorX » Mon Nov 08, 2021 12:38 am

straightlight wrote:
Sun Nov 07, 2021 11:18 pm
PHP 7.4+ and below PHP 8 (with the exception of the master branch).
Not true!
See your self, 7.3.x at least for the current stable release (3.0.3.8 ):
https://github.com/opencart/opencart/bl ... tup.php#L6

When published once, OpenCart 4.x will need php 8.x:
https://github.com/opencart/opencart/bl ... tup.php#L6

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by xxvirusxx » Mon Nov 08, 2021 5:52 pm

Maybe website admin will update in one day....

Attachments

php_oc.png

php_oc.png (51.12 KiB) Viewed 1127 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Mon Nov 08, 2021 7:05 pm

OSWorX wrote:
Mon Nov 08, 2021 12:38 am
straightlight wrote:
Sun Nov 07, 2021 11:18 pm
PHP 7.4+ and below PHP 8 (with the exception of the master branch).
Not true!
See your self, 7.3.x at least for the current stable release (3.0.3.8 ):
https://github.com/opencart/opencart/bl ... tup.php#L6

When published once, OpenCart 4.x will need php 8.x:
https://github.com/opencart/opencart/bl ... tup.php#L6
It could of been a bit clearer here that my last response was not based on a mandatory asset but as a suggestion since PHP does evolve pretty fast on anyhow. However, it would be correct to state that Opencart still acquires the minimum PHP v7.3+ to be installed.

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 EvolveWebHosting » Thu Nov 25, 2021 1:04 pm

I don't know what version is the true minimum now but I hope it's PHP 7.4

https://www.php.net/supported-versions.php

Being very blunt - no one should be using PHP 5.x as of now. PHP 7 is so much faster and of course much more secure.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by straightlight » Fri Nov 26, 2021 7:04 pm

EvolveWebHosting wrote:
Thu Nov 25, 2021 1:04 pm
I don't know what version is the true minimum now but I hope it's PHP 7.4

https://www.php.net/supported-versions.php

Being very blunt - no one should be using PHP 5.x as of now. PHP 7 is so much faster and of course much more secure.
It's heading to PHP 8 on the master branch on anyhow.

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 EvolveWebHosting » Sat Nov 27, 2021 8:03 am

straightlight wrote:
Fri Nov 26, 2021 7:04 pm
EvolveWebHosting wrote:
Thu Nov 25, 2021 1:04 pm
I don't know what version is the true minimum now but I hope it's PHP 7.4

https://www.php.net/supported-versions.php

Being very blunt - no one should be using PHP 5.x as of now. PHP 7 is so much faster and of course much more secure.
It's heading to PHP 8 on the master branch on anyhow.
Yes, PHP 8.1.0 was recently released. I don't know that a lot of software providers are supporting it yet.
Last edited by EvolveWebHosting on Sat Nov 27, 2021 11:35 pm, edited 1 time in total.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by OSWorX » Sat Nov 27, 2021 4:28 pm

Okay, now we have read all your statements!

Current status for OpenCart is:

3.x needs at least php 7.3.x
4.x will need 8.x as minimum

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: Mike Guenther and 38 guests