#check version first
php --version
#status
service php7.4-fpm status
#restart
service php7.4-fpm restart
#reload
service php7.4-fpm reload
#force-reload
service php7.4-fpm force-reload
#start
service php7.4-fpm start
#stop
service php7.4-fpm stop
#or
/etc/init.d/php7.4-fpm restart
Update and Update Packages. ...
Install Apache2. ...
Install PHP. ...
Install MySQL. ...
Install phpMyAdmin. ...
Create a Database(Only if our PHP app needs a database to run) ...
Copy/paste or clone the project to the root directory of the Apache webserver. ...
Running the PHP file or project.