Re: Call to undefined function: mysql_connect()
| From: | rich | Date: | Thu, 24 Apr 2003 14:10:07 +0000 |
| Subject: | Re: Call to undefined function: mysql_connect() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27330@lists.php.net to get a copy of this message | ||
To sumize: The PHP supplied in RedHat 8.0 aparently does not include
support for mysql upon
successfull install of mysql and php. I get the undefined function error
from PHP. People are telling me to rebuild PHP to include the MySql
support. Thank you all for your help I'm looking into rebuilding PHP
but......... shouldn't the dynamic
shared object (mysql.so) be loaded at run time by the runtime linker
(dlopen(mysql.so) ) when PHP needs it (and the .so is in the php.ini file)?
I
did uncomment the extension mysql.so in the php.ini file.
Maybe (for the heck of it) check out in the source 'n find out.
Just wondering..........
Thanks again........
Rich
"Rich" <rich@rich.name> wrote in message
news:20030423143229.40141.qmail@pb1.pair.com...
> Howdy folks,
>
> Just installed RH 8.0 and while tring to connect to MySql from my php
> program I got the following error:
> Call to undefined function: mysql_connect()
>
> I did modify the php.ini to include the mysql.so.
> phpinfo reports '--with-mysql=shared,/usr'
>
> What else am I not catching.
>
> Thanks.
>
> Rich
>
>
>