Hi,
my host has PDO installed but without the PDO_MYSQL driver. In the moment they
can't install the driver, and I can't change the provider.
When installing modx I get the following error:
"MODX requires the pdo_mysql driver when native PDO is being used and it does not appear to be loaded."
It sounds as it would be possible to install/run modx without PDO at all.
Is there a way I can switch of PDO?
Many thanks,
Boris
-
☆ A M B ☆
- 24,524 Posts
No, the PDO_MySQL drivers are required. Unless, of course, you have access to MS-SQL.
There is a version that works with sqlite; there is no easy installation that I am aware of however.
https://forums.modx.com/thread/78733/revo-now-runs-on-sqlite
I seem to recall that there used to be a way of installing with included pdo libraries to bypass native PDO, but I'm not sure if it can be used on a server that does include PDO.
Why can't the pdo_mysql drivers be installed? It's a very simple process - even I have done it on a Solaris VPN as well as a few Linux-based VPNs and dedicated servers (including one on Rackspace); any provider that can't deal with that is definitely lacking.
-
☆ A M B ☆
- 2,213 Posts
Sottwell is correct, you need PDO_MySQL.
The only reason PDO_MySQL shouldn't be installed is if it's a new server and the host missed it. It really should be installed, and if they aren't willing to do that then what other standard items are they leaving out?
It may be easier to try a MODX friendly host? One suggestion:
https://forums.modx.com/thread/80440/2012-toast-the-host-free-skytoaster-modx-hosting#dis-post-443210
-
☆ A M B ☆
- 24,524 Posts
Since the majority of dynamic websites use php/MySQL, it's a puzzle how any half-way competent hosting provider could fail to have the pdo_mysql drivers installed. PDO without the mysql drivers is useless. What is your hosting provider? I'd like to make sure that I (and my clients) avoid it in the future.
Well, you can add: liquid web managed centos servers to a hosting provider to avoid if you want your stuff to work easily, running that steaming pile of @#@#@ cpanel/webhosting manager. Here goes another wasted hour trying to figure out why things that should be working aren't, only to discover that once again, it's cpanel at fault.
-
☆ A M B ☆
- 2,213 Posts
Quote from: lizardx at Feb 22, 2013, 08:00 PMWell, you can add: liquid web managed centos servers to a hosting provider to avoid if you want your stuff to work easily, running that steaming pile of @#@#@ cpanel/webhosting manager. Here goes another wasted hour trying to figure out why things that should be working aren't, only to discover that once again, it's cpanel at fault.
If you are using the default easy apache build then you would have problems with cPanel. I can safely say that CentOS + cPanel works just fine with MODX if configured properly.