Submitted by apolizu on Mon, 02/09/2015 - 02:50
Hi Guys,
I just found this problem. When I try to install phpMyAdmin through 'Install Script' it throws this error:
Configuring webserver PHP settings .. .. already done.
Now installing phpMyAdmin version 4.3.9 ..
Failed to extract source :
cp: failed to access '/home/user/public_html/domain.com/phpmyadmin': Permission denied
.. failed! See the error message above for the reason why.
Note, removing /home/user/public_html/domain.com/phpmyadmin folder will throw another error:
Failed to extract source : Failed to create target directory : mkdir: cannot create directory '/home/user': Permission denied
All folders and files belongs to that username. Adding 777 permission to /home/user/public_html/domain.com/phpmyadmin will not help.
Thank you.
Status:
Closed (fixed)
Comments
Submitted by apolizu on Mon, 02/09/2015 - 04:36 Comment #1
In my case this was caused by Virtual Server Details from httpd.conf and Virtualmin interface being different. In the 'Virtual server details' for that specific domain, the Home Directory is pointed to /home/username and in /etc/httpd/conf/httpd.conf the DocumentRoot directory is pointed to /home/anotheruser/public_html/domain.com. Because of this it shows 'Permission Denied' error. Thanks.
Submitted by andreychek on Mon, 02/09/2015 - 09:41 Comment #2
Howdy -- great, we're glad you got it working!