Issue with PHP configs.. BROKEN

ChiefZigZag

Verified User
Joined
Feb 17, 2020
Messages
47
I updated PHP and it seems to have been broken...

Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/oncontractonly/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php73/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed
Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/chiefzigzag/php/php-fpm74.conf from /usr/local/php74/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php74/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed
Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/chiefzigzag/php/php-fpm74.conf from /usr/local/php74/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php74/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed
Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/chiefzigzag/php/php-fpm74.conf from /usr/local/php74/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php74/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed
Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/oncontractonly/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php73/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed
Performing sanity check on php-fpm configuration:
PHP: syntax error, unexpected NULL_NULL in Unknown on line 1
[07-May-2021 15:48:07] ERROR: Unable to include /usr/local/directadmin/data/users/oncontractonly/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 15
[07-May-2021 15:48:07] ERROR: failed to load configuration file '/usr/local/php73/etc/php-fpm.conf'
[07-May-2021 15:48:07] ERROR: FPM initialization failed

I also noticed a (null) directory created in /usr/local/directadmin with configs for this in it??
 
I seem to remember seeing this before. You are on FreeBSD 11 or 12 right?

Try this

Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build php
./build rewrite_confs
 
Back
Top