Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection

From: Date: Mon, 01 Oct 2001 20:58:47 +0000
Subject: Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4462@lists.php.net to get a copy of this message
Gary, Redhat comes with an additional RPM that you can install, named php-mysql-4.0.xxxx that will add the support you want. See http://www.redhat.com/swr/i386/php-mysql-4.0.4pl1-9.i386.html for more info, but the file should be on your Redhat CD. From the page above: The php-mysql package contains a dynamic shared object that will add MySQL database support to PHP. MySQL is an object-relational database management system. PHP is an HTML-embeddable scripting language. If you need MySQL support for PHP applications, you will need to install this package and the php package. Hope that helps, Mike "Gary" <gart34@sympatico.ca> wrote in message news:20010930133604.66599.qmail@pb1.pair.com... > I installed mySQL 3.23 (works), php 4.01 from RPM (works) on Redhat 7.1 > > When I try to access a db from a php script using mysql_connect it says > "Fatal error: Call to undefined function: mysql_connect() in..." > > From reading it looks like the php RPM install didn't specify to use mySQL > (yeah I'm new to this). > > The instructions I found at > http://www.php.net/manual/en/faq.installation.php#AEN62909 > specify php3. > > Are there installation instructions for php4? If I need to, how do I remove > php and start over again? > > > Thanks, > > > Gary > >

« previous php.install (#4462) next »