Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 01:49:23 +0200
From:      Kyryll A Mirnenko <mirya@ukrpost.net>
To:        "freebsd-questions-request@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: phpMyAdmin not loading MySQL extensions
Message-ID:  <151-2005248.20040217014923@ukrpost.net>
In-Reply-To: <20040216200051.766A016A4E0@hub.freebsd.org>
References:  <20040216200051.766A016A4E0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tweax,

  That's not PHPMyAdmin's problem, your PHP can't find dynamic
  module (and phpMyAdmin seems to dl() PHP's mysql extension).

  If you've find mysql.so (if have something like mysql.so.4,
  just link it to mysql.so to make PHP happy:
  ln -s mysql.so.4 mysql.so
  ), try to put it into dynamic modules database:
  ldconfig -m /path/to/mysql/module
  (often ldconfig -m /usr/local/mysql/lib). Note this directory
  should be owned by root (chown root:wheel /usr/local/mysql/lib).

  To do it at boottime, make *.sh script in /usr/local/etc/rc.d &
  put "ldconfig..." there. That's the thing mysql-client standart
  package installer does.


  Best regards,
               Kyryll      mailto:mirya@ukrpost.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?151-2005248.20040217014923>