connection problem with php and mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
sony
Forum Newbie
Posts: 1
Joined: Wed Feb 11, 2004 12:35 am

connection problem with php and mysql

Post 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?
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post 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!
Post Reply