Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    The ZC 155 installer reports PHP 5.5 or newer is required for PCI compliancy.

    The server which I have ZC 1.54 running on has PHP 5.4.26 enabled. When I change to PHP 5.5 (within cpanel), ZC 1.54 no longer works (shows blank admin pages). Switching back to PHP 5.4.26, ZC 1.54 works correctly again.

    I wish to test ZC 1.55 on PHP 5.5, while ZC 1.54 is still operating for the general public.

    Is there something special I need to do to allow ZC 1.54 to run on PHP 5.5 ?

    And specific PHP 5.5 libraries I need to enable within cpanel?

    Unfortunately phpinfo() is disabled on the server so I'm unable to access the list of PHP libraries currently enabled under PHP 5.4.26.

    Thanks,
    Woody

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    Is there an available list of which PHP 5.4 libs and PHP 5.5 libs are used by either ZC 1.54 or 1.55?

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,696
    Plugin Contributions
    9

    Default Re: PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    according to:
    https://www.zen-cart.com/content.php...o-run-zen-cart

    you should be fine.

    are you getting any log errors when you get the blank login page? and is the only thing you are doing just changing php in the cpanel?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    Quote Originally Posted by carlwhat View Post
    according to:
    https://www.zen-cart.com/content.php...o-run-zen-cart

    you should be fine.

    are you getting any log errors when you get the blank login page? and is the only thing you are doing just changing php in the cpanel?
    Thanks.

    I just tested switching to PHP 5.5 (from PHP 5.4 native) and then attempted to access the ZC 1.55 admin (unsucessfully).

    Error that shows up in zC log is:
    Code:
    PHP Fatal error:  Call to undefined function json_encode() in /home/myacct/public_html/mystore/myadmin/includes/classes/class.admin.zcObserverLogEventListener.php on line 81
    is it likely a PHP 5.5 library required by Zen Cart is not enabled on my server?

    In my cpanel, PHP native mode enables ALL available PHP 5.4 libraries on the server. But there is not PHP 5.5 native mode so I must decide which of the many PHP 5.5 libraries to enable.

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    UPDATE: In cpanel,I checked the 'json' PHP library for PHP 5.5, and that appears to have solved my issue.

    Thanks for the recommend to check my logs. Dunno why I didn't do that first. Duh! ;-)

    I notice 'json' is not listed as a required PHP module on the "Zen Cart specifications - Server Requirements" page.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,696
    Plugin Contributions
    9

    Default Re: PHP 5.4 vs 5.5 support (ZC 1.55 vs 1.54)

    glad you get it solved!

    according to PHP, json is enabled by default starting with php 5.2. see:

    http://www.php.net/manual/en/json.installation.php

    so why you needed to add it explicitly is more an issue with your host than with the ZC server requirements page, IMHO.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. PHP 5.3 Support on 1.3.7
    By DogTags in forum General Questions
    Replies: 3
    Last Post: 4 Aug 2010, 03:53 PM
  2. PHP 5.3 Support for v1.3.8/a
    By DrByte in forum Zen Cart Release Announcements
    Replies: 2
    Last Post: 9 Nov 2009, 08:38 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