-
☆ A M B ☆
- 24,524 Posts
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.
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!
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.
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.
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!