php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52259 Not loaded extensions when using PATH in php.ini
Submitted: 2010-07-06 01:52 UTC Modified: 2013-02-18 00:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: petrhamak at gmail dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 5.3.2 OS: FreeBSD 7.2 64bit
Private report: No CVE-ID: None
 [2010-07-06 01:52 UTC] 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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-06 10:13 UTC] johannes@php.net
-Package: PHP options/info functions +Package: Documentation problem
 [2010-07-06 10:13 UTC] 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 10:55 UTC] 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-09 23:55 UTC] petrhamak at gmail dot com
-Package: Documentation problem +Package: PHP options/info functions
 [2010-07-09 23:55 UTC] 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-10 00:01 UTC] rasmus@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-08-02 00:27 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-08-02 00:27 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC