Bug #52259 [Opn]: Not loaded extensions when using PATH in php.ini

From: Date: Fri, 09 Jul 2010 22:01:48 +0000
Subject: Bug #52259 [Opn]: Not loaded extensions when using PATH in php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-152252@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52259&edit=1

 ID:               52259
 Updated by:       rasmus@php.net
 Reported by:      petrhamak at gmail dot com
 Summary:          Not loaded extensions when using PATH in php.ini
 Status:           Open
 Type:             Bug
 Package:          PHP options/info functions
 Operating System: FreeBSD 7.2 64bit
 PHP Version:      5.3.2

 New Comment:

I tested this here.  If I do:

extension=oauth.so
[PATH=/some/path]
foo=bar

my oauth.so is loaded just fine.


Previous Comments:
------------------------------------------------------------------------
[2010-07-09 23:55:25] petrhamak at gmail dot com

Is it possible fix this bug?

Johannes, '[2010-07-06 06:13 UTC] johannes@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] johannes@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


Thread (5 messages)

« previous php.bugs (#152252) next »