您在這裡

請問要怎麼安裝 我裝好xampp 套裝包 接下來就無法裝drupal

oktiop52's 的頭像
oktiop52 在 2008-02-14 (四) 21:05 發表

如題 我裝好xampp 套裝包 之後
http://www.joetsuihk.com/install_drupal 這裡 進行
準備完後, 可以開始安裝
解壓Drupal 安裝包到 www/drupal_test
↑↑ 這裡看不懂

在瀏覽器到 localhost/drupal_test, 可以見到: 沒看到任何畫面
直接載入 index.php 白白一片...

後來 照這討論串的
https://drupaltaiwan.org/forum/20071106/1630
建議安裝xapmmlite免安裝版
下載後解開 執行xampplite\xampp-control.exe 按apache及mysql後的start 啟動apache及mysql
在瀏覽器網址列打127.0.0.1/phpmyadmin/ 進入phpmyadmin變更密碼
變更完後 修改xampplite\phpmyadmin\config.inc.php
$cfg['Servers'][$i]['auth_type']改為http
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '剛剛改的密碼';
用上面的帳號密碼進入進入phpmyadmin後新增一個資料庫
將drupal解壓到xampplite\htdocs下
編輯xampplite\htdocs\drupal\sites\default\settings.php
$db_url = 'mysql://root:mysql密碼@localhost/新增的drupal資料庫名稱';

改完之後 還是看不到
執行127.0.0.1/drupal/instll.php
出現 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

請問 是哪裡有問題 我是要 本機安裝 PS. 適用IMAC 在跑 想裝的是5.X

我重新安裝 都不修改
直接打 http://localhost/drupal
一樣初先下列畫面
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

把.htaccess 刪掉 出現了
Incompatible environment
The following error must be resolved before you can continue the installation process:
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))
請問是哪裡有問題呀 Orz...

依照您的訊息顯示,您所安裝的 Drupal 不再使用 register_globals 全域變數選項,請將您的 XAMPP 中 PHP.ini 設定檔裡面的 register_globals 功能關閉再試試看。

印象中XAMPP 預設情況下 php 設定檔有幾個地方,但主要是設定 \xampp\apache\bin\php.ini (Windows 環境,如在 Mac 有錯誤請告知 ^^")

祝您使用順心。

就我的經驗,修改 sites\default\settings.php 是 Drupal 4.7 之前的事情了。
5.0 的只要確定 settings.php 有讀寫權就可以了。
至於 .htaccess 這個檔應該不能刪,那裡面包含為了 Drupal 而作的相關設定。
5.0 有自己的安裝介面說....

另外... 麻煩你去找找影片安裝教學。
之前看到的影片全都是以 MAC OS 作為平台作示範(恕我看不出來 OS 版本,我沒玩過 MAC),
不過至少用看得總是會比較親切吧!! (再恕我最近實在很忙,沒時間去把連結找出來...)

我只是一個撰碼員,靠寫程式過活。
自從 Drupal 在 4.7 版的時候知道他的存在,但是後來跳去其它程式語言很久沒回來。
變成 D5 比較熟,D6 知道一點,D7 還在學的狀況…