Fatal error: Call to undefined function: mysql_connect()
| From: | Deborah Vorndran | Date: | Sun, 06 Jul 2003 16:52:25 +0000 |
| Subject: | Fatal error: Call to undefined function: mysql_connect() | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11232@lists.php.net to get a copy of this message | ||
I get the above error when I try to do a mysql_connect() from a php page.
phpinfo lists mysql as "*Extensions listed here are (or will be soon) available as external modules. To install one or all of these, use "urpmi" php-EXTENSION_NAME"
*when I run urpmi mysql, it asks me for a CDROM which I do not have (I downloaded it)
I edited /etc/php.ini, uncommenting the lines having to do with mysql & rebooted, to no avail. Same error.
Someone told me that I need to download the php source, and recompile it, but that seems too drastic - it seems to me that I've already got all the puzzle pieces, theres just a little magic configuring that needs to happen.
Anyone know how to get php talking to mysql?
Thanks,
:-D*
*