Forums / Installing on a Linux/Unix Server / New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

Started by cookiemonster on 31 Jul 2020, 7:24 AM · Views: 2,199

Results 1 to 13 of 13
31 Jul 2020, 7:24 AM
#1
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

I have installed five new ZenCarts in the past with no issues. Four of them are still running on PHP 7.3.6 with a Linux server. I went to do a fresh install of Version 1.5.7 on a brand new domain, and I received this error, "Sorry, requires minimum PHP 5.5," but my PHP version is 7.3.6. I'm stuck. Any suggestions?

Thanks.

31 Jul 2020, 10:23 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,753
Plugin Contributions:
56

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

This is just a 3 line check in /index.php. You can remove it, but please first do an

die("PHP VERSION IS " . PHP_VERSION_ID);

and report back.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

1 Aug 2020, 1:12 AM
#3
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

swguy:

please first do an

die("PHP VERSION IS " . PHP_VERSION_ID);

and report back.

Okay, thank you. I will find the code in index.php and remove it. Unfortunately, I'm not sure what you mean by the rest of it. I'd be glad to do it and report back, but I'm not sure how to do so. I tried to look it up but I'm just not sure what exactly to put where. If you could tell me, I'd be happy to test it out. Thanks!

1 Aug 2020, 2:20 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

You have an index.php file in the root of your site. Add the line ```
die("PHP VERSION IS " . PHP_VERSION_ID);


When you enter the URL for your site, it will tell you the current PHP version you are running.  Delete the line when through.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

1 Aug 2020, 5:34 AM
#5
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

It says "PHP VERSION IS 50445." However, my hosting company (GoDaddy) states I have Version 7.3.6. I can see it in my account.

The last ZenCart I installed on that hosting account without issue was Version 1.5.5.

So, can I delete the 3-line PHP check in index.php (which I will have to try to find) or do I need to contact my host?

Thanks for all your help.

1 Aug 2020, 1:12 PM
#6
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

CookieMonster:

It says "PHP VERSION IS 50445." However, my hosting company (GoDaddy) states I have Version 7.3.6. I can see it in my account.

The last ZenCart I installed on that hosting account without issue was Version 1.5.5.

So, can I delete the 3-line PHP check in index.php (which I will have to try to find) or do I need to contact my host?

Thanks for all your help.

i would contact your host.

i would believe that you are running php5 not 7.3.6. the server reporting it is more accurate that what your host might tell you or anything listed in your cpanel.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

1 Aug 2020, 1:29 PM
#7
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

Could you have a directive in your .htaccess file to load the lower php version?

1 Aug 2020, 3:02 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,753
Plugin Contributions:
56

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

If you go to the Version link in your admin, you will see the PHP version Zen Cart (at least the admin) is using - see

https://docs.zen-cart.com/user/admin_pages/tools/server_info/

(It's item (a) in on the diagram.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2020, 12:56 AM
#9
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

swguy:

If you go to the Version link in your admin, you will see the PHP version Zen Cart (at least the admin) is using - see

https://docs.zen-cart.com/user/admin_pages/tools/server_info/

(It's item (a) in on the diagram.)I don't believe he can do that (yet) as he hasn't got it installed :(

2 Aug 2020, 2:19 AM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,753
Plugin Contributions:
56

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

I was thinking he could go to one of the other installations he has on the same server (if I understood his situation from post #1).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2020, 6:33 AM
#11
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

swguy:

I was thinking he could go to one of the other installations he has on the same server (if I understood his situation from post #1).

Yes, I did look at the other installations and two of them state "PHP Version 5.4.45" so my cPanel is not reporting that correctly. I guess I will have to use a little lower version of ZenCart. Bummer! But I guess there is nothing else I can do for now. Thanks for the input, Everyone.

2 Aug 2020, 7:10 AM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,753
Plugin Contributions:
56

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

Wait - did you check what @gilby said about the .htaccess file? What about a php.ini file, which could also be the culprit?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2020, 8:04 AM
#13
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: New Install Says "Sorry, requires minimum PHP 5.5" but version is 7.3.6

swguy:

Wait - did you check what @gilby said about the .htaccess file? What about a php.ini file, which could also be the culprit?

Thanks for the reminder on those. In the meantime, I discovered how to update my PHP version. Evidently cPanel was reporting the wrong version. I went one version up so I qualify for the newest ZenCart. Again, thank you all so much!