|
Posted by Jerry Stuckle on 06/05/07 02:29
deko wrote:
> I've just loaded phpMyAdmin on a Debian Linux server with Apache2,
> MySql5 and PHP5.
>
> myserver [/root] # dpkg -l | grep php
> ii libapache-mod-php5 5.2.0-8+etch4
> ii libapache2-mod-php4 4.4.4-8+etch2
> ii php4-common 4.4.4-8+etch2
> ii php5-common 5.2.0-8+etch4
> ii php5-gd 5.2.0-8+etch4
> ii php5-mcrypt 5.2.0-8+etch4
> ii php5-mysql 5.2.0-8+etch4
> ii phpmyadmin 2.9.1.1-3
>
> myserver [/root] # dpkg -l | grep mysql
> ii libdbd-mysql-perl 3.0008-1
> ii libmysqlclient15off 5.0.32-7etch1
> ii mysql-client-5.0 5.0.32-7etch1
> ii mysql-common 5.0.32-7etch1
> ii mysql-server 5.0.32-7etch1
> ii mysql-server-5.0 5.0.32-7etch1
> ii php5-mysql 5.2.0-8+etch4
>
>
> When I try to use phpMyAdmin, I get an error:
>
> "Cannot load mysql extension. Please check your PHP configuration."
>
> There's a link in the error that points to http://us.php.net/mysql,
> which says:
>
> Use the --with-mysql[=DIR] configure option to include MySQL support.
>
> But in the above package list, it shows "php5-mysql" is already
> installed. Do I need to add this module to PHP? How?
>
> Can someone please help me understand how to configure PHP with MySql
> support?
>
> Many thanks.
>
First of all, what does phpinfo() say about MySQL support? It's the
only authoritative answer.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|