Solved ./build php hangs, cannot upgrade

wtptrs

Verified User
Joined
Jul 13, 2015
Messages
329
I'm having issues with a Debian 11 server (latest DA version). When trying to build php with Custombuild, it almost finishes but just hangs on the last line and nothing happens (waited about 15 minutes) until I CTRL+C cancel it. I don't see any errors in the logs but I'm unable to complete the command. Any ideas?

Code:
Installing php...
Installing PHP SAPI module:       embed
Installing shared extensions:     /usr/local/php81/lib/php/extensions/no-debug-non-zts-20210902/
Installing PHP CLI binary:        /usr/local/php81/bin/
Installing PHP CLI man page:      /usr/local/php81/php/man/man1/
Installing PHP FPM binary:        /usr/local/php81/sbin/
Installing PHP FPM defconfig:     skipping
Installing PHP FPM man page:      /usr/local/php81/php/man/man8/
Installing PHP FPM status page:   /usr/local/php81/php/php/fpm/
Installing PHP LiteSpeed binary:  /usr/local/php81/bin/
Installing phpdbg binary:         /usr/local/php81/bin/
Installing phpdbg man page:       /usr/local/php81/php/man/man1/
Installing PHP CGI binary:        /usr/local/php81/bin/
Installing PHP CGI man page:      /usr/local/php81/php/man/man1/
Installing build environment:     /usr/local/php81/lib/php/build/
Installing header files:          /usr/local/php81/include/php/
Installing helper programs:       /usr/local/php81/bin/
  program: phpize81
  program: php-config81
Installing man pages:             /usr/local/php81/php/man/man1/
  page: phpize81.1
  page: php-config81.1
Installing PEAR environment:      /usr/local/php81/lib/php/
PHP Warning:  Private methods cannot be final as they are never overridden by other classes in /usr/local/directadmin/custombuild/php-8.1.9/pear/install-pear-nozlib.phar on line 339
[PEAR] Archive_Tar    - already installed: 1.4.14
[PEAR] Console_Getopt - already installed: 1.4.3
[PEAR] Structures_Graph- already installed: 1.1.1
[PEAR] XML_Util       - already installed: 1.4.5
[PEAR] PEAR           - already installed: 1.10.13
Wrote PEAR system config file at: /usr/local/php81/etc/pear.conf
You may want to add: /usr/local/php81/lib/php to your php.ini include_path
/usr/local/directadmin/custombuild/php-8.1.9/build/shtool install -c ext/phar/phar.phar /usr/local/php81/bin/phar81.phar
ln -s -f phar81.phar /usr/local/php81/bin/phar81
Installing PDO headers:           /usr/local/php81/include/php/ext/pdo/
Enabling temporary disabled extensions...
Copying php.ini..
/usr/local/php81/lib/php.ini already exists, skipping.
Enabling  mail.add_x_header option in /usr/local/php81/lib/php.ini
Creating symlink for /usr/local/php81/bin/php81...
Creating symlink for /usr/local/php81/bin/lsphp81...
Creating symlink for /usr/local/php81/bin/php-cgi81...
Creating symlink for /usr/local/php81/bin/php-config81...
Creating symlink for /usr/local/php81/bin/phpize81...

The symlink has been created, so I don't think the last command is the issue:

Code:
lrwxrwxrwx 1 root root       29 Aug 18 10:36 phpize -> /usr/local/php81/bin/phpize81
 
Is it latest CustomBuild as well?
This is the version:

Code:
# ./build version
2.0.0 (rev: 2936)

It might be a specific issue on this server, I haven't run ./build php because this is a production server and I'm trying not to break everything at once. I've run

Code:
./build update
./build php_expert 7.4 fpm

and

Code:
./build update
./build php_expert 8.1 fpm

and both have issues.
 
Try:
Code:
bash -x ./build php_expert 7.4 fpm

When it hangs - send last ~20 lines of output.
 
Try:
Code:
bash -x ./build php_expert 7.4 fpm

