douhuan1380 2011-04-28 10:07
浏览 317
已采纳

php.ini在php-cli中重新加载

I have php script that must be runned from console (php-cli). But configuration of php.ini for php-cli was incorrect. I fix it, but when I run script a had error with php config, because php.ini uses an old.

How I can reload php.ini for console without restart server?

  • 写回答

1条回答 默认 最新

  • doutun1362 2011-04-28 10:10
    关注

    The configuration is loaded fresh each time you invoke PHP from the CLI.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?