Edit report at http://bugs.php.net/bug.php?id=52259&edit=1
ID: 52259 Updated by: fel...@php.net Reported by: petrhamak at gmail dot com Summary: Not loaded extensions when using PATH in php.ini -Status: Open +Status: Feedback Type: Bug Package: PHP options/info functions Operating System: FreeBSD 7.2 64bit PHP Version: 5.3.2 Block user comment: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2010-07-10 00:01:48] ras...@php.net I tested this here. If I do: extension=oauth.so [PATH=/some/path] foo=bar my oauth.so is loaded just fine. ------------------------------------------------------------------------ [2010-07-09 23:55:25] petrhamak at gmail dot com Is it possible fix this bug? Johannes, '[2010-07-06 06:13 UTC] johan...@php.net', doesn't understand what I have written. This is not documentation problem. ------------------------------------------------------------------------ [2010-07-06 10:55:03] petrhamak at gmail dot com This bug isn't about separately loading extensions per dir. It's about php engine load no extensions on php startup when there is "[PATH..." in php.ini. ------------------------------------------------------------------------ [2010-07-06 10:13:51] johan...@php.net This should be clarified in the docs: Extensions are loaded globally on PHP startup. They won't be loaded per dir. ------------------------------------------------------------------------ [2010-07-06 01:52:00] petrhamak at gmail dot com Description: ------------ It doesn't load extensions when I use [PATH=/home/webdirectory/]. Everything looks OK, but no extensions are loaded. All extensions are loaded correctly only when I remove all PATH configuration directives in php.ini. Test script: --------------- <? phpinfo(); or any other using functions from any extensions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52259&edit=1