SA-MP Forums Archive
Linux CentOS 6 VPS - Need help with phpmyadmin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Linux CentOS 6 VPS - Need help with phpmyadmin (/showthread.php?tid=532911)



Linux CentOS 6 VPS - Need help with phpmyadmin - Pravin - 21.08.2014

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?


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - God'Z War - 21.08.2014

Please restart mysql

service mysqld restart


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - Pravin - 21.08.2014

restarted, but still the same

"Not Found

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


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - JacobEdwards - 21.08.2014

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

service mysqld restart
or
service httpd restart


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - God'Z War - 21.08.2014

This will work

service httpd restart


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - Pravin - 21.08.2014

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)


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - Pravin - 21.08.2014

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 ~]#




Re: Linux CentOS 6 VPS - Need help with phpmyadmin - God'Z War - 21.08.2014

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

For that you need to edit phpmyadmin.conf


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - Pravin - 21.08.2014

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?


Re: Linux CentOS 6 VPS - Need help with phpmyadmin - God'Z War - 21.08.2014

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