obs wrote:
The php errors will be from borked php.ini files, the first one is trying to load a module that doesn't exist (did you install any via pecl by any chance?)
The other two are trying to load a module twice.
As for PHP fpm...not helpful the configs have changed since I last looked what's do all the files in /etc/php5/fpm/pool.d/*.conf contain?
I've never messed with pecl, I had to do a quick search just now (by nature not a server admin but command line cozy).
I did locate the references in the php.ini file (of which there's two, and I'll investigate this further) and comment out the xml.so and the two that were loading twice so hooray for not getting a cron email of errors every thirty minutes, lol.
The file I have in that directory is
www.conf (below, non-relevant comments removed)
Code:
; Start a new pool named 'www'.
[www]
listen = /var/run/php-fpm.sock
listen.backlog = 1024
;listen.allowed_clients = 127.0.0.1
listen.owner = www-data
listen.group = www-data
listen.mode = 0600
user = www-data
group = www-data
pm = dynamic
pm.max_children = 12
;pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 1024
;pm.status_path = /status
;ping.path = /ping
;ping.response = pong
;request_terminate_timeout = 0
;request_slowlog_timeout = 0
;slowlog = /var/log/php-fpm.log.slow
;rlimit_files = 1024
;rlimit_core = 0
;chroot =
chdir = /var/www
;catch_workers_output = yes
;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M