Error 404 when call phpMyAdmin

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 15. July 2022 20:45

I have installed phpMyAdmin on Centos 8 server I believe that the installation was ok but when I call the phpMyAdmin in my browser I'm receiving "Error 404".
Thanks in advance by any help.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 16. July 2022 23:28

Error 404 means, Apache cannot find the file or folder. Where did you install phpmyadmin, what do you enter into the browser and what is the DocumentRoot?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 19. July 2022 11:21

My phpMyAdmin are installed in: /var/www/phpMyAdmin
I'm calling in my browser: http://localhost/phpMyAdmin

Sorry by delay.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 20. July 2022 09:14

Xampps DocumentRoot is /opt/lampp/htdocs, not /var/www

If you installed different stack than Xampp, ask in an appropriate forum where the DocumentRoot is. We cannot know all distributions here.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 20. July 2022 11:22

http://ServerIP/phpmyadmin and http://HostName/phpmyadmin too.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 20. July 2022 11:45

When I opened this contact I have installed the phpMyAdmin following an link of the web that have this path, by don't have know to solve the error I uninstall the phpMyAdmin and reinstall phpmyadmin following another web link and the path is another that is /usr/share. I don't find any installation of phpmyadmin using Xampps DocumentRoot.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 20. July 2022 22:26

Did you install Xampp?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 21. July 2022 10:50

No I don't have installed xampp, I have installed Apache, MySQL, PHP, phpMyAdmin in my VPS Server manually.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 21. July 2022 11:27

Ask your provider, we do not support third party providers neither Linux Distributions. This as also not a phpmyadmin issue, you obviously dont know where to install PHP Scripts on your VPS. I cannot tell you that. I have no clue about your server.

Actually, i really wonder why you enter http://localhost/phpMyAdmin into your browser, your VPS server *should* have a real Domain name? "localhost" is your PC where your browser is running, instead of localhost you should provide the Domain name you reserved from your provider.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 21. July 2022 12:33

My wrong.
But still same problem with: "http://ServerIP/phpmyadmin" and "http://HostName/phpmyadmin" too.
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 21. July 2022 12:56

Above you wrote phpMyAdmin with capital M and A - folder names are case sensitive. If it still dont works, ask your provider, we cannot solve this here.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 23. July 2022 14:52

Hi, I followed this link to install phpMyAdmin: https://www.rosehosting.com/blog/how-to-install-phpmyadmin-on-centos-8/
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby Nobbie » 23. July 2022 19:04

There is a 24/7 support, ask them. Its not my tutorial. Tell them, it does not work.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Error 404 when call phpMyAdmin

Postby Cezar Apulchro » 26. July 2022 22:16

Hi, now I receiving an error that is more clarify but I don't have knowledge to solve, the error is:

Forbidden
You don't have permission to access this resource.

My phpmyadmin.conf:
Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin/>
AddDefaultCharset UTF-8

<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
Require ip xxx.xxx.xxx.xx
Require ip 127.0.0.1 xxx.xxx.xxx.xx
Require all granted
</RequireAny>
</IfModule>

<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Allow from 127.0.0.1
Allow from ::1
Allow from xxx.xxx.xxx.xx
</IfModule>
</Directory>

Can you help me?
Cezar Apulchro
 
Posts: 11
Joined: 15. July 2022 20:32
Operating System: Centos 8

Re: Error 404 when call phpMyAdmin

Postby nisha6 » 25. November 2023 13:02

I think the error message indicates that you do not have permission to access the phpMyAdmin directory. To fix this, you need to make sure that the user that Apache is running has read permissions for the phpMyAdmin directory. You can do this by adding the following line to your phpMyAdmin.conf file:

<Directory /usr/share/phpmyadmin/>
<FilesMatch .*>
Order allow,deny
Allow from all
</FilesMatch>
</Directory>

Once you have added this line, you should restart Apache and you should be able to access phpMyAdmin. thanks
nisha6
 
Posts: 1
Joined: 25. November 2023 12:46
Location: india
XAMPP version: /xampp-linux/xampp
Operating System: windows

Next

Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 1 guest