[問題]又是一個麻煩的組合:IIS&Apache&PHP&mySql&phpMyAdmin

phpMyAdmin Running Discuss
關於 phpMyAdmin 架設使用操作討論,非本程式相關問題一律砍文!

版主: 版主管理群

回覆文章
TLJ
星球普通子民
星球普通子民
文章: 2
註冊時間: 2003-08-15 23:53
聯繫:

[問題]又是一個麻煩的組合:IIS&Apache&PHP&mySql&phpMyAdmin

文章 TLJ »

很久沒上來發文,一發文就是又要麻煩各位高手、先進、前輩了。
小弟電腦的系統是Windows2000 pro
安裝了IIS(c:\inetput\wwwroot\)之後,又安裝了ApacheServer(c:\myweb port:8000),之後下載了PHP5的「安裝執行檔(.exe)」的那種,安裝時是針對IIS做的快速安裝。
而ApacheServer這一邊,則是用php-cgi.exe的外部模組加載的方式,讓apacheServer也看的懂php,之後,再安裝mySql5 for win32,到這邊為止,IIS、Apache都可以正常運作,也會執行php程式,mySql也是OK的。
問題來了:當我把phpMyAdmin2.8.0.3下載解壓縮到c:\myweb(apache的網站目錄)後,網址列鍵入127.0.0.1:8000/phpMyAdmin/後,卻出現
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
但若是直接鍵入127.0.0.1:8000/phpMyAdmin/index.php的話,更慘…
出現:
phpMyAdmin - ??h1>
?L?kŪ??ql ?Ҳլ<br />?Ѐˬd PHP ?]?w - ????
其中有一段是超連結,連進去後是說明文件的
[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
這一段

看了很多文章,該修改的地方也都檢查過…就是試不出來,不知有無哪位先進可以給小弟指導指導,感激不盡!
Something people can't do, I can.
Something people can do, I do it better!
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

你的問題是出在 Apache 沒有讀目錄的權限所以讀不到 config.inc.php。

你有把 Appserv 的 DocumentRoot 改了,那下面的 <Directory> 部分內容是不是忘了改?
回覆文章

回到「phpMyAdmin」