1 頁 (共 1 頁)

[問題]不能安裝phpbb2

發表於 : 2003-10-28 12:44
neoesque
架設主機作業系統:redhat 9.0
●您的上網方式:學術網\r
●您安裝的程式:Apache + php + MySql
●您的 phpBB2 版本:phpBB 2.0.6

按下install 後就出現\r

An error has occurred during installation

The PHP configuration on your server doesn't support the database type that you chose

可是我的確有灌mysql3.23.54阿

發表於 : 2005-02-16 18:50
pochengjean
The PHP configuration on your server doesn't support the database type that you chose

我也是有這個問題
我的系統比較不同,用的是\r

IIS5.1, PHP5, MySQL4.1版本的合用\r

還有誰知道答案咧

發表於 : 2005-02-16 19:04
clpl
你的PHP不支援

發表於 : 2005-02-16 19:55
pochengjean
那要用哪一個php版本的才支援phpbb2

發表於 : 2005-02-16 19:57
問題狂
4.X版

發表於 : 2005-02-17 00:18
hollowaysxp
clpl 寫:你的PHP不支援
這邊要說清楚是PHP不支援什麼?不支援phpBB2。
不過看看這行
The PHP configuration on your server doesn't support the database type that you chose

這邊是說PHP的設定不支援你選擇的資料庫型態。
所以很有可能是你redhat安裝的php不支援mysql。
但是你主機上也有mysql。只是沒有讓php支援mysql功能。

你可以到X Windows看看新增/移除程式看看網頁伺服器右邊有個php-mysql的物件。
文字模式下觀看是否有支援php-mysql物件,沒有支援改快拿出光碟裝一下吧!
請打rpm -qa | grep php 或 rpm -qa | grep mysql
[root@localhost ~]# rpm -qa | grep php
php-odbc-4.3.9-3
php-4.3.9-3
php-mysql-4.3.9-3
php-pear-4.3.9-3
php-ldap-4.3.9-3
php-pgsql-4.3.9-3
[root@localhost ~]# rpm -qa | grep mysql
mysql-bench-3.23.58-13
mod_auth_mysql-20030510-5
php-mysql-4.3.9-3
libdbi-dbd-mysql-0.6.5-9
mysql-devel-3.23.58-13
mysql-3.23.58-13
mysql-server-3.23.58-13

粗體部分就是php有支援mysql的部份。
不然就用一個測試頁面就知道php支援mysql的函數了嗎?
phpinfo.php

代碼: 選擇全部

<?
phpinfo();
?>
以上完畢!

發表於 : 2005-02-17 00:21
hollowaysxp
pochengjean 寫:The PHP configuration on your server doesn't support the database type that you chose

我也是有這個問題
我的系統比較不同,用的是\r

IIS5.1, PHP5, MySQL4.1版本的合用\r

還有誰知道答案咧
喔!NO~IIS比較沒有像上面我說的會有php支援mysql的問題。
但是phpBB2請用php4.X吧!不是php5就很好!phpBB2不支援php5
php我知道只有php4跟php5兩個版本都有再更新。
就像mysql也有mysql4.x和mysql3.x

發表於 : 2005-02-17 19:55
問題狂
Apache比較好用...<---==純屬個人意見