|
Posted by Michael Fesser on 05/30/07 19:26
..oO(amygdala)
>I've build this little CMS in PHP for a client. It depends on PDO with mysql
>driver.
>
>Now, a few webhosts I've polled have PDO support, but only sqlite and
>sqlite2 drivers are installed by default. Installing PDO mysql drivers has
>proven quite a hastle, and the main webhost I was depending on reported that
>quite a few install options made it's configuration crash.
A while ago I had a similar situation with my host. PDO was there, but
the MySQL driver was missing. They told me I could log into my account
and compile the driver myself, but it didn't work because of some
missing library files. After some more complaints about that they
finally installed the driver on all of their servers ...
>Can anybody tell, how come a PDO mysql driver is not installed by default on
>*nix PHP environments?! I would assume this is one of the most asked for PDO
>drivers. But more importantly, has anybody managed to succeed in installing
>this driver on *nix based systems and have it run stable?
Yep, it works here without any problem on a Debian box. I always compile
my PHP from the sources. All it requires to compile the driver are some
header files for the MySQL client library, which are easily installed
using Debian's packet manager. Never had a problem with that, so
actually I don't know why some hosts refuse to install it.
Micha
Navigation:
[Reply to this message]
|