Hassan Schroeder wrote:
Mark Sargent wrote:
I'm figuring you wanted to know if php was working, yes..?
No, I wanted to know if your PHP was compiled with MySQL support.
It doesn't have to be, and in your case seems it probably *isn't*.
But we still don't know :-)
Hi All,
guys, I'm using Fedora3(sorry for not saying that earlier). I had
problems with the rpm install of MySQL, so, went with installing the tar
file. I installed php via yum, though. I did a
rpm -q php-mysql
which showed it not installed. I then did a yum install php-mysql which
showed the following,
[EMAIL PROTECTED] ~]# yum install php-mysql
Setting up Install Process
Setting up Repo: dag
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
dag : ################################################## 1932/1932
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 298 kB 00:09
MD Read : ################################################## 706/706
updates-re: ################################################## 706/706
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-4.3.10-3.2.i386 100% |=========================| 15 kB 00:01
---> Package php-mysql.i386 0:4.3.10-3.2 set to be installed
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.10 for package: php-mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mysql.i386 0:3.23.58-14 set to be installed
--> Running transaction check
--> Processing Dependency: perl-DBD-MySQL for package: mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-DBD-MySQL to pack into transaction set.
perl-DBD-MySQL-2.9003-5.i 100% |=========================| 5.3 kB 00:00
---> Package perl-DBD-MySQL.i386 0:2.9003-5 set to be installed
--> Running transaction check
Dependencies Resolved
Transaction Listing:
Install: php-mysql.i386 0:4.3.10-3.2
Performing the following to resolve dependencies:
Install: mysql.i386 0:3.23.58-14
Install: perl-DBD-MySQL.i386 0:2.9003-5
Is this ok [y/N]: y
Downloading Packages:
php-mysql-4.3.10-3.2.i386 100% |=========================| 32 kB 00:01
perl-DBD-MySQL-2.9003-5.i 100% |=========================| 111 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mysql 100 % done 1/3
Installing: php-mysql 100 % done 2/3
Installing: perl-DBD-MySQL 100 % done 3/3
Installed: php-mysql.i386 0:4.3.10-3.2
Dependency Installed: mysql.i386 0:3.23.58-14 perl-DBD-MySQL.i386 0:2.9003-5
Complete!
It looks to have re-installed mysql again. Does this mean I now have the
mysql database installed 2 times..? Seems like it, yes..? Now, 2 things
I need to ask, 1. How do I determine whether I need to configure php to
work with mysql and 2. how do I actually configure if needed.? Cheers.
P.S. After the yum install and an updatedb I did a search for php-mysql
via which wheris and locate, below is the results.
[EMAIL PROTECTED] ~]# updatedb
[EMAIL PROTECTED] ~]# which php-mysql
/usr/bin/which: no php-mysql in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[EMAIL PROTECTED] ~]# whereis php-mysql
php-mysql:
[EMAIL PROTECTED] ~]# locate php-mysql
/var/cache/yum/updates-released/packages/php-mysql-4.3.10-3.2.i386.rpm
/var/cache/yum/updates-released/headers/php-mysql-4.3.10-3.2.i386.hdr
Hope I've given enuff info this time. Cheers, again. (Oh, btw, I'm not a
php programmer etc, I'm just doing this so I can say to a future
employer, yes, I can install/setup/config php/mysql etc if you need it).
Mark Sargent.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]