phpMyAdmin Failed to extract source Permission denied

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

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.

Howdy -- great, we're glad you got it working!