Re: [PHP] cannot find mysql_connect; _pconnect

2002-06-18 Thread Rasmus Lerdorf

Well, check.  rpm -ql php-mysql

On Tue, 18 Jun 2002, Anthony 'Crash' Ciarochi wrote:

> Nope, that's not it.  'extension=mysql.so' was already uncommented in
> /etc/php.ini
>
> Where is this library supposed to live?  I only see the client libraries in
> /usr/lib/mysql/  (mysqlclient.so, etc.).
>
>  - AFC
>
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 18, 2002 10:01 AM
> Subject: Re: [PHP] cannot find mysql_connect; _pconnect
>
>
> > You need to enable the mysql extension in your php.ini file:
> >
> > extension=mysql.so
> >
> > and then restart your server.
> >
> > -Rasmus
> >
> > On Tue, 18 Jun 2002, Anthony 'Crash' Ciarochi wrote:
> >
> > > I am having trouble connecting to my MySQL database:  The error message
> I receive
> > > in my browser is:
> > >
> > > Fatal error: Call to undefined function: mysql_connect() in
> ../results.php on line 21
> > >
> > > The line in question is a simple db connection:
> > >
> > > $db = mysql_connect("localhost", "test", "test123");
> > >
> > > Similar errors are receieved with mysql_pconnect, and others.  This
> sounds like a configuration problem, but ???
> > >
> > > System info:
> > > OS: Linux (Redhat 7.3)
> > > MySQL: version 3.23.49, working normally
> > > PHP: version 4.1.2-7, working normally, except for the database
> connection utilities
> > >
> > > related rpms installed:
> > > php-4.1.2-7.i386.rpm
> > > php-devel-4.1.2-7.i386.rpm
> > > php-mysql-4.1.2-7.i386.rpm
> > > php-dbg-4.1.2-7.i386.rpm
> > > Msql-Mysql-modules-11.2216.tar.gz
> > > mysql-31.23.49a-pc-linux-gnu-i686.tar.gz
> > >
> > > Any ideas??
> > >
> > >  - AFC
> > >
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] cannot find mysql_connect; _pconnect

2002-06-18 Thread Anthony 'Crash' Ciarochi

Nope, that's not it.  'extension=mysql.so' was already uncommented in
/etc/php.ini

Where is this library supposed to live?  I only see the client libraries in
/usr/lib/mysql/  (mysqlclient.so, etc.).

 - AFC

- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 10:01 AM
Subject: Re: [PHP] cannot find mysql_connect; _pconnect


> You need to enable the mysql extension in your php.ini file:
>
> extension=mysql.so
>
> and then restart your server.
>
> -Rasmus
>
> On Tue, 18 Jun 2002, Anthony 'Crash' Ciarochi wrote:
>
> > I am having trouble connecting to my MySQL database:  The error message
I receive
> > in my browser is:
> >
> > Fatal error: Call to undefined function: mysql_connect() in
../results.php on line 21
> >
> > The line in question is a simple db connection:
> >
> > $db = mysql_connect("localhost", "test", "test123");
> >
> > Similar errors are receieved with mysql_pconnect, and others.  This
sounds like a configuration problem, but ???
> >
> > System info:
> > OS: Linux (Redhat 7.3)
> > MySQL: version 3.23.49, working normally
> > PHP: version 4.1.2-7, working normally, except for the database
connection utilities
> >
> > related rpms installed:
> > php-4.1.2-7.i386.rpm
> > php-devel-4.1.2-7.i386.rpm
> > php-mysql-4.1.2-7.i386.rpm
> > php-dbg-4.1.2-7.i386.rpm
> > Msql-Mysql-modules-11.2216.tar.gz
> > mysql-31.23.49a-pc-linux-gnu-i686.tar.gz
> >
> > Any ideas??
> >
> >  - AFC
> >


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] cannot find mysql_connect; _pconnect

2002-06-18 Thread Rasmus Lerdorf

You need to enable the mysql extension in your php.ini file:

extension=mysql.so

and then restart your server.

-Rasmus

On Tue, 18 Jun 2002, Anthony 'Crash' Ciarochi wrote:

> I am having trouble connecting to my MySQL database:  The error message I receive
> in my browser is:
>
> Fatal error: Call to undefined function: mysql_connect() in ../results.php on line 21
>
> The line in question is a simple db connection:
>
> $db = mysql_connect("localhost", "test", "test123");
>
> Similar errors are receieved with mysql_pconnect, and others.  This sounds like a 
>configuration problem, but ???
>
> System info:
> OS: Linux (Redhat 7.3)
> MySQL: version 3.23.49, working normally
> PHP: version 4.1.2-7, working normally, except for the database connection utilities
>
> related rpms installed:
> php-4.1.2-7.i386.rpm
> php-devel-4.1.2-7.i386.rpm
> php-mysql-4.1.2-7.i386.rpm
> php-dbg-4.1.2-7.i386.rpm
> Msql-Mysql-modules-11.2216.tar.gz
> mysql-31.23.49a-pc-linux-gnu-i686.tar.gz
>
> Any ideas??
>
>  - AFC
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php