We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4853
    • 4 Posts
    Hi, will MODx v 0.9.6.3 run OK with server running PHP 5.2?

    My site is currently working with PHP 5.0, but I need to move to a new server cluster, which is running PHP 5.2.


    I know the MODx version should be updated at some stage, but I need to know NOW if if move the site to the cluster, will it work ok?

    Thanks for any advice.

      • 4310
      • 2,310 Posts
      My 0.9.6.* installs run fine on PHP 5.2.6
        • 4853
        • 4 Posts
        Hi,

        thanks for the quick reply! That’s good to know laugh

        Happy Friday smiley
        • The only problem that might result from using a server cluster is how it’s configured to handle the directory where PHP stores its session files by default. If it’s not configured to be a common directory on one server, what can happen is that the visitor will log in, with the request being assigned to server A. PHP stores the session file on the /tmp directory on server A. The visitor’s next page request is assigned to server B, which does not have the session file, so the visitor is no longer logged in.

          Hopefully the cluster is configured with one common directory on one of the servers, say server C, so that no matter if the visitor’s request is assigned to server A or server X, PHP can go to that common location on server C to get the session files.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org