Edit report at https://bugs.php.net/bug.php?id=61114&edit=1
ID: 61114 Updated by: php-bugs@lists.php.net Reported by: bk2 at me dot com Summary: Bizarre interaction with php.ini not setting include_path -Status: Feedback +Status: No Feedback Type: Bug Package: PHP options/info functions Operating System: *nix PHP Version: 5.3.10 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-02-16 21:26:55] ras...@php.net Near the top of your phpinfo() output it says: Loaded Configuration File: /path/to/your/php.ini Does that show the right path? ------------------------------------------------------------------------ [2012-02-16 21:24:12] bk2 at me dot com Description: ------------ include_path was not being set as shown by phpinfo.php from php.ini Its stuck at include_path .:/usr/lib/php .:/usr/lib/php <skipping diagnostic saga> If you ALSO change (per below), you lose the ability to alter include_path disable_functions = to disable_functions = (unlink, rmdir, fopen, dio_open, scandir, dir, opendir,chdir, chroot, getcwd, finfo_open, copy, delete, dirname, file_exists, file_get_contents, file_put_contents, file, ftruncate, fwrite, lchgrp, lchown, is_dir, link, mkdir, move_uploaded_file, pathinfo, popen, readfile, readlink, realpath, rename, symlink, tempnam, tmpfile, touch, umask, xdiff_file_bdiff, xdiff_file_diff, xdif_file_merge3, xdiff_file_patch) Test script: --------------- // in php.ini set include_path = /xyz/abc //AND disable_functions = (unlink, rmdir, fopen, dio_open, scandir, dir, opendir,chdir, chroot, getcwd, finfo_open, copy, delete, dirname, file_exists, file_get_contents, file_put_contents, file, ftruncate, fwrite, lchgrp, lchown, is_dir, link, mkdir, move_uploaded_file, pathinfo, popen, readfile, readlink, realpath, rename, symlink, tempnam, tmpfile, touch, umask, xdiff_file_bdiff, xdiff_file_diff, xdif_file_merge3, xdiff_file_patch) Expected result: ---------------- run phpinfo.php it should show include_path /xyz/abc /xyz/abc Actual result: -------------- phpinfo.php Is stuck at include_path .:/usr/lib/php .:/usr/lib/php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61114&edit=1