My Youtube Channel

Please Subscribe

Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Thursday, February 1, 2024

Steps to install HTTPD, PHP, MYSQL and PHPMYADMIN in CentOS 8

Steps to install httpd in CentOS 8sudo yum install dnfsudo dnf updatesudo dnf install httpdsudo systemctl start httpdsudo systemctl enablr httpdsudo systemctl enable httpdsudo firewall-cmd --add-service=http --permanentsudo firewall-cmd --reloadsudo systemctl status httpdsudo dnf update Steps to install PHP in CentOS 8sudo dnf updatesudo dnf install epel-releasesudo...

Saturday, August 5, 2023

Will "mysqli" extension work for MariaDB database?

Yes, `mysqli` can work with MariaDB in PHP. The `mysqli` extension stands for "MySQL Improved" and is designed to work with both MySQL and MariaDB databases. MariaDB is a fork of MySQL, so they share a lot of similarities and are largely compatible with each other.When you use the `mysqli` extension in PHP, you can connect to both MySQL and MariaDB databases using the same functions and methods. This is because the `mysqli` extension provides an...

Install Apache, PHP on Centos 8

 Apache installation on centos 8 To install Apache on CentOS 8, you can use the `dnf` package manager, which is the replacement for `yum` in CentOS 8. Here's a step-by-step guide to installing Apache:   1. Open a terminal on your CentOS 8 system.   2. Update the package list to ensure you have the latest information about available packages: sudo dnf update   3. Install Apache using the `dnf` package manager: sudo dnf...