Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6496

I recieve a file instead of access PhpMyAdmin page [duplicate]

$
0
0

When I installed Php, PhpMyAdmin and Nginx, I recievied this file with these code file instead of access to

http://localhost:80/phpmyadmin

<?phpdeclare(strict_types=1);use PhpMyAdmin\Routing;if (! defined('ROOT_PATH')) {    // phpcs:disable PSR1.Files.SideEffects    define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);    // phpcs:enable}global $route, $containerBuilder;require_once ROOT_PATH . 'libraries/common.inc.php';$dispatcher = Routing::getDispatcher();Routing::callControllerForRoute($route, $dispatcher, $containerBuilder);

I've done like thisphpmyadmin 404 error in nginxto fix the 404 error but after that I've received error above.Sorry for my bad English.


Viewing all articles
Browse latest Browse all 6496

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>