Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Upgrade to PHP 5

    By default, PHP 5.x has globals OFF by default -- which is an excellent idea. Why turn it ON and reduce security when you don't or shouldn't, need to.

    When using PHP 5.x you cannot put PHP directives in an .htaccess file. Instead, you create a 'php.ini' file and put them in there. Using the PHP 4.x example provided by "mtnguy", when PHP 5.x is being used you enter your directives like so:

    register_globals = On

    Some older scripts/versions do require globals to be on and that will slowly change as newer scripts and/or script versions, update their coding to use tighter code and better security. ZenCart would be one of those scripts that does not require globals to be On.

  2. #12
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Upgrade to PHP 5

    Ok, that all sounds great!

    So would you suggest learning 5 instead of bothering with learning 4? Not just for Zen Cart of course, I have broader plans.

    JP

  3. #13
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Upgrade to PHP 5

    As PHP v5 is a progression of v4 but includes much more and newer coding, I would suggest learning v5.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 12 Jun 2015, 10:11 PM
  2. v151 Upgrade to PHP 5.4
    By jeking in forum General Questions
    Replies: 1
    Last Post: 14 Nov 2014, 12:56 PM
  3. Replies: 9
    Last Post: 1 Sep 2012, 03:13 AM
  4. 1.3.7 upgrade to PHP 5.3 - will it break it for previous PHP ?
    By boxes in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 15 Jun 2010, 05:16 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