I've been trying to install Drupal 7 on a hosting account I've had for the past 5 years without any problems until now. The company is Ace-host.net

Drupal 7 gives errors about PDO and simply doesn't want to install. The hosting company says PDO and other php extensions are precent but it still does not want to work. Does this mean you can only use D7 on a VPS or higher?

Solution in this comment below.

Comments

Drupal9.9’s picture

Ok I got it working but it was a much harder experience than any previous version of drupal. good luck to new drupalers

madeinjapan’s picture

Druapl 7.0 beta 2 working fine on bluehost.com (share host), but it was very slow. I re-installed Drupal 6.19 and plannning not to re-install Druapl 7.0 for a live website until there is a stable version.

Drupal9.9’s picture

Turn off register_globals and enable PDO's php extentions. (Applies to Shared hosting accounts)

Create a file called php.ini and place it in your main Drupal installed directory. Put the following within and save.

register_globals = off
extension=pdo.so
extension=pdo_mysql.so
extension=pdo_sqlite.so

dcarr’s picture

This worked for me! Thanks. I'm on a shared hosting account and was able to just add the new php.ini in my base directory.

Just wondering if there will be any security issues with using a php.ini at this level? What should the permissions be set to?