In CentOS 6.x when you install PHP-fpm, you will get 5.3 by default, which is considered high risk as an unsupported version.

If you are still running 5.3 PHP-FPM, you must consider upgrading to the latest version 5.6. Here is how I did and you can too. As a best practice, you must take a backup of the entire PHP and if possible perform this upgrade in non-production first to ensure no side effects on the application due to a higher version.

PHP-FPM 5.6 Installation/Upgrade Procedure

Login into CentOS with root Execute following commands

If you need to install additional PHP-Modules like mbstring, mcrypt, soap,apc then you can use the following. By doing the above, you will have PHP-FPM latest version 5.6 installed.

Verify PHP-FPM version

So as you can see, now I have supported PHP version, which is secure and safe. Once you have a PHP upgraded version, you can also check your website for security vulnerabilities from these tools. If you are using WordPress then you can check this article where I explained how to update the WordPress PHP version on multiple platforms.

How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 97How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 96How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 5How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 81How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 78How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 79How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 37How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 75How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 24How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 51How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 60How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 58How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 1How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 39How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 53How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 16How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 40How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 12How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 90How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 82How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 13How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 51How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 55How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 58How to install upgrade PHP FPM 5 6 on CentOS 6 x  - 42