I'm new on Gentoo, and I install nginx\php\fastcgi by emerge
. after that, i was run phpinfo() and found there is no mbstring, then I was compile it by set USE=unicode
. then I saw [mbstring]
in php.ini, and I restarted php-fpm by kill process and run /etc/init.d/php-fpm -R
, but there still haven't mbstring module.
then I check /etc/init.d/php-fpm -m
, there's also haven't.
What's can i do now? and btw is there any way to restart php-fpm, i dont know why there isn't /etc/init.d/php-fpm restart
.
FYI, I did find / -name mbstring
, it's output:
/usr/local/src/php-5.4.14/ext/mbstring
/usr/lib64/php5.4/include/php/ext/mbstring
run # /etc/init.d/php-fpm -h
, output:
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F]
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-h This help
-i PHP information
-m Show compiled in modules
-v Version number
-p, --prefix <dir>
Specify alternative prefix path to FastCGI process manager (default: /usr/local).
-g, --pid <file>
Specify the PID file location.
-y, --fpm-config <file>
Specify alternative path to FastCGI process manager config file.
-t, --test Test FPM configuration and exit
-D, --daemonize force to run in background, and ignore daemonize option from config file
-F, --nodaemonize
force to stay in foreground, and ignore daemonize option from config file
-R, --allow-to-run-as-root
Allow pool to run as root (disabled by default)