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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to