From:             qqqroc at gmail dot com
Operating system: CentOs 5
PHP version:      5.3Git-2013-02-05 (Git)
Package:          Dynamic loading
Bug Type:         Bug
Bug description:Invalid include extension_dir

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


-- 
Edit bug report at https://bugs.php.net/bug.php?id=64151&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64151&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64151&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64151&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64151&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64151&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64151&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64151&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64151&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64151&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64151&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64151&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64151&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64151&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64151&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64151&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64151&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64151&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64151&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64151&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64151&r=mysqlcfg

Reply via email to