[PHP-DB] 64-bit Linux -- Fatal ... undefined function mysql_connect()

2010-03-01 Thread andrew jarcho
Hello all, I'm running Fedora 12 (64-bit), Apache 2.2.14, PHP 5.3.1, MySQL 5.1.42, on a Dell laptop. I'm trying to access a local MySQL database using PHP. When I execute this code from the shell (as: php testcode.php) I get the message: Fatal error: Call to undefined function mysql_c

Re: [PHP-DB] 64-bit Linux -- Fatal ... undefined function mysql_connect()

2010-03-01 Thread Chaitanya Yanamadala
hai andrew Can u try like changing the ini file like this.. under mysql change the to mysql.default_port 3306 3306 and also if this time too it is not getting connected to the socket try using the mysqli construct to connect to database.. this is for your reference

Re: [PHP-DB] 64-bit Linux -- Fatal ... undefined function mysql_connect()

2010-03-01 Thread Chris
andrew jarcho wrote: Hello all, I'm running Fedora 12 (64-bit), Apache 2.2.14, PHP 5.3.1, MySQL 5.1.42, on a Dell laptop. I get the message: Fatal error: Call to undefined function mysql_connect() The output of my phpinfo() includes: Is that from command line or webpage? They may re