Scene:
yaf
In the second half of the directory, two items one support namespace, one not supported.
However using aphp.ini
Yaf.use_namespace 0 Php_ini_system is turned on, YAF will register his class using a namespace, such as Yaf_application will become yaf\application
is open two fpm, start time load different ini?
Or in the fpm-conf, can be configured under?
Thank you first.
Reply content:
Scene:
yaf
In the second half of the directory, two items one support namespace, one not supported.
However using aphp.ini
Yaf.use_namespace 0 Php_ini_system is turned on, YAF will register his class using a namespace, such as Yaf_application will become yaf\application
is open two fpm, start time load different ini?
Or in the fpm-conf, can be configured under?
Thank you first.
2 different ways,
1, change the value of Namespance with Ini_set at the program entrance
2, start 2 php-fpm, use -c
parameters to specify the php.ini to be loaded, -y
parameters specify php-fpm.conf, enable different listening ports, is the 2 way you say.