|
can not use phpmyadmin
Error message is
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I checked the directories in /etc
and found that
szh@myserver:/$ ls /etc/apache
access.conf conf.d httpd.conf.back httpd.conf.old libexec modules.conf modules.conf.dpkg-old srm.conf
conf httpd.conf httpd.conf-dpkg.netsaint httpd.conf.zdss-backup mime.types modules.conf.dpkg-dist modules.conf.old suggested_corrections
szh@myserver:/$ ls /etc/apache2
conf.d
szh@myserver:/$ ls /etc/php3
apache
szh@myserver:/$ ls /etc/php4
apache cgi cli
seems that there are 2 versions of PHP(php3/php4). 2 versions of apache
(apache/apache2)
When i used apt-get remove to uninstall php3/apach2. the directory still exists.
myserver:/# apt-get remove apache2
Reading Package Lists... Done
Building Dependency Tree... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
asilog-dev-1:/#
myserver:/etc# apt-get remove php3
Reading Package Lists... Done
Building Dependency Tree... Done
Package php3 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
and I used apt-get install php4-mysql and pma shtill can not access.
myserver:/etc# apt-get install php4-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
php4-mysql
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
Need to get 0B/21.2kB of archives.
After unpacking 68.6kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package php4-mysql.
(Reading database ... 37521 files and directories currently installed.)
Unpacking php4-mysql (from .../php4-mysql_4%3a4.3.10-15_i386.deb) ...
Setting up php4-mysql (4.3.10-15) ...
pls help me.
|