View Full Version : php-mysql and mysql-4.0.x
boblgum
2004-05-21, 06:15 PM CDT
hi
do i need to install php-mysql? i'm asking because yum say's that i have to install
[deps: mysql 3.23.58-4.i386]
what does it mean
'--with-mysql=shared,/usr'
?
thnx
ilja
2004-05-22, 01:24 AM CDT
If you want to use your mysql with PHP.(I think on the internet it is the most usual way to use MySQL) then yes. And the '--with-mysql=shared,/usr' line is a configuration command of PHP.
boblgum
2004-05-22, 01:56 AM CDT
thnx for answer
but if i do
yum install php-mysql
yum wanna install mysql 3.23 too
ilja
2004-05-22, 02:06 AM CDT
Yes sure, because php-mysql is only a interface for mysql :
The php-mysql package contains a dynamic shared object that will add
MySQL database support to PHP. MySQL is an object-relational database
management system. PHP is an HTML-embeddable scripting language. If
you need MySQL support for PHP applications, you will need to install
this package and the php or mod_php package.
But you have to install mysql to use it. MySQL is the main package and php-mysql is only a tool to let PHP work with MySQL
boblgum
2004-05-22, 02:16 AM CDT
i understand, but i wanna have mysql 4.0.x
why should i install 3.x, if i already have 4.0?
ilja
2004-05-22, 02:27 AM CDT
It seems, that there are no mysql 4.0 packets on the repositories avalaible. But there are RPM files on the MySQL Page (http://dev.mysql.com/downloads/mysql/4.0.html) But all the other tools will maybe not work with it. If you need 4.0 then install it skipping yum.
boblgum
2004-05-22, 02:36 AM CDT
i have mysql 4.0.x from www.mysql.com already installed
now i wanna install php-mysql using yum. but it seems, that this library works with 3.0.x only :( is there a php-msql for 4.0.x?
ilja
2004-05-22, 02:46 AM CDT
http://rpmfind.net/linux/rpm2html/search.php?query=php-mysql it is interesting, that it doesn't show for which MySQLversion it is, but only for which PHP version it is.
Maybe this one : http://rpmfind.rediris.es/rpm2html/immunix-7.0-contrib/php-mysql-4.0.6-1_imnx.i386.html
boblgum
2004-05-22, 12:21 PM CDT
[SOLVED]
i had to install
MySQL-shared-compat-4.0.18-0.i386.rpm
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.