Good day,
TL,DR: Are my folders and httpd.conf file configured correctly?
I'm trying to build a website with a database. So I use httpd, PHP, and mariadb. I also would like to use phpMyAdmin. I downloaded phpMyAdmin with the code below
It located inside /var/www/phpmyadmin. I copied that folder to /var/www/htdocs/my_website.
Code:
ls /var/www/htdocs/my_website/
index.php phpmyadmin
So here is my configuration at /etc/httpd.conf
Code:
#[ MACROS ]
ext_ip = "127.0.0.1"
# [ SERVERS ]
server "default" {
listen on $ext_ip port 80
root "htdocs/my_website"
directory index "index.php"
location "/*.php*" { fastcgi socket "/run/php-fpm.sock" }
}
# [ TYPES ]
types {
include "/usr/share/misc/mime.types"
after starting httpd, and the database, I entered this into the address bar:
"http://localhost/phpMyAdmin/index". But result was like this:
Quote:
phpMyAdmin - Error
The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.
|
I couldn't find any information about httpd and phpMyAdmin on Google. So could you please guide me in order to use them correctly? Thanks in advance.