So I'm installing a new server with CentOS 7 (CentOS Linux release 7.0.1406 (Core)) and after a minimal install, along with the necessary packages and the DA setup script, I'm getting issues with php.
I've opted to install apache with php-fpm 5.3 but it seems that the php process continues to dies every minute or so.
The is the error when I try to start the php-fpm53 service:
and on /var/log/messages I have the following:
Here are also my options.conf
So if anyone has any idea or can lend any help or suggestion I would appreciate.
This is my first DA install with CentOS 7 and the server will be used in a production environment so I would also like to know if DA is already stable enough with CentOS 7 or if I should stick with CentOS 6.x for now.
Thanks in advance for any help
I've opted to install apache with php-fpm 5.3 but it seems that the php process continues to dies every minute or so.
The is the error when I try to start the php-fpm53 service:
Code:
Redirecting to /bin/systemctl start php-fpm53.service
Job for php-fpm53.service failed. See 'systemctl status php-fpm53.service' and 'journalctl -xn' for details.
[root@host html]#
[root@host html]# systemctl status php-fpm53.service -l
php-fpm53.service - The PHP FastCGI Process Manager
Loaded: loaded (/etc/systemd/system/php-fpm53.service; enabled)
Active: failed (Result: timeout) since Wed 2014-11-19 21:54:04 WET; 14s ago
Main PID: 1091
Nov 19 21:52:34 host.tld.com php-fpm53[1091]: [19-Nov-2014 21:52:34] NOTICE: fpm is running, pid 1091
Nov 19 21:52:34 host.tld.com php-fpm53[1091]: [19-Nov-2014 21:52:34] NOTICE: ready to handle connections
Nov 19 21:54:04 host.tld.com systemd[1]: php-fpm53.service operation timed out. Terminating.
Nov 19 21:54:04 host.tld.com php-fpm53[1091]: [19-Nov-2014 21:54:04] NOTICE: Terminating ...
Nov 19 21:54:04 host.tld.com php-fpm53[1091]: [19-Nov-2014 21:54:04] NOTICE: exiting, bye-bye!
Nov 19 21:54:04 host.tld.com systemd[1]: Failed to start The PHP FastCGI Process Manager.
Nov 19 21:54:04 host.tld.com systemd[1]: Unit php-fpm53.service entered failed state.
and on /var/log/messages I have the following:
Code:
Nov 19 21:54:04 host systemd: php-fpm53.service operation timed out. Terminating.
Nov 19 21:54:04 host php-fpm53: [19-Nov-2014 21:54:04] NOTICE: Terminating ...
Nov 19 21:54:04 host php-fpm53: [19-Nov-2014 21:54:04] NOTICE: exiting, bye-bye!
Nov 19 21:54:04 host systemd: Failed to start The PHP FastCGI Process Manager.
Nov 19 21:54:04 host systemd: Unit php-fpm53.service entered failed state.
Here are also my options.conf
Code:
#PHP Settings
php1_release=5.3
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
opcache=no
htscanner=no
php_ini=no
php_timezone=Europe/Lisbon
php_ini_type=production
ioncube=yes
zend=yes
suhosin=no
x_mail_header=yes
#MySQL Settings
mysql=5.5
mysql_inst=mariadb
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no
#WEB Server Settings
webserver=apache
modsecurity=no
modsecurity_rules=
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=host.tld.com
redirect_host_https=no
#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
squirrelmail=yes
roundcube=yes
webapps_inbox_prefix=no
#ClamAV-related Settings
clamav=no
clamav_exim=yes
proftpd_uploadscan=no
pureftpd_uploadscan=no
suhosin_php_uploadscan=no
#Mail Settings
exim=yes
eximconf=no
eximconf_release=2.1
blockcracking=no
easy_spam_fighter=no
spamassassin=no
dovecot=yes
dovecot_conf=no
pigeonhole=no
#FTP Settings
ftpd=proftpd
#Statistics Settings
awstats=no
webalizer=yes
#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files6.directadmin.com
#Cronjob Settings
cron=no
cron_frequency=weekly
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes
#CloudLinux Settings
cloudlinux=no
cagefs=no
#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=no
new_pcre=no
modsecurity_ruleset=comodo
So if anyone has any idea or can lend any help or suggestion I would appreciate.
This is my first DA install with CentOS 7 and the server will be used in a production environment so I would also like to know if DA is already stable enough with CentOS 7 or if I should stick with CentOS 6.x for now.
Thanks in advance for any help