2011-10-01 34 views
1

我一直在嘗試在Amazon EC2上部署statusnet。我設立了AMI並做了其他必要的事情。現在,當它涉及到安裝,我得到這個錯誤:Statusnet安裝問題

"No configuration file found. 

I looked for configuration files in the following places: 
/etc/statusnet/statusnet.php 

/etc/statusnet/laconica.php 

/etc/laconica/laconica.php 

/etc/statusnet/ec2-174-XXXXXcompute-1.amazonaws.com.php 

/etc/laconica/ec2-174-XXXXX.compute-1.amazonaws.com.php 

/var/www/html/config.php 


You may wish to run the installer to fix this. 

Go to the installer." 

當我點擊「進入安裝程序」,它會顯示安裝形式,但此消息在它上面:

"Cannot load required extension: gd 

Cannot load required extension: xmlwriter 

Cannot load required extension: dom " 

請幫我解決這個問題。 感謝。

回答

0

我在亞馬遜安裝StatusNet的 EC2沒有經驗,但我想給你一些建議。

  1. 複製htaccess.sample文件的.htaccess在你的StatusNet的目錄,然後更改新的.htaccess文件「RewriteBase」,以成爲URL路徑的StatusNet的安裝在你的服務器上。

  2. 修改php.ini中有關GD的XmlWriterDOM項目。

+0

感謝您的回覆。 :)重命名htacess.sample新聞。另一個問題通過安裝xml和dom擴展來解決。 :) – chinm0y

0

在安裝的根目錄中提到了PHP依賴項(您需要的擴展名)the text file named INSTALL

具體來說:

  • 捲曲。這是爲了通過HTTP獲取文件。
  • XMLWriter。這用於格式化XML和HTML輸出。
  • MySQL。用於訪問數據庫。
  • GD。縮小化身頭像。
  • mbstring。用於處理Unicode(UTF-8)編碼的字符串。

祝你好運!