Can phpMyAdmin be installed on Virtualmin?

Thank you for the reply.
I don’t think an RPM/DEB package was installed into the Virtualmin server, running Red Hat CentOS 6.6.

phpMyAdmin was
downloaded from https://www.phpmyadmin.net/downloads/
using this file: phpMyAdmin-4.4.12-english.tar.gz,
into directory Virtualmin/home/domain.com/public_html,
then unzipped and
renamed to phpmyadmin.

There’s an apache config file named httpd in /usr/sbin, however editing the httpd file show only gobbledegook script, unlike the usual script.

I found /etc/httpd/conf/httpd.conf which has a correct httpd.conf file.
/etc/httpd/conf/httpd.conf code seems to show all the virtualservers/virtualhosts set up with the same style code for each virtualhost.
I don’t think there’s any global alias code.

Someone thinks I should install to the main Virtualmin.
I checked /usr/share and there’s only a php direcory, not phpmyadmin directory.

I found this to install phpmyadmin on Virtualmin, but I’m wondering if apache and phpmyadmin are already installed on Virtualmin.
INSTALLATION OF PHPMYADMIN

https://www.virtualmin.com/node/10199

  1. If you want to install PhpMyAdmin from YUM’s repository, you can check this page (http://wiki.mediatemple.net/w/Install_ISPConfig_on_CentOS_5.5), look for “Install Apache, MySQL, phpMyAdmin”
  2. Edit /etc/httpd/conf.d/phpmyadmin.conf
  3. Change internal “Aliases” in phpmyadmin.conf and save it
  4. Restart Apache (/etc/init.d/httpd restart)

According this link https://www.virtualmin.com/node/9467, installing Virtualmin should install phpMyAdmin, but phpMyAdmin is not in the /usr/share folder?

So, still can’t install a CMS, so trying to install the phpMyAdmin database.
Can someone clarify the permissions which might be a factor?
I manually installed phpMyAdmin (Virtualmin Install Script has error) on root and also the /home/domain.com/public_html.
I assume I set permissions to 777 in root or /home/domain.com/public_html?

Thanks.
I created the Virtualmin database, but apparently I need to set full privileges for the user.
I’m trying to install phpMyAdmin, but error: No package phpmyadmin.
I then need to figure out how to join the Virtualmin database to the CMS.

I set /home/domain.com/public_html to 777, but still doesn’t load?

www.domain.com/adminer.php works and www.domain.com/phpsomedifferencenamemyadmin loads.
ww.domain.com/phpmyadmin refuses to load.

Howdy,

If files in the main public_html folder are accessible, then the only permission that should matter are to make sure that the phpmyadmin folder is world readable. You can do that using “chmod 755” on the phpmyadmin folder.

-Eric

Thanks.
The /home/domain.com/public_html/phpmyadmin folder’s permissions are: drwxr-xr-x 10.

Ok, so phpMyAdmin fixed and working on Virtualmin.
Now back to the error: phpMyAdmin error: You should upgrade to MySQL 5.5.0 or later.

Howdy,

The more recent versions of phpMyAdmin do indeed require MySQL 5.5.x.

Our suggestion is to use an older phpMyAdmin version without that requirement, that’s the easiest way around that issue.

Alternatively, the only other thing we’d recommend is to use a distribution that comes with MySQL 5.5.

Some people do upgrade MySQL on older distributions, but that can be problematic… it doesn’t always go smoothly, and you end up with a MySQL version that isn’t as well tested.

-Eric

Ok, the old phpMyAdmin manual install worked.
Now, I can focus on completing the CMS install.

I have just recommended http://sqlbuddy.com on another post but I forgot all about adminer, I have used it before and it is good

Hello,

I’m new to this Webmin control panel and setup my first Virtual server now when I go to install script I get this error message:

Failed to install script : Download of https://files.phpmyadmin.net/phpMyAdmin/4.4.11/phpMyAdmin-4.4.11-english.zip failed : Failed to lookup IP address for files.phpmyadmin.net

The same thing happend with installing SquirrelMail

Failed to install script : Download of http://prdownloads.sourceforge.net/sourceforge/squirrelmail/squirrelmail-webmail-1.4.22.tar.gz failed : Failed to lookup IP address for prdownloads.sourceforge.net

Anyone who know what the problem here is???

Ferry

Howdy,

It sounds like your server is experiencing a DNS issue.

You may want to verify that the DNS servers listed in /etc/resolv.conf are correct, and that BIND is running.

If that doesn’t help – it may be best to start a new Forum thread, since the issue you’re seeing is different from the issue being seen above… that’ll make it easier to provide assistance. Thanks!

-Eric

Well, I’ve just had issues installing phpmyadmin again.
After updating php, domain.tld/phpmyadmin was missing plugin mbstring.
Fixed the mbstring plugin.
Now error: Forbidden. You don’t have permission to access /phpmyadmin/ on this server.
/home/domain/public_html/phpmyadmin permission is drwxr-xr-x 10

Okay, I am refreshing this thread as phpmyadmin is installing nicely in Virtualmin GUI. However, the error when navigating to www.domain.tls/phpmyadmin says: Forbidden.
Might be a duplicate of this new thread? https://www.virtualmin.com/node/56463

@eiger3970,

Are you able to confirm that the “phpmyadmin” folder exists directly inside the “public_html” folder, and that all the files including “index.php” exist?

Thanks, however this is now solved here https://www.virtualmin.com/node/56689

@eiger3970,

Glad to hear you were able to resolve things :slight_smile:

Hi guys,
I use Virtualmin for a few days and wondering. Is it good practice to install phpMyAdmin script inside sub-directory in /home/public_html ? To be more precise, how can I be sure my security configurations are OK? Asking because I noticed that I can navigate to phpMyAdmin login page even as a regular internet user ?