phpMyAdmin on CentOS

  • Posted May 30, 2013


I’m stuck at installing phpMyAdmin, because it seems I do something wrong all the time. I have already installed LAMP and vsftpd+ftp on my droplet (CentOS 6.4). What should my next steps be?

yum install phpMyAdmin

Doesn’t work, as there is no such package.

So I had to upload a .tar archieve with the latest version of phpMyAdmin to my FTP, uncompressed/copied the files over to /var/www/html/. Now is the question what next? I’ve been trying to make config files and access the GUI installer via web browser, but here is where I’m completely lost. Can anyone please write a step by step instruction on how to install the thing starting from this point?

P.S. Also, how will my correct command look like to make a symbolic link for ./phpMyAdmin-VERSION-LANGUAGE/ -> ./phpMyAdmin/ ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thank you for this help

@vignesh: Please create a new community question. Make sure you include all the commands you have run to install phpmyadmin.

I followed the steps exactly and still could not make phpmyadmin work. <br> <br>Can anyone help me ?

Ah, got it working. <br> <br>I ran ‘sudo yum install php-mbstring’ <br> <br>Thanks!

Yes, there is: <br> <br>PHP Fatal error: Call to undefined function mb_detect_encoding() in /var/www/html/phpMyAdmin/libraries/php-gettext/ on line 177 <br>

@andy: Check Apache’s error logs: <br> <br><pre>tail /var/log/httpd/error_log</pre> <br>Are there any errors?

I followed these instructions and I’m getting a server error: <br> <br>The website encountered an error while retrieving It may be down for maintenance or configured incorrectly. <br>Error code: 500 <br> <br>I have the LAMP stack installed on my Centos droplet and it’s working fine otherwise. <br> <br>Any ideas?

@hypertextsol What error do you get?

everything is running fine, except phpmyadmin

yes @kamal Naseer I have installed exactly as mentioned in that article (except the securing the ssh which was optional)