|
Posted by amygdala on 05/31/07 00:16
"Michael Fesser" <netizen@gmx.de> schreef in bericht
news:9ijr531kaevrnuf07r4tp2tcm4v421pgpd@4ax.com...
> .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 ...
Yeah, the thing is, I'm a Windows guy (yeah, boooh! ;-). And frankly I don't
wanna be bothered too much with *nix stuff or any other too obscure (for me
at least) system configuring stuff for that matter. I think *nix
environments are great, and if you have the knowledge of *nix the more
praise to you. But I'ld like to consider myself foremost to be a
webdeveloper rather than a system administrator. And of course I understand
that you have to have some degree of knowlegde about an OS when you're
developing web applications that depend on security and such. But I mean,
compiling my own drivers is just not my thing. (Hey, I admit, I'm selective
in my interests ;-) So I found myself trying to find a solution for said
hosting company in newsgroups and the likes (with poor knowlegde of *nix),
when all of a sudden I started thinking: What the hell am I doing? I'm
trying to offer this hosting company solutions, while I just can't imagine
PDO mysql not being supported by default. Or at least easily switched on or
off easily. Hence this kind of rant. :-/
>>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.
Well there you go! Like I said, I know very little of *nix, but I just
couldn't imagine that one couldn't make a clean PDO mysql install.
I have some mental image of what compiling from the sources would embody and
I also found some other 'solutions' like the configure line --with-pdo-mysql
and a bunch of other install options. But then said hosting company didn't
wanna be bothered with it, because they can't seem to make a clean install.
:-/ Luckily I just found a hosting company that *does* have the PDO mysql
driver installed. That saves me a few hours of rewriting code.
Anyway, enough of the ranting and b*tching. I just had to get it out of my
system. And thanks for the input.
> Micha
Navigation:
[Reply to this message]
|