Hi, I wasn't sure where to post, but here goes...
I've just set up PHP and MySQL on RedHat 7.1 and all is well except... when I use mysql_connect() I get told that it's an unknown function!
What gives?
Much thanks
Nick
recompile php and use --with-mysql
Of course no functions will be available if php was compiled --without-mysql
phpinfo(); will tell you the configure string used to create your copy.
I'm very new to Linux, can you tell me how I can do as you say?
Thanks
The manual details compiling php. Basicly: get the source untar it cd to the new dir. run ./configure --with-mysql --with-apxs + any other options you want run make make install
Thanks Tom, I'll try it.