You are not logged in.

#1 2023-08-07 08:27:26

Nika0
Member
Registered: 2023-07-31
Posts: 9

[SOLVED] Can't install phpmyadmin

I don't know what am I doing wrong, especially since I don't really know what I'm doing other than following wikis and tutorials but phpmyadmin keeps throwing me this whenever I go to localhost/phpmyadmin:

PHP 7.2.5+ is required.

Currently installed version is: ' . PHP_VERSION . '
'); } // phpcs:disable PSR1.Files.SideEffects define('PHPMYADMIN', true); // phpcs:enable require_once ROOT_PATH . 'libraries/constants.php'; /** * Activate autoloader */ if (! @is_readable(AUTOLOAD_FILE)) { die( '

File ' . AUTOLOAD_FILE . ' missing or not readable.
' . '

Most likely you did not run Composer to ' . '' . 'install library files.
' ); } require AUTOLOAD_FILE; global $route, $containerBuilder, $request; Common::run(); $dispatcher = Routing::getDispatcher(); Routing::callControllerForRoute($request, $route, $dispatcher, $containerBuilder); 

Running php --version:

PHP 8.2.9 (cli) (built: Aug  1 2023 12:25:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.9, Copyright (c) Zend Technologies

The only somewhat good resource on this error is from this issue on phpmyadmin GitHub:
https://github.com/phpmyadmin/phpmyadmin/issues/17726

It doesn't really elaborate on how to fix it though other than

hdawg12 wrote:

I uninstalled mysql database from kali and I'm now using xamp(lampp).

which doesn't really tell me how to fix it.

Last edited by Nika0 (2023-08-07 12:20:49)

Offline

#2 2023-08-07 09:01:20

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,005
Website

Re: [SOLVED] Can't install phpmyadmin

What webserver are you using? apache2, nginx?
How did you configure your PHP interpreter?
Are you using php-fpm or apache's built-in stuff?


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2023-08-07 09:25:52

Nika0
Member
Registered: 2023-07-31
Posts: 9

Re: [SOLVED] Can't install phpmyadmin

schard wrote:

What webserver are you using? apache2, nginx?

Apache2 I believe.

schard wrote:

How did you configure your PHP interpreter?
Are you using php-fpm or apache's built-in stuff?

You lost me here, I'm not all that versed in this kind of thing so could you kindly explain to me how I can figure it out? Thank you.

Offline

#4 2023-08-07 10:35:07

jonno2002
Member
Registered: 2016-11-21
Posts: 688

Re: [SOLVED] Can't install phpmyadmin

sounds like you have 'php' installed but not 'php-fpm' or whatever apache uses (i use nginx so i dont know), luckily the wiki has all the info you need here: https://wiki.archlinux.org/title/Apache_HTTP_Server#PHP

Offline

#5 2023-08-07 11:49:28

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,005
Website

Re: [SOLVED] Can't install phpmyadmin

Nika0 wrote:

Apache2 I believe.

Why can't you tell for sure?
How did you install Arch Linux and $WEBSERVER?
Which guides did you follow to set up your webserver?

Nika0 wrote:

You lost me here, I'm not all that versed in this kind of thing so could you kindly explain to me how I can figure it out? Thank you.

The answer to this will be implied by answering the questions above.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#6 2023-08-07 12:20:23

Nika0
Member
Registered: 2023-07-31
Posts: 9

Re: [SOLVED] Can't install phpmyadmin

jonno2002 wrote:

sounds like you have 'php' installed but not 'php-fpm' or whatever apache uses (i use nginx so i dont know), luckily the wiki has all the info you need here: https://wiki.archlinux.org/title/Apache_HTTP_Server#PHP

I'm dumb, that helped a lot and I'm troubleshooting small errors now. I got to log in and everything so thank you and I'm sorry for wasting time for both of you.

Offline

Board footer

Powered by FluxBB