Thanks for the info. Now, I am getting the following error:

Warning: dbx: module '1' not loaded or not supported.

If any one has any ideas....

Thanks,
Bhavin.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 11:29 AM
To: Vyas, Bhavin
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] Fatal error: Call to undefined function:
mysql_conne ct() ......



I think this is how it works.....if you're using dbx then you need to
connect using dbx_connect and not mysql_connect
and i don't think that [shared] is a valid argument.

I only connect to mysql and M$Sql  so i have configured to connect to those
specifiacally.

I would reconfigure using -with-mysql=/path/to/mysql

but, i am on Solaris8, so you may want to get other advice from someone
running RH

hth
jd



 

                    "Vyas, Bhavin"

                    <Bhavin.Vyas@247Real       To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>            
                    Media.com>                 cc:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>                    
                                               Subject:     RE: [PHP-DB]
Fatal error: Call to undefined function:         
                    10/14/2002 11:14 AM         mysql_conne ct() ......

 

 





The only other place it shows up is in the dbx section
   DBX
dbx support enabled
dbx version 1.0.0
supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL
Server<br />FrontBase

There isn't a 'mysql' section.
I am not sure if [shared] is allowed, it should be considering that the
version is 4.1.2 and this install was default RH7.3.
Is there a way to check and make sure?

Thanks,
Bhavin.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 11:04 AM
To: Vyas, Bhavin
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-DB] Fatal error: Call to undefined function:
mysql_connect() ......



does the mysql section show up in phpinfo() ?  is [shared] allowed in that
configure argument?


|-------------------------------------|
| Jeff | KeaneIT - Presidents Landing |
|             | Suite: 200            |
|   Outside: 617 -517-1772 | E-mail:  |
|             [EMAIL PROTECTED]            |
|   [ Mailing: 10 Presidents Landing  |
|       Medford, MA 02155 USA ]       |
|-------------------------------------|







                   "Vyas, Bhavin"

                   <Bhavin.Vyas@247Rea        To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

                   lMedia.com>                cc:

                                         Subject:  [PHP-DB] Fatal
error: Call to undefined function: mysql_connect() ......
                   10/14/2002 10:57 AM









I get the following error:
Fatal error: Call to undefined function: mysql_connect()

on php 4.1.2.

It *has* been compiled with-mysql...here is a snippet from phpinfo()

'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr'


Any ideas why I am getting the error?

Thanks,
Bhavin Vyas.

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





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

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




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

Reply via email to