Magento 的安裝

Magento是一款新的、專業的、開放源代碼的電子商務解決方案,它提供前所未有的靈活性和可控制性。有了Magento,在你開展電子商務業務 的時候就不會覺得很困難了。

 

因爲它是開放源碼的,所以可以自由下載Magento的代碼,

可以到Magento的官方網站下載:www.magentocommerce.com /download 。

用戶手冊:http://www.magentoing.com/magento%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C%E7%9B%AE%E5%BD%95

 

 

Mageto 安裝步驟:

1: 下載 http://www.magentocommerce.com/download (官網下載 需註冊 免費)

2: 安裝 : xampplite 確認你已經安裝了這個 php 運行環境

 

(1):  <!--

 

首先解壓我的 magento 程序到我的 htdocs 中去 解壓好了之後啓動你的 xampp_start.exe

 

(2): 打開 http://localhost/magento     之後會有安裝提示接下來按照步驟來吧

 

 

 

下一步

 

 

 

 

可以默認 也可以選擇下面 2 個隨便 你怎麼熱唄!

 

 

 

 

提示這個 也好辦

得到你的 xampplite\php 你的 php.ini 中找到這個 2 個關鍵字 : extension=php_mcrypt.dll ,extension=php_curl.dll 去掉前面的分號 ‘;’  不要以爲改掉一個就可以了。。還有個地方有這個東西 apache\bin  找到 php.ini 文件 下面也有這樣的東西 所以也要改掉。

 

好了重新啓動服務吧。

 

重新啓動好了之後刷新頁面之後彈出這樣的界面

 

 

 

 

默認吧 查看你的 Database Name 的名字偷個懶我就不改了好的數據庫就用它了

 

 

 

 

創建你的數據庫 創建成功之後不管他了。。

 

 

 

 

記着選擇你的 database

 

 

 

 

 

 

下面這塊要記着哦。是你登陸後臺密碼和賬號

繼續下一步

 

 

 

 

呵呵到這一步說明你安裝成功了

 

登陸你的後臺

http://127.0.0.1/magento/index.php/admin/

千萬不要用 localhost 來代替你的 127.0.0.1 本地測試是無效的

 

 

 

 

 

 

好了安裝成功了。。

 

基本的安裝都是這樣的!

 

 

 

附送 常見錯誤:

 

如果你有在使用magento平臺開發網店系統,相信你已經遇到了不少問題,其中有相當一部分問題是和這個配置選項有關的。

 

問題一,新安裝的magento,前臺能夠打開,也能夠進入magento的後臺,但是發現要進行分類管理時問題進入到空白頁面。而後臺的其它頁面 都能夠正常使用。我把magento的index.php去掉下面這行前面的註釋#,再進入magento的manage category時,頂部提示

 

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 30720 bytes) in /hsphere/local/home/c269260/easdeco.com/app/design/adminhtml/default/default/template/widget/form/renderer/fieldset.phtml on line 55

 

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 1966080 bytes) in /hsphere/local/home/c269260/easdeco.com/lib/Zend/Date.php on line 2484

 

 

方法:

 

At the bottom of index.php you will find the following code.. Add the line marked below.

 

Php代碼  收藏代碼
  1. #Varien_Profiler::enable();  
  2.   
  3. #Mage::setIsDeveloperMode(true);  
  4.   
  5. #ini_set('display_errors', 1);  
  6.   
  7. ini_set('memory_limit','128M');  // <--------------------------- Add this line  
  8.   
  9. umask(0);  
  10. Mage::run();  
發佈了21 篇原創文章 · 獲贊 0 · 訪問量 2203
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章