PHP.ini in the extension of the tacit address where in the end is set

Source: Internet
Author: User
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.
  • Related Article

    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.