When trying to run a php code on my Ubuntu machine
if ( ! is_dir($system_path))
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: '.pathinfo(__FILE__, PATHINFO_BASENAME);
exit(3); // EXIT_CONFIG
}
He is experiencing an error:
I realize that it may be a permission error on my machine, I tried to follow this tutorial: link
But when running second command: $ chmod go+x /var/www
my Ubuntu displays the following error message:
chmod: alterando permissões de “/var/www”: Operação não permitida
Any tips on what can be?