求救:两个apache/php?
更新了一下机器上的apache+mysql+php.(用的是debian linux)
然后就进不了pma
cannot load MySQL extension,
please check PHP Configuration.
Documentation
发现/etc下有两个apache
myserver:/etc/apache# ls
access.conf httpd.conf.old modules.conf.dpkg-old
conf httpd.conf.zdss-backup modules.conf.old
conf.d libexec srm.conf
httpd.conf mime.types suggested_corrections
httpd.conf.back modules.conf
httpd.conf-dpkg.netsaint modules.conf.dpkg-dist
myserver:/etc/apache2# ls
conf.d
有两个php
myserver:/etc# ls php3
apache
myserver:/etc# ls php4
apache cgi cli
咋办?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
删除重搞
试图apt-get remove php3
但是删不掉。不知道是不是这个引起的。
反正apt-get install mysql-php4没有
myserver:/# dpkg -l |grep php
rc libphp-adodb 4.10-1 The 'adodb' database abstraction layer for p
rc php3 3.0.18-31 server-side, HTML-embedded scripting languag
ii php4 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cgi 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cli 4.3.10-15 command-line interpreter for the php4 script
ii php4-common 4.3.10-15 Common files for packages built from the php
rc php4-gd2 4.3.2+rc3-2 GD module (with GD2) for php4
ii php4-imap 4.3.10-15 IMAP module for php4
ii php4-mysql 4.3.10-15 MySQL module for php4
ii php4-pear 4.3.10-15 PEAR - PHP Extension and Application Reposit
ii php4-snmp 4.3.10-15 SNMP module for php4
rc phpmyadmin 2.6.2-3 set of PHP-scripts to administrate MySQL ove
myserver:/# dpkg -l |grep mysql
ii libdbd-mysql-p 2.9006-1 A Perl5 database interface to the MySQL data
ii libmysqlclient 3.23.56-3 LGPL-licensed client library for MySQL datab
ii libmysqlclient 4.0.24-10 mysql database client library
ii libmysqlclient 3.22.30-4 mysql database client library
ii mysql-client 4.0.24-10 mysql database client binaries
ii mysql-common 4.0.24-10 mysql database common files (e.g. /etc/mysql
ii mysql-doc 3.23.51-0woody mysql database documentation
ii mysql-server 4.0.24-10 mysql database server binaries
ii php4-mysql 4.3.10-15 MySQL module for php4
myserver:/# dpkg -l |grep apache
ii apache 1.3.33-6 versatile, high-performance HTTP server
ii apache-common 1.3.33-6 support files for all Apache webservers
ii apache-doc 1.3.33-6 documentation for the Apache webserver
ii apache-utils 1.3.33-6 utility programs for webservers (transitiona
ii apache2-utils 2.0.54-4 utility programs for webservers
ii libapache-mod- 1.29.0.3-6 integration of perl with the Apache web serv
ii libapache-mod- 4.3.10-15 server-side, HTML-embedded scripting languag
自己顶。