Php. in ini, where is the default extension address? I used ubuntu12.04 and installed nginx + php-fpm + mysql through apt-get. The following is/etc/php5/fpm/php. extension_dir in ini; & php. in ini, where is the default extension address set?
I used ubuntu12.04 to install nginx + php-fpm + mysql through apt-get.
Below is the extension_dir section in/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"
However, the true extension_dir is/usr/lib/php5/20090626 + lfs.
I checked all the php-related configuration files and did not find the extension_dir setting value.
Solving
Share:
------ Solution --------------------
; Extension_dir = "./"
Remove the semicolon before this sentence and fill in your path
------ Solution --------------------
This extension_dir is specified during compilation, so there is a default value.
Then you can manually specify in php. ini, that is, what LS says.
Reference:
; Extension_dir = "./"
Remove the semicolon before this sentence and fill in your path