|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-07-10 16:00 UTC] josh at servebyte dot com
[2013-07-10 16:43 UTC] josh at servebyte dot com
[2013-07-10 16:51 UTC] josh at servebyte dot com
[2013-07-10 17:09 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2013-07-10 17:09 UTC] ab@php.net
[2013-07-10 17:24 UTC] josh at servebyte dot com
[2013-07-10 17:40 UTC] ab@php.net
[2013-07-10 19:18 UTC] josh at servebyte dot com
[2013-07-10 22:52 UTC] ab@php.net
[2013-07-10 22:52 UTC] ab@php.net
-Status: Feedback
+Status: Closed
[2013-07-10 22:56 UTC] ab@php.net
-Assigned To:
+Assigned To: ab
[2013-07-10 22:56 UTC] ab@php.net
[2013-07-11 12:52 UTC] josh at servebyte dot com
[2014-10-07 23:18 UTC] stas@php.net
[2014-10-07 23:29 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
Description: ------------ PHP Fatal error: Call to undefined function chroot() in Command line code on line 1 During the configure process it states that chroot is available: "checking for chroot... yes" The php version: "PHP 5.5.0 (cli) (built: Jul 9 2013 15:30:23)" The user is root. As per the documentation, these are the only requirements. Perhaps I missing a configure variable? I have tested with just "./configure" with no params to ensure nothing else is interfering. Thread safety is disabled: "checking whether to enable thread-safety... no" Test script: --------------- php -r "chroot('/var/chroot/');" Expected result: ---------------- The chroot function should be available Actual result: -------------- The chroot function is excluded from the PHP build