Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php start.php start提示信息,todpole聊天室无法正常运作 #18

Open
codeinfall opened this issue Mar 24, 2020 · 1 comment
Open

Comments

@codeinfall
Copy link

使用php start.php start命令的时候提示了下面的信息。
Workerman[start.php] start in DEBUG mode
date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file /var/www/html/workerman-todpole/vendor/workerman/workerman/Worker.php on line 2105

我的文件路径是这个:/var/www/html/workerman-todpole
照着这个安装教程做的:
阿里云详细安装教程之centos系统
1、yum install php-cli php-process git
2、下载 workerman-todpole 并解压到任意目录(下载地址在本页面上方)
3、cd workerman-todpole && php start.php start -d
4、大功告成!浏览器访问 http://ip:8383 (如果无法访问请检查服务器防火墙)

@walkor
Copy link
Owner

walkor commented Mar 24, 2020

在php.ini里设置下时区就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants