下载了最新的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/
这个问题最模板检查排除之后,原来是magento2默认安装是必须存在SSL的,但是我们默认是未有ssl在,所以可以在文件屏蔽该检测。 找到文件composer.json 在23行,找到
"config": {
"use-include-path": true
},
"config": {
"use-include-path": true,
"disable-tls": true
},
(责任编辑:最模板)保存上传,安装即可成功! |