請翻頁: 1 2 3 4 ...498 下一頁 >

解決:phpmyadmin http 500 內部伺服器發生錯誤

十月 1st, 2014 by jackcal No comments »

下載phpMyAdmin:
http://www.phpmyadmin.net/home_page/downloads.php

phpMyAdmin 設定(phpMyAdmin 4.2.9):
下載解壓縮後,打開phpMyAdmin 目錄找到config.sample.inc.php 檔案,將改檔名改成config.inc.php

修改config.inc.php 檔案
找到以下程式並修改紅字部分:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = ‘cookie‘;
改成
$cfg['Servers'][$i]['auth_type'] = ‘http’;
/* Server parameters */
$cfg['Servers'][$i]['host'] = ‘localhost’;
$cfg['Servers'][$i]['connect_type'] = ‘tcp’;
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;

存檔後離開,打開瀏覽器測試
網站出現http 500 內部伺服器發生錯誤
查詢 /etc/httpd/logs/error_log 找到以下錯誤訊息
“PHP Fatal error:  Call to undefined function mb_detect_encoding() in /var/www/html/phpMyAdmin/libraries/php-gettext/gettext.inc on line 177″

從以上訊息得知可能未安裝 mbstring 模組,可利用phpinfo 查詢 mbstring 若未出現該模組則可利用已下方式安裝

yum -y install php-mbstring

centos software raid 5 setup (設定)

九月 24th, 2014 by jackcal No comments »

Centos Software RAID 設定方法:
centos software raid setup
centos software raid 5
centos software raid 1
centos software raid 設定
centos software raid install

請翻頁: 1 2 3 4 ...498 下一頁 >
請翻頁: 1 2 3 4 ...498 下一頁 >
Sitetag