Problem with httpd and permission

General support questions
Post Reply
VonSNAKE
Posts: 1
Joined: 2015/08/01 17:41:28

Problem with httpd and permission

Post by VonSNAKE » 2015/08/01 17:47:36

Hi I have a problem which completely beyond me . In the fast I had to change at CentOS7 , installed PHP 5.4.16 , Apache 2.4 , and MySQL. After throwing in the directory / var / www / html / kohana script and giving permission for the whole chown user: apache kohana / - R and try to chown apache : apache cache I have a message ( for apache and write function $ user = posix_getpwuid ( posix_getuid () ) ;
throw new Kohana_Exception ( ' Directory : dir must be writable for : user',
array (' : dir ' = > Kohana :: debug_path ( Kohana :: $ cache_dir ) ' : user' = > $ user [ 'name' ] ) )

Kohana_Exception [0 ] : Directory AppPath / cache must be writable for apache

when :
ls -l gives me this :

drwxrwxrwx . 2 apache apache cache 23 17:59 08-01

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Problem with httpd and permission

Post by gerald_clark » 2015/08/01 19:43:15

Nobody can help you when you throw spaces in where they don't belong.
Show exactly what you do and exactly the messages you get.

If you really entered the chown command you posted you really messed up your system.

Post Reply