码迷,mamicode.com
首页 > Windows程序 > 详细

Magento2 php商城在windows10上安装

时间:2017-06-25 10:18:34      阅读:930      评论:0      收藏:0      [点我收藏+]

标签:.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 install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your 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 PHPs intl extension.
  Problem 2
    - The requested PHP extension ext-xsl * is missing from your system. Install or enable PHPs xsl extension.

这是提示,php.ini  没有把上边要求的注释掉的内容打开,这两个intl 和xsl 都有相关的dll 库在php的ext 目录下.

extension=php_intl.dll

extension=php_xsl.dll

在重新运行composer install 问题解决

# composer install
Loading composer repositories with package information
Updating 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上安装

标签:.exe   containe   operation   alt   pack   director   format   proc   导致   

原文地址:http://www.cnblogs.com/zuochanzi/p/7075507.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!