Site5 - Built For Designers & Developers MENU

Is PDO Available in Site5 mySQLi ?

[2 Grey Star Level]

I’m trying to install Processwire CMS and it requires PDO (pdo_mysql) for MySQL database.

I’ve run phpinfo() and it appears to be unavailable.

Can we enable PDO for mySQL or mySQLi on my account?

If so, then how?


Answer #1


My own phpinfo() says that the PDO driver for MySQL (pdo_mysql) is available and enabled on both my accounts (hostPro+turbo and Premier).

Answers Answered By: swayinfo [16 Grey Star Level]

Answer #2


According to phpinfo, this is enabled by default on our shared servers:

PDO support enabled
PDO drivers sqlite, mysql

Where are you seeing this say otherwise?

Answers Answered By: jdavey [359 Blue Star Level]

Answer #3

Looks like my .htaccess file was messed up. It had:

SuPHP_ConfigPath /home/ourcount

This was causing the php.ini on /home/ourcount to be loaded instead our server’s default php.ini.

Site5 support helped me by commenting out the SuPHP_ConfigPath line and renamed php.ini as php.ini_old.

Everything is working great now!

Thanks for the forum support. It was very helpful to know that PDO *should* be available – that gave me reason to think that something I did messed it up.

Answers Answered By: SqueezeOJ [2 Grey Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Money Back Guarantees
Click to verify BBB accreditation and to see a BBB report.