View Single Post
  #6  
Old 13th October 2012, 21:21
dsautet dsautet is offline
Member
 
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Hello,

Still have a problem.

In fact here is the error I have in my browser when I go my website mywebsite.fr/config.php

Major problems have been detected and must be fixed before continuing :

- Change the permissions of the "app/cache/" directory so that the web server can write into it.
- Change the permissions of the "app/logs/" directory so that the web server can write into it.

I change the chown for all my folders and files and put a chmod 777 for log and cahe's folders like this :

/var/www/mywebsite.fr# ls -la

drwxr-xr-x 6 web2 client0 4096 13 oct. 02:04 app
drwxr-xr-x 2 web2 client0 4096 13 oct. 01:41 bin
drwxr-x--x 2 web2 client0 4096 13 oct. 01:28 cgi-bin
-rwxr-x--x 1 web2 client0 1574 13 oct. 01:41 deps
-rwxr-x--x 1 web2 client0 487 13 oct. 01:41 deps.lock
-rwxr-x--x 1 web2 client0 1065 13 oct. 01:41 LICENSE
lrwxrwxrwx 1 web2 client0 40 13 oct. 01:28 log -> /var/log/ispconfig/httpd/mywebsite.fr
-rwxr-x--x 1 web2 client0 6405 13 oct. 01:41 README.md
drwxr-xr-x 3 web2 client0 4096 13 oct. 01:41 src
drwxr-x--x 2 web2 client0 4096 13 oct. 01:28 ssl
drwxrwxrwx 2 web2 client0 4096 13 oct. 01:28 tmp
drwxr-xr-x 13 web2 client0 4096 13 oct. 01:41 vendor
drwxr-xr-x 5 web2 client0 4096 13 oct. 12:43 web

/var/www/mywebsite.fr/app# ls -la

-rw-r--r-- 1 web2 client0 141 13 oct. 01:41 AppCache.php
-rw-r--r-- 1 web2 client0 1413 13 oct. 01:41 AppKernel.php
-rw-r--r-- 1 web2 client0 1841 13 oct. 01:41 autoload.php
-rw-r--r-- 1 web2 client0 40237 13 oct. 01:41 bootstrap.php.cache
drwxrwxrwx 3 web2 client0 4096 13 oct. 03:09 cache
-rw-r--r-- 1 web2 client0 6026 13 oct. 01:41 check.php
drwxr-xr-x 2 web2 client0 4096 13 oct. 02:12 config
-rwxr-xr-x 1 web2 client0 734 13 oct. 01:41 console
-rw-r--r-- 1 web2 client0 13 13 oct. 01:41 .htaccess
drwxrwxrwx 2 web2 client0 4096 13 oct. 02:04 logs
-rw-r--r-- 1 web2 client0 1327 13 oct. 01:41 phpunit.xml.dist
drwxr-xr-x 3 web2 client0 4096 13 oct. 01:41 Resources

I don't know what I have missed.

Thanks for reply!!

Last edited by dsautet; 13th October 2012 at 21:31.
Reply With Quote