PHP Xdebug issue - date.timezone & session.save_pa

2019-03-02 15:02发布

问题:

After installing and enable xdebug date.timezone and session.save_path shows no value. If I disable the xdebug, everything works well.

So, why above values becomes empty when I enable xdebug?

Additional Information:

xdebug version: 2.2.3
Php version: 5.5
OS: Ubuntu 14.04

回答1:

I found the solution by myself.

All the settings like date.timezone and session.save_path needs to be initialized before you define/enable xdebug.

It is always better to load xdebug extension at the end of file(php.ini).



标签: php xdebug