When it hangs - send last ~20 lines of output.
Thanks for the hint. I tried rebuilding PHP 8.1 first, looks like it is not specifically CB related but the php-fpm74 service seems stuck. I'll try to build php-fpm74 now with the bash -x command and post output.

Code:
Creating symlink for /usr/local/php81/bin/phpize81...
+ ln -sf /usr/local/php81/bin/phpize81 /usr/local/php81/bin/phpize
+ false
+ doPhpConf
+ '[' yes = yes ']'
++ echo 53 54 55 56 70 71 72 73 74 80 81 82
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm53 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm53=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm53=.*/php-fpm53=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm54 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm54=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm54=.*/php-fpm54=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm55 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm55=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm55=.*/php-fpm55=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm56 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm56=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm56=.*/php-fpm56=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm70 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm70=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm70=.*/php-fpm70=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm71 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm71=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm71=.*/php-fpm71=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm72 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm72=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm72=.*/php-fpm72=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm73 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm73=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm73=.*/php-fpm73=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm74 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm74=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm74=.*/php-fpm74=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm80 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm80=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm80=.*/php-fpm80=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm81 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm81=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm81=.*/php-fpm81=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ set_service php-fpm82 OFF
+ '[' '!' -e /usr/local/directadmin/data/admin/services.status ']'
+ '[' OFF = delete ']'
+ '[' OFF = ON ']'
+ '[' OFF = OFF ']'
+ grep -q '^php-fpm82=' /usr/local/directadmin/data/admin/services.status
+ perl -pi -e 's/^php-fpm82=.*/php-fpm82=OFF/' /usr/local/directadmin/data/admin/services.status
+ return
+ fpmChecks
++ echo 53 54 55 56 70 71 72 73 74 80 81 82
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM53_CGI
+ EVAL_COPY_VAR=PHP53_FPM_CONF
++ eval_var HAVE_FPM53_CGI
++ var=HAVE_FPM53_CGI
++ '[' -z HAVE_FPM53_CGI ']'
++ eval 'newval=$HAVE_FPM53_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM54_CGI
+ EVAL_COPY_VAR=PHP54_FPM_CONF
++ eval_var HAVE_FPM54_CGI
++ var=HAVE_FPM54_CGI
++ '[' -z HAVE_FPM54_CGI ']'
++ eval 'newval=$HAVE_FPM54_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM55_CGI
+ EVAL_COPY_VAR=PHP55_FPM_CONF
++ eval_var HAVE_FPM55_CGI
++ var=HAVE_FPM55_CGI
++ '[' -z HAVE_FPM55_CGI ']'
++ eval 'newval=$HAVE_FPM55_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM56_CGI
+ EVAL_COPY_VAR=PHP56_FPM_CONF
++ eval_var HAVE_FPM56_CGI
++ var=HAVE_FPM56_CGI
++ '[' -z HAVE_FPM56_CGI ']'
++ eval 'newval=$HAVE_FPM56_CGI'
+++ newval=yes
++ echo yes
+ '[' yes = yes ']'
+ '[' -d /usr/local/php56/sockets ']'
++ eval_var PHP56_FPM_CONF
++ var=PHP56_FPM_CONF
++ '[' -z PHP56_FPM_CONF ']'
++ eval 'newval=$PHP56_FPM_CONF'
+++ newval=/usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.56
++ echo /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.56
+ cp -f /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.56 /usr/local/php56/etc/php-fpm.conf
+ fpmCheck 56
+ ARG=56
+ CHANGED=0
++ grep -m1 -c nginx /usr/local/php56/etc/php-fpm.conf
+ COUNT=0
+ CHOWN_USER=apache
+ '[' apache = nginx_apache ']'
+ chown apache:apache /usr/local/php56/sockets
+ FPM_SOCK_CHMOD=710
+ '[' no = yes ']'
+ chmod 710 /usr/local/php56/sockets
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ '[' 0 -gt 0 ']'
+ '[' -d /usr/local/php56/sockets ']'
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ chgrp -R apache /usr/local/php56/sockets
+ '[' 0 -eq 1 ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM70_CGI
+ EVAL_COPY_VAR=PHP70_FPM_CONF
++ eval_var HAVE_FPM70_CGI
++ var=HAVE_FPM70_CGI
++ '[' -z HAVE_FPM70_CGI ']'
++ eval 'newval=$HAVE_FPM70_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM71_CGI
+ EVAL_COPY_VAR=PHP71_FPM_CONF
++ eval_var HAVE_FPM71_CGI
++ var=HAVE_FPM71_CGI
++ '[' -z HAVE_FPM71_CGI ']'
++ eval 'newval=$HAVE_FPM71_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM72_CGI
+ EVAL_COPY_VAR=PHP72_FPM_CONF
++ eval_var HAVE_FPM72_CGI
++ var=HAVE_FPM72_CGI
++ '[' -z HAVE_FPM72_CGI ']'
++ eval 'newval=$HAVE_FPM72_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM73_CGI
+ EVAL_COPY_VAR=PHP73_FPM_CONF
++ eval_var HAVE_FPM73_CGI
++ var=HAVE_FPM73_CGI
++ '[' -z HAVE_FPM73_CGI ']'
++ eval 'newval=$HAVE_FPM73_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM74_CGI
+ EVAL_COPY_VAR=PHP74_FPM_CONF
++ eval_var HAVE_FPM74_CGI
++ var=HAVE_FPM74_CGI
++ '[' -z HAVE_FPM74_CGI ']'
++ eval 'newval=$HAVE_FPM74_CGI'
+++ newval=yes
++ echo yes
+ '[' yes = yes ']'
+ '[' -d /usr/local/php74/sockets ']'
++ eval_var PHP74_FPM_CONF
++ var=PHP74_FPM_CONF
++ '[' -z PHP74_FPM_CONF ']'
++ eval 'newval=$PHP74_FPM_CONF'
+++ newval=/usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.74
++ echo /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.74
+ cp -f /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.74 /usr/local/php74/etc/php-fpm.conf
+ fpmCheck 74
+ ARG=74
+ CHANGED=0
++ grep -m1 -c nginx /usr/local/php74/etc/php-fpm.conf
+ COUNT=0
+ CHOWN_USER=apache
+ '[' apache = nginx_apache ']'
+ chown apache:apache /usr/local/php74/sockets
+ FPM_SOCK_CHMOD=710
+ '[' no = yes ']'
+ chmod 710 /usr/local/php74/sockets
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ '[' 0 -gt 0 ']'
+ '[' -d /usr/local/php74/sockets ']'
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ chgrp -R apache /usr/local/php74/sockets
+ '[' 0 -eq 1 ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM80_CGI
+ EVAL_COPY_VAR=PHP80_FPM_CONF
++ eval_var HAVE_FPM80_CGI
++ var=HAVE_FPM80_CGI
++ '[' -z HAVE_FPM80_CGI ']'
++ eval 'newval=$HAVE_FPM80_CGI'
+++ newval=yes
++ echo yes
+ '[' yes = yes ']'
+ '[' -d /usr/local/php80/sockets ']'
++ eval_var PHP80_FPM_CONF
++ var=PHP80_FPM_CONF
++ '[' -z PHP80_FPM_CONF ']'
++ eval 'newval=$PHP80_FPM_CONF'
+++ newval=/usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.80
++ echo /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.80
+ cp -f /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.80 /usr/local/php80/etc/php-fpm.conf
+ fpmCheck 80
+ ARG=80
+ CHANGED=0
++ grep -m1 -c nginx /usr/local/php80/etc/php-fpm.conf
+ COUNT=0
+ CHOWN_USER=apache
+ '[' apache = nginx_apache ']'
+ chown apache:apache /usr/local/php80/sockets
+ FPM_SOCK_CHMOD=710
+ '[' no = yes ']'
+ chmod 710 /usr/local/php80/sockets
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ '[' 0 -gt 0 ']'
+ '[' -d /usr/local/php80/sockets ']'
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ chgrp -R apache /usr/local/php80/sockets
+ '[' 0 -eq 1 ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM81_CGI
+ EVAL_COPY_VAR=PHP81_FPM_CONF
++ eval_var HAVE_FPM81_CGI
++ var=HAVE_FPM81_CGI
++ '[' -z HAVE_FPM81_CGI ']'
++ eval 'newval=$HAVE_FPM81_CGI'
+++ newval=yes
++ echo yes
+ '[' yes = yes ']'
+ '[' -d /usr/local/php81/sockets ']'
++ eval_var PHP81_FPM_CONF
++ var=PHP81_FPM_CONF
++ '[' -z PHP81_FPM_CONF ']'
++ eval 'newval=$PHP81_FPM_CONF'
+++ newval=/usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.81
++ echo /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.81
+ cp -f /usr/local/directadmin/custombuild/configure/fpm/conf/php-fpm.conf.81 /usr/local/php81/etc/php-fpm.conf
+ fpmCheck 81
+ ARG=81
+ CHANGED=0
++ grep -m1 -c nginx /usr/local/php81/etc/php-fpm.conf
+ COUNT=0
+ CHOWN_USER=apache
+ '[' apache = nginx_apache ']'
+ chown apache:apache /usr/local/php81/sockets
+ FPM_SOCK_CHMOD=710
+ '[' no = yes ']'
+ chmod 710 /usr/local/php81/sockets
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ '[' 0 -gt 0 ']'
+ '[' -d /usr/local/php81/sockets ']'
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ chgrp -R apache /usr/local/php81/sockets
+ '[' 0 -eq 1 ']'
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
+ EVAL_CHECK_VAR=HAVE_FPM82_CGI
+ EVAL_COPY_VAR=PHP82_FPM_CONF
++ eval_var HAVE_FPM82_CGI
++ var=HAVE_FPM82_CGI
++ '[' -z HAVE_FPM82_CGI ']'
++ eval 'newval=$HAVE_FPM82_CGI'
+++ newval=no
++ echo no
+ '[' no = yes ']'
+ '[' yes = yes ']'
+ '[' apache = nginx ']'
+ '[' apache = apache ']'
+ perl -pi -e s/nginx/apache/ /usr/local/directadmin/data/templates/php-fpm.conf
+ '[' -e /etc/nginx/webapps_settings.conf ']'
+ '[' -e /etc/nginx/nginx-vhosts.conf ']'
+ '[' -e /etc/nginx/nginx-userdir.conf ']'
+ '[' apache = apache ']'
+ doApacheHostConf
+ HOSTCONF=/etc/httpd/conf/extra/httpd-hostname.conf
+ '[' -e /usr/local/directadmin/custombuild/custom/ap2/conf/extra/httpd-hostname.conf ']'
+ echo -n ''
+ '[' yes = yes ']'
+ echo 'SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1'
+ echo '<Directory /var/www/html>'
+ '[' php-fpm = php-fpm ']'
+ echo '<FilesMatch "\.(inc|php[0-9]*|phtml|phps)$">'
+ echo 'AddHandler "proxy:unix:/usr/local/php74/sockets/webapps.sock|fcgi://localhost" .inc .php .php5 .php74 .phtml'
+ echo '</FilesMatch>'
+ '[' php-fpm = mod_php ']'
+ echo '        Options +SymLinksIfOwnerMatch +IncludesNoExec -Indexes'
+ echo '        AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None'
+ echo '        AllowMethods reset'
+ echo ''
+ echo '        Require all granted'
+ echo '        <IfModule mod_suphp.c>'
+ echo '                suPHP_Engine On'
+ echo '                suPHP_UserGroup webapps webapps'
+ echo '        </IfModule>'
+ echo '        <IfModule mod_ruid2.c>'
+ echo '                RUidGid webapps webapps'
+ echo '        </IfModule>'
+ echo '        <IfModule mod_lsapi.c>'
+ echo '                lsapi_user_group webapps webapps'
+ echo '                php_admin_value session.save_path /var/www/tmp'
+ echo '                php_admin_value upload_tmp_dir /var/www/tmp'
+ echo '        </IfModule>'
+ '[' php-fpm = mod_php ']'
+ ensure_webapps_tmp
+ '[' '!' -d /var/www/tmp ']'
+ chmod 770 /var/www/tmp
+ chown webapps:webapps /var/www/tmp
+ ensure_webapps_php_ini
+ WEBAPPS_INI=/usr/local/php74/lib/php.conf.d/50-webapps.ini
+ mkdir -p /usr/local/php74/lib/php.conf.d
+ '[' -e /usr/local/directadmin/custombuild/custom/php.conf.d/50-webapps.ini ']'
+ echo '[PATH=/var/www/html]'
+ echo session.save_path=/var/www/tmp
+ echo upload_tmp_dir=/var/www/tmp
+ echo disable_functions=exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
+ WEBAPPS_FCGID_DIR=/var/www/fcgid
+ SUEXEC_PER_DIR=0
+ '[' -s /usr/sbin/suexec ']'
++ /usr/sbin/suexec -V
++ grep -c AP_PER_DIR
+ SUEXEC_PER_DIR=1
+ '[' php-fpm = fastcgi ']'
+ echo '</Directory>'
+ echo '<Directory /var/www/html/phpMyAdmin/log>'
+ echo '        Require all denied'
+ echo '</Directory>'
+ '[' -e /usr/local/directadmin/custombuild/custom/ap2/conf/extra/httpd-php-handlers.conf ']'
+ echo -n ''
+ echo '<FilesMatch "\.(inc|php[0-9]*|phtml|phps)$">'
+ '[' php-fpm = mod_php ']'
+ '[' php-fpm = lsphp ']'
+ '[' php-fpm = lsphp ']'
+ echo '</FilesMatch>'
+ echo 'AddType text/html .php'
+ '[' no = yes ']'
++ echo 53 54 55 56 70 71 72 73 74 80 81 82
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM53=no
+ eval HAVE_FPM53=no
++ HAVE_FPM53=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM54=no
+ eval HAVE_FPM54=no
++ HAVE_FPM54=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM55=no
+ eval HAVE_FPM55=no
++ HAVE_FPM55=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM56=no
+ eval HAVE_FPM56=no
++ HAVE_FPM56=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM70=no
+ eval HAVE_FPM70=no
++ HAVE_FPM70=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM71=no
+ eval HAVE_FPM71=no
++ HAVE_FPM71=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM72=no
+ eval HAVE_FPM72=no
++ HAVE_FPM72=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM73=no
+ eval HAVE_FPM73=no
++ HAVE_FPM73=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM74=no
+ eval HAVE_FPM74=no
++ HAVE_FPM74=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM80=no
+ eval HAVE_FPM80=no
++ HAVE_FPM80=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM81=no
+ eval HAVE_FPM81=no
++ HAVE_FPM81=no
+ for php_shortrelease in `echo ${PHP1_SHORTRELEASE_SET}`
++ echo HAVE_FPM82=no
+ eval HAVE_FPM82=no
++ HAVE_FPM82=no
+ '[' php-fpm = php-fpm ']'
+ systemctl restart php-fpm74.service
 
@smtalk Thanks for looking into it, the problem seems to be fixed after a new rebuild of php-fpm74.

The issues started after trying to upgrade curl by removing the apt version and installing the Custombuild version. I've sinced reverted by running:

Code:
./build set curl no; ./build remove_curl; apt install curl

And after rebuilding php-fpm afterwards, everything seems okay again. I'll leave it alone for now.

Thanks for the help!
 
Back
Top