[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: php + mysql integration failed!!
- From: Didier Casse <didierbe sps nus edu sg>
- To: Fabio <kleistermann yahoo de>
- Cc: redhat-list redhat com
- Subject: Re: php + mysql integration failed!!
- Date: Sat May 31 16:40:01 2003
download apt from http://apt.freshrpms.net and install it.
remove the old mysql
rpm -e --nodeps mysql
rpm -e --nodeps php
rpm -e --nodeps php-mysql
and so on.... remove whatever you want!:-)
and then install the new ones by running
apt-get update
apt-get install mysql
apt-get install php
apt-get install php-mysql
and so on. Apt satisfies dependencies. You don't have to worry about them.
you might want to change your sources.list to point to redhat 9 packages
(which is far more updated) in /etc/apt/sources.list
i.e.
rpm http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms
rpm-src http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms
Cheers,
Didier.
---
PhD student
Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603
Email: slsbdfc nus edu sg or didierbe sps nus edu sg
Website: http://ssls.nus.edu.sg
On Sat, 31 May 2003, Fabio wrote:
> Hello guys,
>
> I have a RH 7.3 with apache 1.3.27, php 4.1.2-7 and mysql 3.23. Someone is
> suposed to know that RH when installed in standard mode doesn't install a
> necessary package to allow php working with mysql.
> This package is: php-mysql-4.1.2-7.i386.rpm
>
> When I try to use some function on php to access mysql, I have an error
> message:
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/mysqltest.php on line 3
>
> So, I've been trying to install this package but unsucessfullly because
> there is another error message during the instalation.
>
> error: failed dependencies:
> libmysqlclient.so.10 is needed by php-mysql-4.1.2-7
>
> So I found a package (mysql-devel-3.23.49-3.i386.rpm) that contains this
> library, and I installed it. But the dependencies didn't disappear.
>
> The problem folows!
>
> I installed the mysqlclient9-3.23.22-6.i386.rpm package too, but
> unsucessfully again.
>
> In the mysql's lib directory I've found this library, but with a similar
> name.
>
> lrwxrwxrwx 1 root root 24 May 21 13:37 mysqlclient.so ->
> libmysqlclient.so.10.0.0
>
> So, I tried to create a link with ln, but it didn't work again!
>
> Please help me, if you can!
>
> ps. I apologize about my poor english. I'm a Brazilian guy.
>
> Thaks a lot!
>
> Fábio Leite
>
>
--
Didier
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]