Spis treści

logowanie wysyłki maili z funkcji mail php

mail.add_x_header=On
mail.log=/tmp/mailog

logowanie błędów dla php-fpm

php_admin_flag[display_errors] = on
php_admin_flag[display_startup_errors] = on
php_admin_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~E_STRICT
catch_workers_output = yes

Aktualizacja php w CentOS z repo remi

yum install epel*
yum update / yum upgrade


CentOS 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm

CentOS  7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo rpm -Uvh remi-release-7*.rpm

yum update / yum upgrade
yum --enablerepo=remi,remi-php56 update
yum --enablerepo=remi,remi-php56 upgrade
php -v

PECL multi php

/usr/local/php5/bin/php /usr/local/php5/lib/php/peclcmd.php install {extension-name}