I have problems on php version 7.4
I see in the error log many Permission denied
PHP Warning: fputs() expects parameter 1 to be resource, bool given i
PHP 8.2 is works fine. But not all webapplications running on that version. Normal i use fpm for other servers and works fine. I try that but that same problem.
Looks like there is no apache group for php 7.4..
I try to reinstall:
cd /usr/local/directadmin/custombuild
./build update
./build php n
./build rewrite_confs
I already fix this problem:
Apache 2.4.27 and higher will not negotiate http2 with mpm_prefork. Please do not use mod_php or disable http2 in the directadmin.conf
/usr/local/directadmin/directadmin set http2 0
service directadmin restart
And do it again
cd /usr/local/directadmin/custombuild
./build update
./build php
See my options.conf
#PHP Settings
php1_release=7.4
php1_mode=mod_php
php2_release=8.2
php2_mode=suphp
php3_release=no
php3_mode=php-fpm
php4_release=no
php4_mode=php-fpm
secure_php=yes
php_ini=no
php_timezone=Europe/Amsterdam
php_ini_type=production
x_mail_header=yes
#MySQL Settings
mysql=5.7
mariadb=10.4
mysql_inst=mariadb
mysql_backup=yes
mysql_backup_gzip=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no
#WEB Server Settings
webserver=apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=yes
redirect_host=wwxxxxx.xxx.xx
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=rspamd
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=no
pigeonhole=no
#FTP Settings
ftpd=pureftpd
#Statistics Settings
awstats=no
webalizer=yes
#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=files6.directadmin.com
#Cronjob Settings
cron=yes
cron_frequency=weekly
email=X@xxx,nl
notifications=yes
da_autoupdate=yes
updates=yes
webapps_updates=yes
#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
unit=no
unofficial_mirrors=no
redis=yes
csf=no
I hope someone can help me
I see in the error log many Permission denied
PHP Warning: fputs() expects parameter 1 to be resource, bool given i
PHP 8.2 is works fine. But not all webapplications running on that version. Normal i use fpm for other servers and works fine. I try that but that same problem.
Looks like there is no apache group for php 7.4..
I try to reinstall:
cd /usr/local/directadmin/custombuild
./build update
./build php n
./build rewrite_confs
I already fix this problem:
Apache 2.4.27 and higher will not negotiate http2 with mpm_prefork. Please do not use mod_php or disable http2 in the directadmin.conf
/usr/local/directadmin/directadmin set http2 0
service directadmin restart
And do it again
cd /usr/local/directadmin/custombuild
./build update
./build php
See my options.conf
#PHP Settings
php1_release=7.4
php1_mode=mod_php
php2_release=8.2
php2_mode=suphp
php3_release=no
php3_mode=php-fpm
php4_release=no
php4_mode=php-fpm
secure_php=yes
php_ini=no
php_timezone=Europe/Amsterdam
php_ini_type=production
x_mail_header=yes
#MySQL Settings
mysql=5.7
mariadb=10.4
mysql_inst=mariadb
mysql_backup=yes
mysql_backup_gzip=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no
#WEB Server Settings
webserver=apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=yes
redirect_host=wwxxxxx.xxx.xx
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=rspamd
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=no
pigeonhole=no
#FTP Settings
ftpd=pureftpd
#Statistics Settings
awstats=no
webalizer=yes
#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=files6.directadmin.com
#Cronjob Settings
cron=yes
cron_frequency=weekly
email=X@xxx,nl
notifications=yes
da_autoupdate=yes
updates=yes
webapps_updates=yes
#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
unit=no
unofficial_mirrors=no
redis=yes
csf=no
I hope someone can help me