Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection
| From: | Gary Tai | Date: | Wed, 03 Oct 2001 19:35:12 +0000 |
| Subject: | Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4491@lists.php.net to get a copy of this message | ||
Many thanks...
I've got PHP with mySQL up and running.
Thanks again,
Gary
"Mike Dick" <dickmi@ihug.co.nz> wrote in message
news:20011001205631.2243.qmail@pb1.pair.com...
> 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
c�5¦2q7
> @BœÆ-ô. 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
> >
> >
>
>