You are here: Re: PDO support (bit of a rant) « PHP Programming Language « IT news, forums, messages
Re: PDO support (bit of a rant)

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация