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 […]

Turn off open_basedir in Plesk

I’m adding this post, mainly for my own reference but thought it may be of interest for others with the same problem. The problem Plesk unhelpfully ignores the base url set in the php.ini file with its own settings, but these settings are not configurable from the control panel. The Solution Create a “vhost.conf” file […]