php.ini extension where the default address is set
I used the ubuntu12.04, installed through Apt-get nginx+php-fpm+mysql
Here is the extension_dir part of/etc/php5/fpm/php.ini
; Directory in which the loadable Extensions (modules) reside.
; Http://php.net/extension-dir
; Extension_dir = "./"
; On Windows:
; Extension_dir = "ext"
But the real extension_dir is/usr/lib/php5/20090626+lfs.
I checked all the PHP-related configuration files, and I didn't find the Extension_dir setting value.
Solution Yes
Share to:
------Solution--------------------
; Extension_dir = "./"
Remove the front semicolon and fill in your path.
------Solution--------------------
This extension_dir is specified at compile time, so there will be a default value
Then you can manually specify it in the php.ini, which is what LS says.
citation:
; extension_dir = "./"
Remove the front semicolon and fill in your path.