seamlessict / darey

0 stars 0 forks source link

Installing PHP Webserver #11

Closed seamlessict closed 1 year ago

seamlessict commented 1 year ago

PHP is a server side scripting programming language that serves as a back-end handling business logic and responsible in getting data to and from the front-end and the database. Unfortunately, because PHP involves interacting with third-party tools such as common gateway interface (CGI) AND MYSQL we need to install these dependencies for PHP to run and interact with the database and so on. using this command :

sudo apt install php-fpm php-mysql

Image

the php installation can be tested either by echoing into the default nginx welcome page or runing phpinfo( command ) :

Image Image