We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • That shouldn’t be an issue, just make sure you give the proper server information during installation. I have a number of sites with the mysql server on a different machine. Well, and that the permissions on the remote mysql server allow the user to log in from a different machine...

    That really has nothing to do with your PHP installation having or not having mysql support.
      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
      • 26903
      • 1,336 Posts
      Er think it is, I’ve installed the php-mysql apache module which I hadn’t installed because I wasn’t intending to use a mysql server on this machine, but I need this package to get the ’mysql’ and ’mysqli’ interfaces that MODx uses.

      Restarted apache, installation completed without issue.

      I’ll have to remember this one, do we need a more informative error message here? A simple check would be just to query php for the mysql module before we try any mysql operations, or maybe document this in the installation doc for setting up with a remote database.
        Use MODx, or the cat gets it!
        • 15139
        • 3 Posts
        Thanks everyone. That solved it for me. I had been using the PHP mysqli extension and did not have the the mysql extension enabled. I enabled it in the php config file and restarted Apache and then the install worked without a hitch.
          • 18915
          • 1 Posts
          so what should i do to install this version when i dont have access to the apache/mysql software. Im trying out xmod on a free server. Any advice would be apreciated.
            • 26903
            • 1,336 Posts
            If you have apache and MYSQL installed on your server you should be OK, I can’t see an installation having these and not the mysql/mysqli extensions. I had the prob because I didn’t have a MYSQL server on the box I was installing MODx on so I’d not loaded the mysql php module.
              Use MODx, or the cat gets it!