Hey,
does anybody knows how to set the root in php?
i found chroot php function.
But i get 'Call to undefined function: chroot()' error.
how do i call this function properly?
I've seen that this function requires at least vesrion 4.0.5
Mine is 4.4.4, so normally that wouldn't be a problem.
Anyone knows?
thanx
set root in php: chroot?
Moderator: General Moderators
you could try this little piece of code to see if the function is available to you
Code: Select all
if(function_exists('chroot'))
{
echo 'exists';
} else
{
echo 'does not exist';
}Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Re: set root in php: chroot?
There are more requirementsBevibed.be wrote:I've seen that this function requires at least vesrion 4.0.5
Mine is 4.4.4, so normally that wouldn't be a problem.
http://de2.php.net/chroot wrote:This function is only available if your system supports it and you're using the CLI, CGI or Embed SAPI.