Re: Call to undefined function: mysql_connect()

From: Date: Thu, 06 Dec 2001 08:12:30 +0000
Subject: Re: Call to undefined function: mysql_connect()
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5217@lists.php.net to get a copy of this message
Write this script and execute it: <? phpinfo() ?> It will provide you with a lengthy list of configuration information. Copy the "configuration command" and any mysql info to an email so that we can better understand your situation. Fred Rob Round <subscriptions@nhinsights.com> wrote in message news:BAEBLFBDHLPPOEBEAELCOEGFDEAA.subscriptions@nhinsights.com... > Hello, > > I have a standard RedHat7.2 install. In the installation I specified every > mysql, PHP and apache module available. PHP works, mysql works and so does > Apache. Unfortunately, I get this error when trying to make a mysql > connection through a PHP page "Call to undefined function: mysql_connect()". > I'm assuming that PHP is missing some compile switches that weren't > available at install time. Is it possible to add this functionality > afterwards or do I have to recompile PHP from scratch? If there is a way > around not reinstalling from scratch that would be great as this is a > production machine. > > I have looked through the archives and haven't really found what I needed. I > also did a test install on a second machine and installed every package > available to see if the PHP/mysql support was included... it wasn't. > > Thanks in advance. >

« previous php.install (#5217) next »