php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64151 Invalid include extension_dir
Submitted: 2013-02-05 10:26 UTC Modified: 2021-06-24 09:39 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: qqqroc at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 5.3Git-2013-02-05 (Git) OS: CentOs 5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: qqqroc at gmail dot com
New email:
PHP Version: OS:

 

 [2013-02-05 10:26 UTC] qqqroc at gmail dot com
Description:
------------
php install in /usr/local/lib/php
php ext in /usr/local/lib/php/ext

Have host catalog:
/home/myhost/{www,ext,log}, where "ext" its clone "/usr/local/lib/php/ext"

include ext in php.ini:
> extension_dir = /usr/local/lib/php/ext
> extension = apc.so
Result: extension loaded

set chroot in config php-fpm:
> chroot = /home/myhost
> chdir = /www
Result: extension loaded

delete string "extension = apc.so" in php.ini, and add in config php-fpm:
> php_admin_value[extension] = apc.so
Result: extension not loaded

Add extension_dir in php-fpm config:
> php_admin_value[extension_dir] = /ext
> php_admin_value[extension] = apc.so
Result: extension not loaded


Change extension_dir in php.ini:
> extension_dir = /ext
And include ext in config php-fpm:
> php_admin_value[extension] = apc.so
Result: extension loaded


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-24 09:39 UTC] cmb@php.net
-Package: Dynamic loading +Package: FPM related
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jun 05 20:03:39 2023 UTC