I had a similar problem with php4.3.0 and mysql 3.23.55. To fix, I had to copy libmysq.so to the extension_dir path that's in php.ini. If it's commented it out, uncomment it. In my case, I had to include the full path to libmysql.so. After doing that, restart apache and check phpinfo() again. Hope that helps. --- Cisco Serret <[EMAIL PROTECTED]> wrote: > I'm running RedHat 8, and I can't get php to connect > to mysql, I always get: > "Call to undefined function: mysql_connect() in..." > I've got mysql running. > > I looked on the net, and I've found that people with > this problem either did not compile mysql support > into php, or had the line > extention=mysql.so > in php.ini commented out. Mine was commented out, so > I > uncommented and restarted apache - still no go. > > Looking at phpinfo, it says php has been compiled > in: > --with-mysql=shared > > On php.net's documentation I see: > "With PHP 4 MySQL support is always enabled" > I'm using PHP 4.2.2 > > Is there anything else I can check before I give up > and reinstall php? > > - Cisco Serret > Hermosa Beach, CA. > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list
__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list