PHP basically Server-side scripting language, used on all major operating system including Linux, many Unix variants (including HP-UX, Solaris and Open BSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. Today all web related services (Apache, IIS) need PHP modules to run their application. This includes any web server that can utilize the FastCGI PHP binary,
Like lighttpd and nginx. PHP works as either a module, or as a CGI processor.
So today we will learn how to install php on fresh Linux machine. There are different-2 versions of PHP, but we will learn for installing PHP 5.6 and all its modules on CentOS 7, so watch this video at end step. Comment if you face any issue or need any further video for Linux fundamental and also like please.
Step of php Installation:-
1. rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
3. yum install php56w php56w-opcache php56w-fpm php56w-opcache
4. yum install yum-plugin-replace
For more information: