If you are using Windows, it should be built in to any of the latest php
versions... Otherwise as far as I know you have to compile PHP with MySQL
support enabled (How you do that I have no idea, I only use windows)

Stephen

----- Original Message ----- 
From: "Deborah Vorndran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 06, 2003 5:52 PM
Subject: [PHP-INST] Fatal error: Call to undefined function: mysql_connect()


> 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*
>
>
> *
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to