|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-02-16 21:26 UTC] rasmus@php.net
[2012-02-16 21:26 UTC] rasmus@php.net
-Status: Open
+Status: Feedback
[2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
[2013-02-18 16:04 UTC] bk2 at me dot com
[2013-10-01 05:34 UTC] dmptrcks at gmail dot com
[2013-10-01 19:57 UTC] bk2 at me dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
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