New Hosting: Xenforo 2 + php-fpm71 = HTTP 503 error

Hello, we have a strange problem with the server we just bought. We have moved Xenforo 2.0 here and have PHP-FPM 7.1 on it. Speed, performance and everything are good. But messages are not working and topics can be created no more. There is HTTP 503 error.

Moving to PHP-FPM 5.6 has temporarily disabled the problem, but want to use 7.1. What do we need to do? Do we have to move to 7.2 or is there a problem with 7.1?

OS: Centos 7, Dadmin, 16 gb ram, 240 gb ssd, Apache

Thank you.
 
Last edited:
This most common cause for this error is server misconfiguration (e.g. a malformed .htaccess file) or missing packages (e.g. trying to execute a PHP file without PHP installed properly). To confirm whether a misconfiguration of the .htaccess file is the cause of the 500 Internal Server error, either remove or rename the .htaccess file temporarily and then try to reload the page.

Check your server error logs, contact your host and see if they can track down the issue.
 
Hi,

It is a new server. Wordpress and Xenfore are working together. There is no problem with wordpress. But when we switch to xenforo, the following error appears. I have tried your method but it didn't work.

[Thu Apr 05 08:48:10.744497 2018] [proxy:error] [pid 24444:tid 140560488544000] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/webapps.sock (*) failed
[Thu Apr 05 08:48:10.744538 2018] [proxy_fcgi:error] [pid 24444:tid 140560488544000] [client ***70.9:48824] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 05 09:27:31.883064 2018] [proxy_fcgi:error] [pid 24444:tid 140560698361600] [client ***.146.158:52181] AH01067: Failed to read FastCGI header, referer:
 
Hi,
[Thu Apr 05 08:48:10.744497 2018] [proxy:error] [pid 24444:tid 140560488544000] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/webapps.sock (*) failed

check if FGCI is acutally running, using the correct socket (here is the log its PHP5.6) and if the socket-permissions are correct.

HTH,
-Markus
 
Well,
do WP and XF point to the same PHP-FPM ? There is a misconfiguration on .htaccess or nginx (or whatever you use).
 
Hello, we have a strange problem with the server we just bought. We have moved Xenforo 2.0 here and have PHP-FPM 7.1 on it. Speed, performance and everything are good. But messages are not working and topics can be created no more. There is HTTP 503 error.

Moving to PHP-FPM 5.6 has temporarily disabled the problem, but want to use 7.1. What do we need to do? Do we have to move to 7.2 or is there a problem with 7.1?

OS: Centos 7, Dadmin, 16 gb ram, 240 gb ssd, Apache

Thank you.

Hi Pamir

I've replied in the other thread regarding this, we had the exact same problem. Try setting mod_ruid2=no in options.conf file

This is our full options.conf file settings for our server if yours doesn't work after just disabling mod_ruid2=no

Remember to change yours to 7.1 if that is what you prefer, also, the formatting here when I list our settings on this site changes http_methods=GET: HEAD: POST and puts a smilie face in it (see below), so delete the face and put ": P" with no spaces

#PHP Settings
php1_release=7.2
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
opcache=yes
htscanner=no
php_ini=no
php_timezone=Europe/London
php_ini_type=production
ioncube=yes
zend=yes
suhosin=no
x_mail_header=yes

#MySQL Settings
mysql=5.6
mariadb=10.1
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=GET:HEAD:POST
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=yes
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=grw02.vps.2020media.net.uk
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
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=no
eximconf=no
eximconf_release=4.5
blockcracking=no
easy_spam_fighter=no
spamd=no
sa_update=daily
dovecot=yes
dovecot_conf=yes
pigeonhole=no

#FTP Settings
ftpd=no

#Statistics Settings
awstats=no
webalizer=yes

#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files4.directadmin.com

#Cronjob Settings
cron=no
cron_frequency=weekly
email=email@domain.com
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

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

#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=no
new_pcre=no
 
Last edited:
Back
Top Bottom