Magento2 php商城在windows10上安裝

來源:互聯網
上載者:User

標籤:.exe   containe   operation   alt   pack   director   format   proc   導致   

magento2

:https://github.com/magento/magento2/archive/develop.zip

參考地址: 版本要求 這個magento2  要選擇好php的版本  下載綜合版伺服器時看好這個伺服器支援的具體版本 下邊的網站有具體的版本要求頁,在此就不列出了

https://www.magentochina.org/blog/download-install-magento.html

XAMPP 版本上邊明確提示裡邊帶有php的版本.我選的是支援 php 7.0.6的版本  

, https://jaist.dl.sourceforge.net/project/xampp/XAMPP%20Windows/7.0.6/xampp-win32-7.0.6-0-VC14-installer.exe

如果php 版本沒選擇好,則進行 安裝時會出現版本不正確的提示,導致失敗

第二:報錯2:開啟安裝頁提示

Vendor autoload is not found. Please run ‘composer install‘ under application root directory.

沒安裝composer  是php的依賴項下載服務吧.個人理解,總之需要安裝. 運行xammpp 裡邊的 命令列  cd 進入htdoc目錄  composer install 

結果又報錯:

# composer installLoading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages.  Problem 1    - The requested PHP extension ext-intl * is missing from your system. Install or enable PHP‘s intl extension.  Problem 2    - The requested PHP extension ext-xsl * is missing from your system. Install or enable PHP‘s xsl extension.

這是提示,php.ini  沒有把上邊要求的注釋掉的內容開啟,這兩個intl 和xsl 都有相關的dll 庫在php的ext 目錄下.

extension=php_intl.dll

extension=php_xsl.dll

在重新運行composer install 問題解決

# composer installLoading composer repositories with package informationUpdating dependencies (including require-dev)Package operations: 99 installs, 0 updates, 0 removals  - Installing magento/magento-composer-installer (0.1.12): Downloading (100%)  - Installing zendframework/zend-stdlib (2.7.7): Downloading (100%)  - Installing zendframework/zend-hydrator (1.1.0): Downloading (100%)  - Installing psr/container (1.0.0): Downloading (100%)  - Installing container-interop/container-interop (1.2.0): Downloading (100%)  - Installing zendframework/zend-validator (2.9.1): Downloading (100%)  - Installing zendframework/zend-escaper (2.5.2): Downloading (100%)  - Installing zendframework/zend-uri (2.5.2): Downloading (100%)  - Installing zendframework/zend-eventmanager (2.6.3): Downloading (100%)  - Installing zendframework/zend-code (3.1.0): Downloading (100%)  - Installing zendframework/zend-server (2.7.0): Downloading (100%)  - Installing zendframework/zend-soap (2.6.0): Downloading (100%)  - Installing zendframework/zend-math (2.7.0): Downloading (100%)  - Installing zendframework/zend-crypt (2.6.0): Downloading (100%)  - Installing zendframework/zend-console (2.6.0): Downloading (100%)  - Installing zendframework/zend-filter (2.7.2): Downloading (100%)  - Installing zendframework/zend-inputfilter (2.7.4): Downloading (100%)  - Installing zendframework/zend-form (2.10.2): Downloading (100%)  - Installing zendframework/zend-servicemanager (2.7.8): Downloading (100%)  - Installing zendframework/zend-mvc (2.6.3): Downloading (100%)  - Installing zendframework/zend-text (2.6.0): Downloading (100%)  - Installing zendframework/zend-di (2.6.1): Downloading (100%)  - Installing zendframework/zend-loader (2.5.1): Downloading (100%)  - Installing zendframework/zend-http (2.6.0): Downloading (100%)  - Installing zendframework/zend-db (2.8.2): Downloading (100%)  - Installing paragonie/random_compat (v2.0.10): Downloading (100%)  - Installing zendframework/zend-captcha (2.7.1): Downloading (100%)  - Installing colinmollenhour/credis (1.6): Downloading (100%)  - Installing colinmollenhour/php-redis-session-abstract (v1.2.2): Downloading (100%)  - Installing symfony/polyfill-mbstring (v1.4.0): Downloading (100%)  - Installing psr/log (1.0.2): Downloading (100%)  - Installing symfony/debug (v3.0.9): Downloading (100%)  - Installing symfony/console (v2.8.22): Downloading (100%)  - Installing colinmollenhour/cache-backend-redis (1.10.2): Downloading (100%)  - Installing colinmollenhour/cache-backend-file (1.4): Downloading (100%)  - Installing pelago/emogrifier (v0.1.1): Downloading (100%)  - Installing tubalmartin/cssmin (v3.0.0): Downloading (100%)  - Installing braintree/braintree_php (3.22.0): Downloading (100%)  - Installing tedivm/jshrink (v1.1.0): Downloading (100%)  - Installing symfony/process (v2.8.22): Downloading (100%)  - Installing symfony/finder (v3.3.2): Downloading (100%)  - Installing symfony/filesystem (v3.3.2): Downloading (100%)  - Installing seld/phar-utils (1.0.1): Downloading (100%)  - Installing seld/jsonlint (1.6.1): Downloading (100%)  - Installing seld/cli-prompt (1.0.3): Downloading (100%)  - Installing justinrainbow/json-schema (5.2.1): Downloading (100%)  - Installing composer/spdx-licenses (1.1.6): Downloading (100%)  - Installing composer/semver (1.4.2): Downloading (100%)  - Installing composer/ca-bundle (1.0.7): Downloading (100%)  - Installing composer/composer (1.4.1): Downloading (100%)  - Installing magento/composer (1.2.0): Downloading (100%)  - Installing ramsey/uuid (3.6.1): Downloading (100%)  - Installing symfony/yaml (v2.8.22): Downloading (100%)  - Installing sebastian/version (1.0.6): Downloading (100%)  - Installing sebastian/recursion-context (1.0.5): Downloading (100%)  - Installing sebastian/exporter (1.2.2): Downloading (100%)  - Installing sebastian/environment (1.3.8): Downloading (100%)  - Installing sebastian/diff (1.4.3): Downloading (100%)  - Installing sebastian/comparator (1.2.4): Downloading (100%)  - Installing doctrine/instantiator (1.0.5): Downloading (100%)  - Installing phpunit/php-text-template (1.2.1): Downloading (100%)  - Installing phpunit/phpunit-mock-objects (2.3.8): Downloading (100%)  - Installing phpunit/php-timer (1.0.9): Downloading (100%)  - Installing phpunit/php-file-iterator (1.3.4): Downloading (100%)  - Installing phpunit/php-token-stream (1.4.11): Downloading (100%)  - Installing phpunit/php-code-coverage (2.2.4): Downloading (100%)  - Installing phpunit/phpunit (4.1.0): Downloading (100%)

 成功:

 

Magento2 php商城在windows10上安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.