mkdir(): Permission denied in /var/www/vtiger/includes/runtime/Viewer.php

8.3k Views Asked by At

I am trying to install vtiger 6 on my ubuntu system on apache server.

I am getting a error while running it :

Warning: mkdir(): Permission denied in /var/www/vtiger/includes/runtime/Viewer.php on line 58

Warning: mkdir(): Permission denied in /var/www/vtiger/includes/runtime/Viewer.php on line 58

I changed the main folder "vtiger" permission 777 bt its still issue can someone help me??

2

There are 2 best solutions below

3
On

SSH to your server and do the following:

cd /var/www
chown -R www-data:www-data .

Make sure you run the chown command in the www folder or vtiger folder if you wish, it is really important that you do not run the command from the root, as it could be catastrophic. This should resolve your issue.

0
On

When you change the directory permissions to 777 for the /test directory this problem is solved.