[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: php


deepak yadav typed:
> hi is there a separate module for php support for mysql. i have
> installed php rpm which comes with Redhat 6.2 (PCQ) i am not able to
> connect to mysql server. the error is reported in following line.
> $db = mysql_connect("localhost","admin");

You'll either have to compile PHP from source with mysql support, or
you can download an rpm - php-mysql-xxxxxx.rpm, search on rpmfind
(type in rpmfind php-mysql), and install it. Then look in
/etc/httpd/php3.ini and uncomment lines related to Mysql (I forgot
exactly what the lines were).

Mrinal Kalakrishnan <mrinal@xxxxxxxxx> http://mrinal.dhs.org/
Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.4i (2000-06-19) || VIM 5.6 
"Linux: the operating system with a CLUE...
Command Line User Environment".
(seen in a posting in comp.software.testing)