php w/ mysql support compiled in -- can't connect to mysql
| From: | Kurt Lieber | Date: | Sat, 14 Jul 2001 15:35:17 +0000 |
| Subject: | php w/ mysql support compiled in -- can't connect to mysql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57881@lists.php.net to get a copy of this message | ||
OK, there's been another thread floating around about getting:
Fatal error: Call to undefined function: mysql_pconnect()
Turns out, I'm getting this same error message for both mysql_pconnect
as well as plain mysql_connect. I'm using the PHP debian package found
in potato. (4.0.3pl1) phpInfo() shows me the configure command which
includes:
'--with-mysql=shared,/usr'
So, I'm assuming that I really have mysql support compiled in. mysql
lives in /usr/bin/mysql (and is also the debian potato package)
I'm used to windows -- this is the first time I've tried to set up
php/mysql on linux, so I'm hoping I'm just overlooking something
obvious. Anyone have any ideas?
Thanks.
--kurt