Page 1 of 1

connection problem with php and mysql

Posted: Wed Feb 11, 2004 12:35 am
by sony
ive acquired a box with red hat 9, with php and apache pre-installed but no
Mysql. so i downloaded the mysql rpm and installed. i notice that the
php that was compiled had the configure command:
'--with-mysql=shared,/usr'

i don't know what this means, the mysql isnt working with
php, i am getting undefined function when i try to do mysql stuff. mysql is
definately installed on the box, ive used the admin tool to create
databases. so how can i link mysql to php?

Posted: Wed Feb 11, 2004 8:43 am
by Illusionist
If i remember correctly you have to add something to the php.ini file. Not quite sure what, but i think thats what! lol sorry i couldn't be of much more help!