升级安装glpi,报error when use "php bin/console glpi:migration:utf8mb4"错误,
电脑操作系统是windows11,环境用的xammp windows版本,用CMD或者powershell控制台执行php bin/console glpi:migration:utf8mb4 不成功,提示:PS E:\SynologyDrive> php bin/console glpi:migration:utf8mb4
Could not open input file: bin/console
解决办法:必须在 GLPI 主机服务器上,从 GLPI 根目录运行这些命令,并使用与 Web 服务器相同的用户(不要使用 root user 运行这些命令,以防止以后出现权限问题)。
参考:使用"php bin/console glpi:migration:utf8mb4" ·问题 #10268 ·glpi-project/glpi (github.com)
本文解决了一个在Windows 11环境下使用XAMPP进行GLPI升级时遇到的错误,即在执行php bin/console glpi:migration:utf8mb4命令时出现的Could not open input file: bin/console问题。解决方法在于确保命令是在GLPI根目录下并且使用与Web服务器相同的用户来执行。
5293

被折叠的 条评论
为什么被折叠?



