apache + php 5.4 + php-fpm = Invalid command 'FastCgiExternalServer'

holgenoni

Verified User
Joined
Jan 28, 2015
Messages
7
Hi @ all,

I am very new to DA and trying now to use a custom build with apache + php5.4 (or php5.6) + php-fpm.

Unfortunately after building apache, php and reloading config, apache won't start telling me following error:

Code:
Starting httpd: AH00526: Syntax error on line 54 of /usr/local/directadmin/data/users/user1/httpd.conf:
Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration

My options.conf looks like this:
Code:
#PHP Settings
php1_release=5.4
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
opcache=yes
htscanner=no
php_ini=no
php_timezone=Europe/Paris
php_ini_type=production
ioncube=yes
zend=no
suhosin=no
x_mail_header=yes

#MySQL Settings
mysql=5.6
mysql_inst=yes
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no

#WEB Server Settings
webserver=apache
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=web1-oh.jtlhost.de
redirect_host_https=no

All is running on CentOS 6.6

Do someone have an advise for me? I would really appreciate it.

Thank you very much in advance

Regards
Andreas
 
Hello,

this

Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php d
./build rewrite_confs

should help you. Run these commands as root in a console and let us your results.
 
Hi, thank you for your answer.

Unfortunately this is exactly what I've done before and what do not solves the problem.

Still getting

Code:
Starting httpd: AH00526: Syntax error on line 54 of /usr/local/directadmin/data/users/user1/httpd.conf:
Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration
 
Make sure you have no custom templates in /usr/local/directadmin/data/templates/custom. There should be no FastCgiExternalServer in your templates.
 
Back
Top