problem with php 5.6

sgala

Verified User
Joined
Jul 10, 2017
Messages
26
Just installed directadmin, fresh install. manual setup.
php 7.4 and 7.0 works good
but php 5.6 : 503 service unavailable
and no php 5.6 in processes list
[root@hn _tmp]# ps aux | grep fpm
root 800568 0.0 0.0 314676 40088 ? Ss 04:48 0:00 php-fpm: master process (/usr/local/php70/etc/php-fpm.conf)
root 800571 0.0 0.0 323292 25952 ? Ss 04:48 0:00 php-fpm: master process (/usr/local/php74/etc/php-fpm.conf)
root 819198 0.0 0.0 10020 888 pts/0 S+ 05:35 0:00 grep --color=auto fpm

what the reason and how to fix it?


#PHP Settings
php1_release=7.4
php1_mode=php-fpm
php2_release=7.0
php2_mode=php-fpm
php3_release=5.6
php3_mode=php-fpm
php4_release=no
php4_mode=php-fpm
secure_php=no
php_ini=no
php_timezone=Europe/Moscow
php_ini_type=production
x_mail_header=yes

#MySQL Settings
mysql=8.0
mariadb=10.4
mysql_inst=mysql
mysql_backup=yes
mysql_backup_gzip=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no

#WEB Server Settings
unit=no
webserver=apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=owasp
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=yes
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=CentOS-82-64-minimal
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_public=yes
phpmyadmin_ver=5
squirrelmail=no
roundcube=yes
webapps_inbox_prefix=no

#ClamAV-related Settings
clamav=no
clamav_exim=yes
modsecurity_uploadscan=no
proftpd_uploadscan=no
pureftpd_uploadscan=no
suhosin_php_uploadscan=no

#Mail Settings
exim=yes
eximconf=yes
eximconf_release=4.5
blockcracking=no
easy_spam_fighter=no
spamd=no
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=no
pigeonhole=yes

#FTP Settings
ftpd=proftpd

#Statistics Settings
awstats=no
webalizer=yes

#PHP Extension Settings
#CustomBuild Settings
custombuild=2.0
custombuild_plugin=yes
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files-de.directadmin.com
unofficial_mirrors=no

#Cronjob Settings
cron=yes
cron_frequency=daily
email=[email protected]
notifications=no
da_autoupdate=no
updates=no
webapps_updates=no

#CloudLinux Settings
cloudlinux=no
cloudlinux_beta=no
cagefs=no

#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=yes
new_pcre=yes
ssl_configuration=intermediate

#PHP extensions can be found in php_extensions.conf
 
Maybe try starting php-fpm for PHP 5.6:

Code:
service php-fpm56 restart

If that doesn't work, try rebuilding that version of PHP:

Code:
/usr/local/directadmin/custombuild/build php_expert 5.6 php-fpm
 
Back
Top