我通过遵循此小教程对其进行了修复:http :
//andreys.info/blog/2007-11-07/configuring-terminal-to-work-with-mamp-mysql-
on-leopard
[编辑]:我修改了正确的php.ini,现在一切正常。
现在我得到以下错误:
[Exception] DateTime::__construct(): 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 'Europe/Berlin' for 'CEST/2.0/DST' instead
这是php.ini中的date.timezone配置
date.timezone = "Europe/Paris"
我会尝试自己解决这个问题,但是如果您知道如何解决它,请立即对此发表评论。谢谢!



