logo       

Re: enable mysql: msg#00230

php.tcphp

Subject: Re: enable mysql

Here is my script:

<?PHP
$db = mysql_pconnect('my.dev.server.com', 'my_user', 'my_pw');
if ($db) {
echo 'true';
} else {
echo 'false';
}
?>

Here is the output:

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/html/test.php on line 2




On 6/21/05, Mike Koch <pikachusalad-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
wrote:
> I'm using PHP 4.3.8 on Fedora Core 1
>
> How do I enable mysql? I have enabled and am able to use curl, by
> adding the following to php.ini:
>
> extension=libcurl.so
>
> but in /usr/lib, there doesn't seem to be a libmysql.so... This seems
> odd to me that I would automatically get curl, but not mysql... am I
> missing something?
>
> --
>
> -
> Mike
>


--

-
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: talk-unsubscribe-4zcLI8jJc/rYtjvyW6yDsg@xxxxxxxxxxxxxxxx

Please read and follow the list guidelines:
http://www.tcphp.org/mailing_list/guidelines

The tcphp.org mailing list is sponsored by pajunas interactive, inc.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise