Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2006
    Posts
    7
    Plugin Contributions
    0

    Default Install of 1.3.0.1 complains about php4 version 4.3.10-16

    Hello,

    I'm running zc_install from 1.3.0.1 on a box running the Debian unix stable release. It reports:
    Warning: Problems Found
    * PHP Version not supported

    catalog-1.3.0.1/zc_install/techsupp.php reports:

    Server Info
    * Webserver: Apache/1.3.33 Ben-SSL/1.55 (Debian GNU/Linux) PHP/4.3.10-16
    * Server Free Disk Space Reported = 0.67 GB
    * MySQL Version Reported =
    * PHP MySQL Support = ON
    * PHP PostGres SQL Support = OFF
    PHP Info
    * PHP version: 4.3.10-16

    I'd prefer not to upgrade the php4 because I'd have to go to version 4.4.2. FWIW the mysql installed is 4.0.24-10sarge1.

    Is it normal for the "MySQL Version" to go unreported?
    How can I complete this install?

    Thanks.

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16


    I'd prefer not to upgrade the php4 because I'd have to go to version 4.4.2.
    This is what I would recommend actually, since PHP v4.3.10 could have some missing routines in order to be fully compatible with the latest versions of mySQL that has been released lately.

  3. #3
    Join Date
    Apr 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    Thanks, but I was hoping to avoid upgrading several packages and I'd prefer not to move on to the latest version 5 of mysql. If I upgrade the php4 to 4.4.2-1 I'd have to also upgrade the apache web server, the curl library, libc6 and others; in total about 20 packages. I'm sure it would all work but it's not my first choice for a publicly available machine :-)

    The message said "consider": "PHP Version = 4.3.10-16 {You should consider upgrading!}".
    Do we know that Zen Cart _won't_ work, or can't be made to work, with 4.3.10? What fails?

    Thanks.

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16


    What fails?
    The compatibility between an older version of PHP and recent releases of mySQL. Which is why, a PHP upgrade would strongly be advised in order have great stability within zencart (especially if you intend to install mySQL v5). Otherwise, you could end up with desastrous results. ;)

  5. #5
    Join Date
    Apr 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    Quote Originally Posted by TheOracle
    The compatibility between an older version of PHP and recent releases of mySQL.
    Thanks for the prompt replies Oracle :-), but since the Zen Cart installation isn't yet recommending mysql v5, and since both php4 v4.3.10-16 and mysql v4.0.24-10 are in Debian stable there are unlikely to be compatibility issues between them. But, naturally, I could be wrong ... and since Zen Cart isn't being maintained in Debian I am doubtless unaware of untold version-compatibility horrors.

    The immediate problem here seems to be that Zen Cart doesn't recognise Debian's numbering scheme: corrections to php4 version 4.3.10 would not be released as version 4.3.11, instead as 4.3.10-1 or, in the case of multiple corrections to php4, 4.3.10-16 :-).

    From a websearch of the old Zen Cart forum I found the fix:

    a.polli
    Posted: May 2 2006, 03:39 PM
    QUOTE (a.polli @ May 2 2006, 02:34 PM)
    I have a similar problem with zencart V1.3.0.1

    Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16

    I have only the 'PHP Version not supported' warning
    and if I click 'Install' I am redirect to the same page and the installation don't proceed.

    in zc_install/includes/modules/pages/inspect/header_php.php
    at the PHP Version Check
    if the version is not correct it raises an error
    then it can't proceed to the system_setup page

    I change

    elseif (phpversion() < "4.3.2" && phpversion() != "4.3.11" && phpversion() != "4.3.10" ) {

    with

    elseif (phpversion() < "4.3.2" && phpversion() != "4.3.11" && phpversion() != "4.3.10" && phpversion() != "4.3.10-16") {

    and now I can install zen cart!

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    Ah ! I understand what you were trying to do now. Glad you found the answer you were looking for.

  7. #7
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    I have Zen Cart v1.3.0.1 running fine on a Fedora box with the following:

    Server OS: Linux 2.6.5-1.358
    Database: MySQL 3.23.58
    PHP Version: 4.3.10 (Zend: 1.3.0)
    HTTP Server: Apache/2.0.51 (Fedora)

    It's a clean install used for sandboxing. Not sure why you have problems with the same PHP version.

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16


    Database: MySQL 3.23.58
    Because you have a lower version of mySQL with a lower version of PHP 4 (almost last year if it isn't a whole year already. ;)).

  9. #9
    Join Date
    Mar 2006
    Location
    Northern California
    Posts
    71
    Plugin Contributions
    0

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    Quote Originally Posted by lib99
    I have Zen Cart v1.3.0.1 running fine on a Fedora box with the following:

    Server OS: Linux 2.6.5-1.358
    Database: MySQL 3.23.58
    PHP Version: 4.3.10 (Zend: 1.3.0)
    HTTP Server: Apache/2.0.51 (Fedora)

    It's a clean install used for sandboxing. Not sure why you have problems with the same PHP version.
    The reason is that Debian provides security updates, thus the 4.3.10-16. Zen Cart tests for an exact string match to 4.3.10, so the added "-16" doesn't exactly match "4.3.10".

    I fixed the problem by editing catalog/zc_install/includes/modules/pages/inspect/header_php ... about line 222, from:

    } elseif (phpversion() < "4.3.2" && phpversion() != "4.3.11" && phpversion() != "4.3.10") {

    to:

    } elseif (phpversion() < "4.3.2" && phpversion() != "4.3.11" && phpversion() != "4.3.10") && phpversion() != "4.3.10-16") {
    I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction.
    Ayn Rand

  10. #10
    Join Date
    May 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Install of 1.3.0.1 complains about php4 version 4.3.10-16

    I believe this is where the problem lies, but am not sure what to change if anything so that I don't get the "You need to enable PHP Session support on your webserver. You might try installing this module: php4-session" error.

    //PHP Version Check
    if (phpversion()=="4.1.2") {
    $php_ver = "<span class='errors'>".phpversion().' {'. SHOULD_UPGRADE . '}</span>';
    $zc_install->error = true;
    $err_text = ERROR_TEXT_4_1_2;
    $err_code = ERROR_CODE_4_1_2;
    $this_class = 'WARN';
    } elseif (phpversion() < "4.1.2") {
    $php_ver = "<span class='errors'>".phpversion().' {'. MUST_UPGRADE . '}</span>';
    $zc_install->error = true;
    $zc_install->fatal_error = true;
    $err_text = ERROR_TEXT_PHP_VERSION;
    $err_code = ERROR_CODE_PHP_VERSION;
    $this_class = 'FAIL';
    } else {
    $php_ver = phpversion();
    $this_class = 'OK';
    }

    Any suggestions on this one?
    Thanks

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. New install which version should I install?
    By Marlake in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 26 Jul 2011, 03:54 AM
  2. Hi,can i use lightinbox temple install into liunx hosting?(godaddy hosting php4)
    By gueston in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Sep 2009, 04:59 PM
  3. Quick question about version
    By Meshach in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 21 Jul 2009, 06:12 PM
  4. mySQL upgrade - question about version
    By jeffmic in forum General Questions
    Replies: 1
    Last Post: 11 Aug 2007, 12:27 AM
  5. Linkpoint Pay Module in Test mode complains about expiration date
    By robotix in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Jun 2007, 08:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR