LAMP WebServer with PHP 7 Quick Start for Fedora
You are Welcome! The Tutorial Shows You Step-by-Step How to Install Apache, MariaDB and PHP 7 on Fedora 22+ 32/64-bit GNU/Linux Desktop/Server.
LAMP has become a de facto Development Standard. Today, the products that make up the LAMP stack are included by default in nearly all Linux distributions, and together they make a powerful web application platform.
Thanks to the new Zend Engine 3.0, your apps see up to 2x Faster performance and 50% better Memory consumption than PHP 5.6, allowing you to serve more concurrent users without adding any hardware. Designed and refactored for today’s workloads, PHP 7 is the ultimate choice for web developers today.
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
How to Install Remi’s Rpm Repos on Red-Hat Linux BasedEnabling Remi’s RPM Repos
Installing Apache & PHP 7.1
sudo dnf --enablerepo=remi --enablerepo=remi-php71 install httpd php php-common
Installing MySQL & Other Modules
sudo dnf --enablerepo=remi --enablerepo=remi-php71 install php-pear php-mysqlnd php-gd php-mbstring php-mcrypt php-xml
Starting & Eventually Enabling Apache
sudo systemctl start httpd.service
To Get it Started at boot:
sudo systemctl enable httpd.service
Testing LAMP Istallation
Making the Php info File:
sudo nano /var/www/html/test.php
Ctrl+x to Save & Exit from nano editor :)
Check on Browser at:
(Optional) To Enable Remote Connections on Server
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo systemctl restart firewalld.service