multiple versions of php with apache

NOTE: This is a Work In Progress post, published in note form for now, will revisit at later date. steps to allow multiple versions of php with apache on centos 7 #remove current php and replace target repo sudo yum remove php\* sudo yum-config-manager –disable webtactic sudo yum install centos-release-scl #install php56 sudo yum -y […]

switching apache from mod_php to php-fpm

NOTE: This is a Work In Progress post, published in note form for now, will revisit at later date. steps to move apache away from mod_php and onto php-fpm sudo yum remove php56w sudo yum install php56w-fpm sudo nano /etc/php-fpm.d/www.conf listen = 127.0.0.1:9000 ;listen = /run/php-fpm/www.sock sudo nano /etc/httpd/conf.d/virtualhost.conf # configure default php-fpm version #SetHandler […]