Re: Can't use MySQL 5.x Client with PHP 5.x
Hi
I tried using the php5, php5-mysql and libapache2-mod-php5 packages from
http://debian.sipo.nl/ (and other php5 modules from there too), and at first
glance they appear to work perfectly.
Thanks!
I just used backports for php5 and mysql5, now I actually have mysql5 from
backports and php5 from sipo.nl.
A night of compilations, dependencies etc has been averted! :)
//zeraien
Martijn Grendelman-2 wrote:
>
> Hi Andy,
>
>> First of all thanks a lot for your help! :)
>>
>>> You need to build PHP yourself and link it against
>> libmysqlclient.so.15.
>>> This will happen if you install
>> libmysqlclient15-dev >= 5.0 and then
>>> dpkg-buildpackage the
>> PHP5 source package.
>>
>> Is there no way to use the great
>> realease of php5 of backports.org? PHP 5 works very nice now and if there
>> is any other way I would let it be to compiling around. What I need is
>> the
>> same version of PHP 5 like backports.org's but with MySQL 5 support. So
>> it
>> would be easier to keep it up to date without compiling it every time
>> again.
>
> No, I just noticed, the version on Bpo is linked against
> libmysqlclient12, because that is 'the way to go' on a Sarge system. If
> you want to link against a newer library, you have to build it yourself.
>
>> mysqli:
>> I've installed php5-mysql (5.2.0-8~bpo.2)
>> but I really can't found the file mysqli.so on the whole system (even not
>> in /usr/lib/php5/20060613/). I've reinstalled php5-mysql to be really
>> sure
>> with "apt-get --reinstall install php5-mysql" but that didn't
>> helps :( What's my fault?
>
> Not your fault. I just figured it out. The mysqli-extension was removed
> from the Bpo build, for the exact same reason: you need a newer library
> version to build mysqli, it won't build against libmysqlclient12. I'm
> sorry, I was wrong before.
>
> If you need mysqli and don't want to build anything yourself, you may
> want to check out DotDeb (http://www.dotdeb.org/) or use my PHP5
> packages from http://debian.sipo.nl/ (no garantees!).
>
> Best regards,
>
> Martijn Grendelman
>
>
>
>
--
View this message in context: http://www.nabble.com/Can%27t-use-MySQL-5.x-Client-with-PHP-5.x-tf3155330.html#a8979199
Sent from the Debian Backports mailing list archive at Nabble.com.
Reply to: