|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67376 extension_dir
Submitted: 2014-06-03 21:10 UTC Modified: 2014-12-30 10:42 UTC
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: postmaster at angosso dot net Assigned:
Status: No Feedback Package: Output Control
PHP Version: 5.6.0beta3 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-06-03 21:10 UTC] postmaster at angosso dot net
Assign a directory of PHP extensions on the server. Extensions which contain functions of PHP scripts that can be called when my server called a script. Ability to enumerate a path or paths where PHP functions will search for files when a script calls some functions. Php server capacity to separate directory paths by a colon (:) in a linux system * or a semicolon (;) in the environment Apache2 a2enmod. (For example:. :/ :/ Example/path1 example/path2).

Test script:

/* This assume that is configured to parse .php
* by as PHP
include_path = ".;/home/angosson/php/pear"
open_basedir = "/var/www/htdocs/:/var/www/tmp/"
include '';
$index = 1;
$index = 2;
$index = 3;
include 'index.txt/'; 
include 'index.php/';
include 'index1.php/';
include 'index2.php/';
include 'index3.php/'; 

Expected result:
$file = fopen ("", "r");
if (!$file) {
    echo "<p>Unable to open remote file.\n";
while (!feof ($file)) {
    $line = fgets ($file, 1024);
    /* This only works if the title and its tags are on one line */
    if (preg_match ("@\<title\>(.*)\</title\>@i", $line, $out)) {
        $title = $out[1];
php5_extension_dir not work when I use 'httpd.conf' file to configure php5.

        if (cfg_get_string("extension_dir",&php5_ini.extension_dir)==SUCCESS &&

Actual result:
Because this member is cleared on functions/dl.c about line90.


net_exemple (last revision 2014-06-03 21:13 UTC by postmaster at angosso dot net)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-03 23:03 UTC]
-Status: Open +Status: Feedback
 [2014-06-03 23:03 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

Hello again, Mr Angosso. Cryptic bug reports as usual, I see.
 [2014-12-30 10:42 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 "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 07:01:28 2024 UTC