问题
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).
来源:https://stackoverflow.com/questions/36128558/php-xdebug-issue-date-timezone-session-save-path-undefined