Bug #64151 [Asn]: Invalid include extension_dir

From: Date: Sun, 17 Sep 2023 16:53:25 +0000
Subject: Bug #64151 [Asn]: Invalid include extension_dir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245392@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64151&edit=1 ID: 64151 Updated by: bukka@php.net Reported by: qqqroc at gmail dot com Summary: Invalid include extension_dir Status: Assigned Type: Bug Package: FPM related Operating System: CentOs 5 PHP Version: 5.3Git-2013-02-05 (Git) Assigned To: bukka Block user comment: N Private report: N New Comment: I have just tested this with 8.3 and it is no longer an issue. I actually found another bug ( https://github.com/php/php-src/issues/12232 ) when testing this initially. Once fixed or with opache enabled I was not able to re-create this. The php_admin_value[extension_dir], php_admin_value[extension], chroot, chdir as wel as trying some combination of that and all works just fine for me. As this is very old and it could have been potentially fixed by some other fix, I will close this. If you still experience the issue, please comment here or preferrably open a new GitHub issue. Previous Comments: ------------------------------------------------------------------------ [2013-02-05 10:26:42] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64151&edit=1

« previous php.bugs (#245392) next »