Linux CentOS 6 VPS - Need help with phpmyadmin
#1

Hey,

I have installed phpmyadmin by learning from this tutorial : https://www.digitalocean.com/communi...centos-6-4-vps

Now, when i go to myvpsip/phpmyadmin it says

"Not Found

The requested URL /phpmyadmin was not found on this server."

Can anyone help me please?
Reply
#2

Please restart mysql

service mysqld restart
Reply
#3

restarted, but still the same

"Not Found

The requested URL /phpmyadmin was not found on this server."
Reply
#4

Quote:
Originally Posted by God'Z War
Посмотреть сообщение
Please restart mysql

service mysqld restart
or
service httpd restart
Reply
#5

This will work

service httpd restart
Reply
#6

Quote:

[Thu Aug 21 06:53:40 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin /suexec)
[Thu Aug 21 06:53:40 2014] [notice] Digest: generating secret for digest authent ication ...
[Thu Aug 21 06:53:40 2014] [notice] Digest: done
[Thu Aug 21 06:53:40 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- res uming normal operations
[Thu Aug 21 06:55:50 2014] [error] [client XX.XX.XX.X] Directory index forbidde n by Options directive: /var/www/html/
[Thu Aug 21 06:55:55 2014] [error] [client XX.XX.XX.X] File does not exist: /va r/www/html/favicon.ico
[Thu Aug 21 07:03:33 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 07:26:04 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 07:44:23 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:04:14 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:21:34 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:21:34 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:23:04 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:24:01 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:24:05 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:24:06 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/phpmyadmin
[Thu Aug 21 08:30:52 2014] [error] [client XX.XX.XX.X] File does not exist: /v r/www/html/mysql

This is what i found on the error log.. :/

(Note : XX.XX.XX.X is my IP)
Reply
#7

Quote:
Originally Posted by God'Z War
Посмотреть сообщение
This will work

service httpd restart
tried restarting..

It says 'forbidden' now

Quote:

Forbidden

You don't have permission to access /phpmyadmin/ on this server.

And when i did 'service httpd restart', it showed this :

Quote:

[root@y6rgepa2xc ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using X.XXX.XXX.XXX for ServerName
[ OK ]
[root@y6rgepa2xc ~]#

Reply
#8

Yes, now you need to make available for your ip or all ip

For that you need to edit phpmyadmin.conf
Reply
#9

Quote:
Originally Posted by God'Z War
Посмотреть сообщение
Yes, now you need to make available for your ip or all ip

For that you need to edit phpmyadmin.conf
how can i make it for all IP?
Reply
#10

Goto to this location /etc/httpd/conf.d/phpMyAdmin.conf

then edit phpmyadmin.conf
change 'Deny for all' To 'Allow for all'

Then service httpd restart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)