私は Gentoo の初心者で、nginx\php\fastcgi を でインストールしemerge
ます。その後、私は phpinfo() を実行しましたが、mbstring がないことがわかったので、 set でコンパイルしましたUSE=unicode
。その後[mbstring]
、php.ini で確認し、kill process と run/etc/init.d/php-fpm -R
で php-fpm を再起動しましたが、まだ mbstring モジュールがありません。
それから私はチェック/etc/init.d/php-fpm -m
します、持っていないものもあります。
私は今何ができますか?ところで、php-fpmを再起動する方法はありますが、なぜないのかわかりません/etc/init.d/php-fpm restart
。
参考までにfind / -name mbstring
、それは出力です:
/usr/local/src/php-5.4.14/ext/mbstring
/usr/lib64/php5.4/include/php/ext/mbstring
実行# /etc/init.d/php-fpm -h
、出力:
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)