If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / 2.0.1 zc_install Error

2.0.1 zc_install Error

Started by jodean on 5 Jul 2024, 3:39 PM · Views: 796

Results 1 to 7 of 7
5 Jul 2024, 3:39 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #1 by jodean

When I try to run 2.0.1 zc_install I get a conflicting error message.

zc_install "Sorry, requires minimum PHP 8.0.2"

and Siteground shows that the directory is set up with PHP 8.3.8

I used a sub directory to set the new app up. Should the install run on a sub directory?

5 Jul 2024, 5:19 PM
#2
swguy avatar

swguy

Administrator

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

Post #2 by swguy

Yes it should.

Create a file called info.php with these contents:

<?php phpinfo(); and run it on your server to double check what siteground is saying.

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.

5 Jul 2024, 6:00 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #3 by jodean

After chatting with siteground and adding the line "AddHandler application/x-httpd-php83 .php .php5 .php4 .php3" to .htaccess zc_Install will run.

5 Jul 2024, 6:38 PM
#4
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #4 by jodean

siteground had me add "AddHandler application/x-httpd-php83 .php .php5 .php4 .php3" in the .htaccess file in the zc_install and that allowed the zc_install to run but know https://devel.tennesseetraditionalflies.com/shop_new/ and https://devel.tennesseetraditionalflies.com/shop_new/admin dont see that 8.3.8 the correct PHP version is running. Got any ideas?

5 Jul 2024, 7:19 PM
#5
carlwhat avatar

carlwhat

zennedOut

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

Post #5 by carlwhat

you need to add that line to:

YOUR_SHOP_ROOT/.htaccess

not:

YOUR_SHOP_ROOT/zc_install/.htaccess

in addition, while not an apache guru by any stretch, i think it is safe to have the line say:

AddHandler application/x-httpd-php83 .php

zc does not make use of any files with extensions .php5 .php4 or .php3

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

5 Jul 2024, 7:30 PM
#6
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #6 by jodean

Tried it at the public_html and still did not work. Any other ideas?

5 Jul 2024, 9:26 PM
#7
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #7 by jodean

I was finally able to get someone from Siteground who determined that it was a corrupt .htaccess file and they fixed the problem. Now moving forward with the upgrade.