Do the mysql_*() functions work anyway? I don't have a mysql.so file on
my system, but PHP-MySQL works anyway. I suspect that the mysql
extension may have been changed between PHP 4 and PHP 5 so that it no
longer needs mysql.so (I have the same versions of Apache, PHP, and
MySQL as you do.)
Rick Seiden wrote:
I'm sure this has been asked and answered, but I'll be darned if I can find
it.
Here's my situation.
Fedora Core 3. Linux novice. Not newbie, but not expert, either.
Apache version from phpinfo() shows Apache/2.0.54 (Unix) PHP/5.0.4
Configure Command from phpinfo() shows './configure'
'--with-apxs2=/urs/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql'
When I log into mysql in a terminal window, it shows that it is version
4.1.12-standard
I installed Apache from source (I don't like the install that comes with
Fedora), and php from source. I installed the binary version of mysql
(http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-standard-4.1.12-pc-linux
-gnu-i686.tar.gz/from/pick), as well as the Dynamic client libraries RPM
(http://dev.mysql.com/get/Downloads/MySQL-4.1/MySQL-shared-4.1.12-1.i386.rpm
/from/pick).
No matter what combination of configure commands I use (I've done
just --with-apxs2, just --with-mysql, both of them, make clean and then do
it all over again, and so on....), I can't seem to get php to generate
mysql.so. I know it came with 4.x, but it doesn't with 5.x I've done find
/ -name mysql.so, and it's just not there.
Can someone please show me the errors of my ways, provide a manual that I
didn't read, tell me it's a bug, and not my fault, or anything to keep me
from ripping my hair out and going back to my windows installation of
PHP/MYSQL/APACHE (which, btw, took me less than an hour to get running---why
does Linux take soooo much longer to get working!!!!)
Thank you a ton!
.