现在的位置: 首页 > 综合 > 正文

magento — magento的系统要求(安装前提)

2013年05月25日 ⁄ 综合 ⁄ 共 1103字 ⁄ 字号 评论关闭

magento到底需要哪些条件,在什么样的服务器环境下才能安装呢?很多人在安装过程中出现这样或那样的问题,下面是琰自magento官方的安装magento的系统需求

  • Supported Operating Systems:

    • Linux x86, x86-64
  • Supported Web Servers:
    • Apache 1.3.x
    • Apache 2.0.x
    • Apache 2.2.x

(我尝试过在lighttpd下面magento也可以运行的,不过安装时会出现问题,即使安装成功好像也有可能出现故障)

  • Supported Browsers:

    • Microsoft Internet Explorer 6 and above
    • Mozilla Firefox 2.0 and above
    • Apple Safari 2.x
    • Google Chrome
    • Adobe Flash browser plug-in should be installed
  • PHP Compatibility:
    • 5.2.0 and above
    • Required extensions:
      • PDO_MySQL
      • simplexml
      • mcrypt
      • hash
      • GD
      • DOM
      • iconv
      • SOAP (if Webservices API is to be used)
    • Safe_mode off //如果打开,magento有可能安装失败
    • Memory_limit 32M or more //这个值越多越好,因为magento实在是吃太多的内存了。如果内存多,不烦像magento官方那样,只要给它设置128或以上的值。
  • MySQL:
    • 4.1.20 or newer
    • InnoDB storage engine
  • SSL:
    • If HTTPS is used to work in the admin, SSL certificate should be valid. Self-signed SSL certificates are not supported
  • Server - hosting - setup:
    • Ability to run scheduled jobs (crontab) with PHP 5
    • Ability to override options in .htaccess files

如果你不能确定你的空间或服务器是否满足magento的要求,你可以到官方站点下载环境检测程序来测试一下。我的经验告诉我,如果你的环境只有256的内存,那么有可能安装都会碰到"out of memory","网页过期"等这些问题。512的内存似乎是够用,不过如果你的服务器配置不能很好的回收内存,而且在网页中有涉及到较多的图片处理生成,magento还是很有可能崩溃。

 

虽然PHP的加速和缓存并不是必须,但是为了让magento跑得更快一点,最好还是装一个APC

eAccelerator

抱歉!评论已关闭.