多语言建站系统,深圳网站建设公,网站开发关键技术,高端建盏的价格环境宝塔、PHP版本8.0.2、laravel9
问题1#xff1a;PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv()
办法#xff1a;把PHP版本disable_functions这个中的putenv去掉#xff0c;这个意思就是putenv被PHP对应的版本禁用了PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv()
办法把PHP版本disable_functions这个中的putenv去掉这个意思就是putenv被PHP对应的版本禁用了要放开
问题2 [Symfony\Component\Process\Exception\RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation.
办法把PHP版本disable_functions这个中的proc_open去掉这个意思就是proc_open被PHP对应的版本禁用了要放开
问题3访问报错The stream or file /www/wwwroot/yadmin/admin/storage/logs/laravel.log could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log
因为权限组的问题当定时任务执行时日志文件还会变成root用户组的问题。
在config/logging.php配置文件中daily中添加permission0666
在.env文件中添加LOG_CHANNEL daily
或者直接将根目录下的storage从root修改为www权限