Install PHP/PHP-FPM 5.4 Centos 7

Install PHP/PHP-FPM 5.4 on Centos 7

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. As of January 2013, PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1994,[5] the reference implementation of PHP (the Zend Engine) is now produced by The PHP Group.[6] While PHP originally stood for Personal Home Page, it now stands for PHP: Hypertext Preprocessor, which is a recursive acronym.

PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page – for example, PHP code can generate a web page's HTML code, an image, or some other data. PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications.

You will need to install the epel repo

Install Remi and EPEL yum repo Centos 7

Install via PHP/PHP-FPM via Yum

 yum install php php-mysql php-gd php-pear php-fpm

I would also recommend installing the following

yum install php-mysql php-gd php-soap php-pecl-memcache php-xml php-xmlrpc
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Install Mysql Database Centos 7

Install Mysql Database on Centos 7 MySQL is a popular choice of database for use in web...

Expand your bash history to 2500

Expand your .bash_history to 2500 I do alot of testing and alot of work on Centos servers. I...

How to block Bittorent traffic with IPTables

How to Block Bittorrent Traffic with IPtables IPTABLES is a user-space application program...

How do I SSH into my VPS? (OS X/Terminal)

If you are on a Mac, SSH-ing into your VPS is very simple. Simply launch "Terminal" by going to...

Setup vsftp with SELinux

Howto Setup vsftp with SELinux Vsftpd is a fast and secure FTP server. Installing an FTP...