php中直接执行mysqli_init,也是报Property access is not allowed yet的错误。

xdebug.auto_trace = On 和 xdebug.profiler_enable = On注释掉就OK了,不知道这两个配置项是干嘛的