From: Operating system: *nix PHP version: 5.3.10 Package: PHP options/info functions Bug Type: Bug Bug description:Bizarre interaction with php.ini not setting include_path
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 bug report at https://bugs.php.net/bug.php?id=61114&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61114&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61114&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61114&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61114&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61114&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61114&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61114&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61114&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61114&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61114&r=support Expected behavior: https://bugs.php.net/fix.php?id=61114&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61114&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61114&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61114&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61114&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61114&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61114&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61114&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61114&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61114&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61114&r=mysqlcfg