Where is the default extension address set in php. ini?

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.