Tag Archives: 报错

在Ubuntu中搭建Thinkphp开发环境

参考文档:https://www.kancloud.cn/manual/thinkphp6_0/1037481

一、安装Composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

二、安装稳定版thinkphp

在WEB的根目录运行以下指令

composer create-project topthink/think tp

报错一:

错误
修改php配置,把disable_functions 配置中的proc_open删除即可
he Process class relies on proc_open, which is not available on your PHP installation.
 The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class

报错二:

putenv() has been disabled for security reasons

把putenv函数从禁用列表中删除

安装成功!