分享

magento2安装出现Your PHP version is . The required PHP

 顾于思文摘馆 2017-05-13
下载了最新的magento2.1.3安装到第一步出现报错:

PHP Version Check

Your PHP version is . The required PHP version is . Hide detail

Download and install PHP from www.php.net using this PHP Documentation.

For additional assistance, contact your hosting provider.

PHP Settings Check *

Your PHP settings are correct.

 
Cannot determine required PHP extensions: Warning: is_dir(): open_basedir restriction in effect. File(/etc/pki/tls/certs) is not within the allowed path(s): (/home/sanikala/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/) in /home/sanikala/domains/sanikala.com/public_html/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php on line 914

这个问题检查排除之后,原来是magento2默认安装是必须存在SSL的,但是我们默认是未有ssl在,所以可以在文件屏蔽该检测。

找到文件composer.json

在23行,找到

 "config": {
        "use-include-path": true
    },
修改成

 "config": {
        "use-include-path": true,
         "disable-tls": true
    },

保存上传,安装即可成功!

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多