php.ini reload in php

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?


每次从CLI调用PHP时,配置都会被新加载。

链接地址: http://www.djcxy.com/p/57682.html

上一篇: PHP升级到v.5.3的突破包括?

下一篇: php.ini在PHP中重新加载