FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on line
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on line [message #8108] Sun, 12 January 2003 01:35 Go to next message
twelsh37 is currently offline  twelsh37   United Kingdom
Messages: 2
Registered: January 2003
Karma: 0
Junior Member
Hi, Im new to this software and mysql Crying or Very Sad and I am getting the following error on step 2 of the instalation
"Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on line 92"

I am running on redhat 7.2
mysql version is
mysql> status
--------------
mysql Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386)

I have php version
[root@usel forum]# rpm -q php
php-4.1.2-7.2.6

I take the error means that i cant find the function 'mysql_connect() '

my ld.so.conf contains ...
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-2.3.1/lib
/usr/lib/qt-1.45/lib
/usr/lib/wine
/usr/lib/mysql
/usr/local/lib
/usr/lib/sane

I cant see whats causing the error and im stummped. Any help would be appreciated. I know its going to be something stupid but id better ask anyway Smile

Cheers

Tom Welsh
Re: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on [message #8111 is a reply to message #8108] Sun, 12 January 2003 17:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Your php does not have mysql support.

FUDforum Core Developer
Re: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on [message #8116 is a reply to message #8108] Sun, 12 January 2003 19:09 Go to previous messageGo to next message
twelsh37 is currently offline  twelsh37   United Kingdom
Messages: 2
Registered: January 2003
Karma: 0
Junior Member
Thanks, ive got it working now

Cheers

tom Welsh
Re: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on [message #20729 is a reply to message #8108] Tue, 26 October 2004 18:51 Go to previous messageGo to next message
sleepwalker is currently offline  sleepwalker   United States
Messages: 1
Registered: October 2004
Karma: 0
Junior Member
i really need help wit it please ty in advance
Re: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/forums/install.php on [message #20731 is a reply to message #20729] Tue, 26 October 2004 19:57 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Unless you are running your own server, you simply need to e-mail your ISP and ask them to enable MySQL support in their PHP install.

Otherwise you either need to recompile PHP with MySQL support or load mysql.so extension via php.ini.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: maillist.php generates a Program failure (1)
Next Topic: Smilies Not showing
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 11:37:17 GMT 2024

Total time taken to generate the page: 0.01970 seconds