Many users who purchase VPS to build their own websites choose to use Baota Panel to install the website environment. Today, when Naiba was helping a netizen install a website, after adding the website in Baota Panel, accessing the phpMyAdmin backend reported an error, prompting „405 not allowed“. Sharing the solution.

What is 405 not allowed?
From
mozillaThe explanation is: Status code 405 Method Not Allowed indicates that the server has forbidden the request using the current HTTP method. It should be noted that the GET and HEAD methods must not be forbidden, and of course, must not return status code 405. Simply put, there is an error with your website server, and you cannot normally access the phpMyAdmin backend. You don't need to understand GET and HEAD. Below, Naibabiji shares the method to solve the 405 not allowed error in Baota Panel.
Baota Panel solution for 405 not allowed
The Baota Panel access to phpMyAdmin reporting a 405 not allowed error is usually caused by a mismatch between the PHP and phpMyAdmin versions. Pay attention to whether the versions you installed are like this:
In Software Management - phpMyAdmin - Settings - PHP Version, then select the corresponding PHP version. phpMyAdmin and PHP matching instructions: If you only have PHP 5.2, please install phpMyAdmin 4.1. If you only have PHP 5.5 and below, please install phpMyAdmin 4.4. If you only have PHP 5.6, please install phpMyAdmin 4.6. If you only have PHP 7.x, please install phpMyAdmin version 4.7/4.8.
We just need to enter the Baota Panel's Software Store, uninstall the currently installed phpMyAdmin version, and reinstall a different version. If that doesn't work, then reinstall a different version of PHP, and the problem will be solved. For more articles related to Baota Panel, please visit the
Topic Linkto view.
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.