phpmyadmin
so i installed this on a home server for fun and who knows what later.but when i try and access phpmyadmin it takes me to index page of site...any ideas why?
|
Quote:
What operating system? Apache/Nginx? What PHP version? What MySQL version? How did you install it? Have you checked/enabled error logs? |
ubuntu 14.4
ngnix PHP 5.5.9-1 mysql Ver 14.14 Distrib 5.5.53 followed this guide https://github.com/WhatCD/Gazelle/wi...n-Ubuntu-14.04 install phpmyadmin as well and nothing in rror logs |
Did you install PhpMyAdmin via apt?
Have you created a symlink? If not you will need to do the following Code:
sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html Restart php and nginx for good measure and you should be able to load it from http://yourdomain/phpmyadmin And remember to lock it down to your IP or VPN if possible |
Quote:
https://www.digitalocean.com/communi...u-14-04-server |
Thanks for the replys,here is what i get
@ubuntu:~$ sudo php5enmod mcrypt WARNING: Not enabling the mcrypt module for cli SAPI since module symlink WARNING: already exists in /etc/php5/cli/conf.d with different content. WARNING: Not enabling the mcrypt module for fpm SAPI since module symlink WARNING: already exists in /etc/php5/fpm/conf.d with different content. |
What about the symlink? Did that work?
|
said file already exsits
|
Ok, well with all the feedback your not providing its near impossible for us to help.
Try the above guide that Zuby provided. |
gave you answers to all ur questions...i dont know what is wrong so i cant be of much more help,that guide didnt work either.
|
use apache2..nginx kinda suckz..
|
i could but that don't figure out why it don't work tho.
|
go into your conf available directory from nginx..look for @phpmyadmin.conf
get into that conf..make sure alias(location): Alias /phpmyadmin /usr/share/phpmyadmin restart nginx/php5-fpm.. give it another go. |
i dont see that at all
|
well why not? if its for apache it should be for nginx.. never used nginx
btw.. phpmyadmin is not suported by default with nginx, only apache2 and lighthttpd Open /etc/nginx/sites-available/ ... default config and default ssl..if you have any then add: Code:
location /phpmyadmin { server{ ...... code code } restart nginx |
make sure the paths are correct maybe your root aint */*/html maybe it is */*/www and check that phpmyadmin is in usr/share/... if not you need to change the symlink according to it
|
|
Quote:
|
when you install phpmyadmin you get only apache2 lighthttpd options to configure.
if use nginx need to manually configure the paths |
You just need to make a symbolic link something similar to:
Code:
ln -s /usr/share/phpmyadmin /usr/share/nginx/html |
I know.. i'm just saying that by default nginx isn't an option on the installer
|
phpmyadmin installation
Just place all the files into a subdir under your existing root (where your index page is), and then browse to localhost/phpmyadmin/
It should work. No need to complicate anything with nginx path directives. |
All times are GMT +2. The time now is 12:43. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.