Re: php w/ mysql support compiled in -- can't connect to mysql

From: Date: Sat, 14 Jul 2001 16:09:36 +0000
Subject: Re: php w/ mysql support compiled in -- can't connect to mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57882@lists.php.net to get a copy of this message
hi, I would suggest u do not put path to mysql with php configure...simply, --with-mysql will do.. hope iit works, thank you regards, James Kurt Lieber wrote: > 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

« previous php.general (#57882) next »