Antwort: [PHP-INST] Re: Call to undefined function: mysql_connect()

From: Date: Wed, 14 May 2003 14:57:02 +0000
Subject: Antwort: [PHP-INST] Re: Call to undefined function: mysql_connect()
Groups: php.install 
Request: Send a blank email to php-install+get-10889@lists.php.net to get a copy of this message
> Greetings. > > > Since I got no answer from my previous post, maybe I can rephrase it > differently. > > When performing phpinfo, what do I need to enable to get the mysql section > showing up? > > > Sincerely, > Hans Deragon > -- > Deragon Informatique inc. Open source: > http://www.deragon.biz http://swtmvcwrapper.sourceforge.net > mailto://hans@deragon.biz http://autopoweroff.sourceforge.net > > Hans Deragon wrote: > > Greetings. > > > > > > Ever since I upgrade to RH 9.0, I get the following error: > > > > Fatal error: Call to undefined function: mysql_connect() in > > /perm/web/postnuke-phoenix-0.7.2.3/html/pnadodb/drivers/adodb-mysql.inc.php > > on > > line 170 > > > > You can verify this yourself by clicking at: > > > > http://site.deragon.biz:18080/postnuke > > > > I cannot figure out what the problem is. I have opened a bug report at > > RedHat: > > > > > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88656 > > > > There you will find that I have tried and reported much information, > > including > > content of configuration files and output of php phpinfo(); Everything > > on my > > system almost seams fine. php is there and seams to have been compiled with > > mysql support. I say almost, because I found a difference between my > > system > > and someone's else. > > > > Calling phpinfo on my server shows some mysql references, but no mysql > > section > > per say. See: > > > > http://site.deragon.biz:18080/phpinfo.php > > > > On someone else's website, his phpinfo showed a distinct mysql section. > > Why > > is that I do not get it? > > > > I only use rpms provided by Red Hat, for php, and from MySQL AB for mysql. > > > > > > Sincerely, > > Hans Deragon > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Hi, I see that the configure parameter is --with-mysql=shared, ..... I think that means that mysql support is compiled as an extension. You might want to activate the extension=php_mysql.so line in php.ini and to restart the apache server. Thomas =============================================== Thomas Sinka mobil: +49 163 3 23 12 72 mailto: thomas.sinka@it-choice.de IT-Choice Software AG Kaiserstraße 160-162, 76133 Karlsruhe, Germany Tel.: +49(0)721-85 006-0, Fax: +49(0)721-85 006-77 www.it-choice.de, info@it-choice.de Amtsgericht Karlsruhe, HRB 9060 USt-Id Nr.: DE 812 950 635 Vorstand: Mirko Ketterer (Vorsitzender), Stephanie Lehmann, Dirk Ludwig Aufsichtsratsvorsitzender: Horst Gann

« previous php.install (#10889) next »