I just got through this exercise. My TurboLinux system had PHP, PHP-MySQL,
MySQL all installed from RPMs at the initial installation. But PHP could not
connect to the working MySQL. I went back to the source RPM on CD2 and
unloaded those files and went through a CONFIGURE/MAKE/MAKE INSTALL process.
I had problems with the default configuration wanting to do something with
GD and graphics files. At this point my application requirements do not
include any program generated graphics so I specified a rather long
configure command that I originally found in a posting to this list entitled
unixODBC/PhP/Linux....

The CONFIGURE/MAKE/MAKE INSTALL process takes a significant amount of cpu
time on my MP3000/H50 so the next round will have to be done off hours. But
I now have a PHP that is properly configured to use MySQL. If you want I can
send you the CONFIGURE command that I saved in a shell script so I could
edit it rather than retype the WHOLE command.

Call me if you want to discuss this more.

/Thomas Kern
/(301)903-2211

-----Original Message-----
From: Aria Bamdad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 18:48
To: [EMAIL PROTECTED]
Subject: mysql and php


Hi

I downloaded the PHP3 RPM for ThinkBlue (31 bit) and installed it wihout
any issues.  I also installed mysql and it is functioning fine.  However
when I run a PHP file that has a call to mysql, something like a call
to mysql_connect(...), I get  a fatal error:

Fatal error:  call to unsupported function mysql_connect() in ...

Does this RPM have the mysql support in it?  Does anyone know where I
can get an RPM that has been built with mysql support?

I have made the necessary changes to the PHP3.INI file already and PHP
is working fine otherwise.

Thanks in advance.

Reply via email to