php73 Error

hmaddy

Verified User
Joined
Apr 17, 2019
Messages
288
always getting this warning

The service 'php-fpm73' on server daserver.domain.com is currently down​


how to fix this error
 
Did you verify via SSH that is is indeed not running? Or is it running, but still giving the notice that it's down?

If it's really down, try to restart the service and check any errors thrown.
Also check the php-fpm73 logfile to see if there are any errors displayed.
 
Via SSH. You're an admin right? You should know this, it's basic commands.

Checking if it's indeed running.
service php-fpm73 status

LogfileL
/var/log/php-fpm73.log for example for php 7.3.

Restarting the service.
service php-fpm73 restart
 
service php-fpm73 restart
Redirecting to /bin/systemctl restart php-fpm73.service
Failed to restart php-fpm73.service: Unit not found.
[root@lin1 ~]# cat /var/log/php-fpm73.log
[root@lin1 ~]#
 
Looks like php 7.3 is gone, or not installed.
Can you post the php settings, which is the first part of the /usr/local/directadmin/custombuild/options.conf file?
 
#PHP Settings
php1_release=7.4
php1_mode=lsphp
php2_release=7.3
php2_mode=php-fpm
php3_release=8.0
php3_mode=php-fpm
php4_release=8.1
php4_mode=php-fpm
secure_php=no
php_ini=no
php_timezone=Asia/Kolkata
php_ini_type=production
x_mail_header=yes

#MySQL Settings
mysql=5.7
mariadb=10.3
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
unit=no
webserver=apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=no
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=linda1.mydnsweb.com
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=pureftpd

#Statistics Settings
awstats=yes
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.directadmin.com
unofficial_mirrors=no

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

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

#Advanced Settings
csf=yes
curl=yes
ssl_configuration=intermediate

#PHP extensions can be found in php_extensions.conf
 
I dont think you can mix modes with lsphp.
Not with everything at least, but the docs are confusing about this:
This will compile all of those PHP versions with PHP-FPM as the handler. You may change the version numbers and PHP handlers as desired.

@hmaddy can you check the same way if php 8 is running?
service php-fpm80 status
if it is running, probably all we need to do is recompile php 7.3.
 
So @hmaddy you might want to try that first if you don't use openlightspeed. Change lsphp to php-fpm then run the ./build update and then you could use the ./build php n command to build all php versions.
 
Back
Top