i'm installing php service on local host. in installation instructions mentioned that:
make application/cache/twig writable php.
so changed ownership , group of twig directory apache , gave write permission group with:
sudo chmod g+w twig
but still cant write twig directory. here apache log:
[mon jan 25 00:53:11.727898 2016] [:error] [pid 10856] [client 192.168.1.103:56528] php fatal error: uncaught exception 'runtimeexception' message 'unable create cache directory (/var/www/html/judge/application/cache/twig/e4/da).' in /var/www/html/judge/application/third_party/twig/lib/twig/environment.php:1236\nstack trace:\n#0 /var/www/html/judge/application/third_party/twig/lib/twig/environment.php(334): twig_environment->writecachefile('/var/www/html/j...', 'loadtemplate('pages/admin/ins...')\n#2 /var/www/html/judge/application/controllers/install.php(276): twig->display('pages/admin/ins...', array)\n#3 [internal function]: install->index()\n#4 /var/www/html/judge/system/core/codeigniter.php(356): call_user_func_array(array, array)\n#5 /var/www/html/judge/index.php(285): require_once('/var/www/html/j...')\n#6 {main}\n thrown in /var/www/html/judge/application/third_party/twig/lib/twig/environment.php on line 1236
also gave 777 permission unfortunately nothing changed.
Comments
Post a Comment