Zen Cart Logo
Forums / Installing on a Windows Server / Switching php version in WAMP5 causes install to run

Switching php version in WAMP5 causes install to run

Locked

Views: 4,565

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Jul 2007, 15:17
#1
greggshort avatar

greggshort

New Zenner

Join Date:
Apr 2007
Posts:
21
Plugin Contributions:
0

Switching php version in WAMP5 causes install to run

I'm running WAMP5 (http://www.wampserver.com) as my testing server and installed and have been running Zen-Cart under PHP5.2.1. WAMP5 let's me quick switch to PHP 4.4.4, but Zen-Cart then kicks off the install routine (I've still got the install directory in place on the testing server) The install check page comes back all green.

Is there a simple switch in a config file kicking this install routine off? I'd rather not reinstall Zen-Cart for the different version if possible... I don't see anything in the configure.php file...

Does Zen-Cart install differently under PHP5 than PHP4?

Thanks,

Gregg Short

10 Jul 2007, 20:01
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Switching php version in WAMP5 causes install to run

Zen Cart installs the same regardless of PHP version. And, for the most part, doesn't matter if it runs on PHP 4 or 5.

Your problem stems from something else that your PHP configuration is changing.

The zc_install process is triggered if the /includes/configure.php file cannot be found or if it contains only default information.
Thus, if your PHP change also makes some sort of path change in your WAMP settings, you'll run into those kind of problems.

27 Jul 2007, 05:06
#3
greggshort avatar

greggshort

New Zenner

Join Date:
Apr 2007
Posts:
21
Plugin Contributions:
0

Re: Switching php version in WAMP5 causes install to run

Found the problem. Switching to PHP4 in WAMPSERVER causes you to lose connections to your database due to the new password hashing in MYSQL. Follow the steps in this document http://dev.mysql.com/doc/refman/5.0/en/old-client.html
to create old style passwords. (At least make sure you change the username/password that ZenCart uses. These "old" passwords will work in PHP4 OR PHP5 and ZenCart will not care.