Question
Can't access phpMyAdmin after installing on new droplet made with "Drupal on Ubuntu" one-click application?
Here’s what I did:
1) I created a new droplet using the “Drupal 7.32 on Ubuntu 14.04” one-click application. This creates a LEMP server with Drupal install at /var/www/html/drupal
2) Next I followed the steps on how to setup the initial server using the tutorial at Initial Server Setup with Ubuntu 14.04.
3) I then followed the steps on how to install phpMyAdmin on a LEMP server at How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server
The article in step 3 above said to use the ln
command to create a symlink like this:
sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html
But that didn’t work so I asked for help at the bottom of that tutorial and contributor “kamain7” suggested I create the symlink like this:
sudo ln -s /usr/share/phpmyadmin /var/www/html/drupal/phpmyadmin
But that didn’t work either and no one else has volunteered any other advice. Is it something with the symlink? Is their something odd with the Drupal on Ubuntu one-click application I am not aware of? Am I doing something wrong?
Please help.
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.
×
I have same problem and couldn’t find any solution. I tried everything but still getting 404 not found error.
Also having this issue. Still haven’t found a fix
It’s been more than a month since I posted my original comment and I havenot found the solution and no one at Digital Ocean has fixed it or told me what I’m doing wrong. Very discouraging.
@roro, @fubofo I found a solution finally, hopefully it works with you too.
Install phpmyadmin properly and add this lines to your /etc/nginx/sites-available/drupal file:
and restart php5-fpm and nginx.
here is my full nginx configuration page:
@zgurb I finally found time to try your solution and it worked! Thanks!
Thank you very much my friend. Greatly appreciated.