Re: php/mysql setup issues

2005-04-06 Thread Fred
On Tue, 2005-04-05 at 14:48 -0400, Drew Van Zandt wrote: New datapoint: I was getting: Warning: dl(): Unable to load dynamic library '/usr/lib/php4/20020429-zts/mysql.so' - /usr/lib/php4/20020429/mysql.so: undefined symbol: core_globals when I added an explicit load of the mysql.so module,

php/mysql setup issues

2005-04-05 Thread Drew Van Zandt
I'm being driven insane... the php/mysql installation on one of my machines keeps getting broken, and I end up with the error: Fatal error: Call to undefined function: mysql_connect() in (when I try to use a script that accesses mysql) Now, I have them both installed... there's a line

Re: php/mysql setup issues

2005-04-05 Thread crschmidt
On Tue, Apr 05, 2005 at 02:28:06PM -0400, Drew Van Zandt wrote: I'm being driven insane... the php/mysql installation on one of my machines keeps getting broken, and I end up with the error: Fatal error: Call to undefined function: mysql_connect() in (when I try to use a script that

Re: php/mysql setup issues

2005-04-05 Thread Drew Van Zandt
The phpinfo page basically says it can't load the mysql extension, and provides a link to docs which do not help me solve the problem. (They suggest doing what I've already tried, e.. removing and reinstalling the php4-mysql package). I got this far before I asked, and t doesn't seem to help.

Re: php/mysql setup issues

2005-04-05 Thread Christopher Schmidt
On Tue, Apr 05, 2005 at 02:39:18PM -0400, Drew Van Zandt wrote: The phpinfo page basically says it can't load the mysql extension, and provides a link to docs which do not help me solve the problem. (They suggest doing what I've already tried, e.. removing and reinstalling the php4-mysql

Re: php/mysql setup issues

2005-04-05 Thread Michael ODonnell
I know absolutely nothing about PHP and such, but does that .so extension in the diagnostic msg mean we're talking about a shared library? If so, which binary wants to link to it? What happens when you say ldd thatBinary ? Does that .so file show as being properly resolved?

Re: php/mysql setup issues

2005-04-05 Thread Drew Van Zandt
New datapoint: I was getting: Warning: dl(): Unable to load dynamic library '/usr/lib/php4/20020429-zts/mysql.so' - /usr/lib/php4/20020429/mysql.so: undefined symbol: core_globals when I added an explicit load of the mysql.so module, so I located an older lib that was around and pointed the