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

What is 405 not allowed?
From
mozillaexplains: The HTTP 405 Method Not Allowed response status code indicates that the server knows the request method, but the target resource doesn't support this method. It's important to note that the GET and HEAD methods must not be disabled and should not return a 405 status code. Simply put, your website server has an error and cannot access the phpMyAdmin backend normally. You don't need to understand GET and HEAD. Below, Naibabiji shares the method to solve the 405 not allowed error in Baota Panel.
Solving 405 not allowed in Baota Panel
The 405 not allowed error when accessing phpMyAdmin in Baota Panel is usually caused by a mismatch between the PHP and phpMyAdmin versions. Pay attention to whether your installed versions match as follows:
In Software Management - phpmyadmin - Settings - PHP Version
Then select the corresponding PHP version.
phpMyAdmin and PHP version matching instructions:
If you only have PHP 5.2, install phpMyAdmin 4.1.
If you only have PHP 5.5 or below, install phpMyAdmin 4.4.
If you only have PHP 5.6, install phpMyAdmin 4.6.
If you only have PHP 7.x, install phpMyAdmin 4.7/4.8.
We just need to go to the Software Store in Baota Panel, uninstall the currently installed phpMyAdmin version, and reinstall a different version. If that doesn't work, try reinstalling a different version of PHP, and the problem should be solved. For more articles related to Baota Panel, please visit the link below.
Topic LinksView.
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.