AH00526: Syntax error - clean PHP-FPM Installation

nservices

Verified User
Joined
Dec 11, 2008
Messages
301
Hi,
I just install clean CentOS 6.3 x64 with DirectAdmin using custombuild 2.0 and default settings
after that I edit the options.conf file of custombuild and change the php option 1 to php-fpm and rebuild the apache and php
then I got this error
Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 89 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration

rebuild all and ./build rewrite_confs didn't help

any Idea?

Best Regards,
Star Network.
 
Make sure it's custombuild 2.0. Please post the output of:
Code:
cat /usr/local/directadmin/custombuild/options.conf | grep 'custombuild='

If it's 2.0, try:
Code:
./build mod_fastcgi
 
custombuild 2.0
after
./build mod_fastcgi
error message:
Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 99 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
 
Are you sure you have no custom templates? Please check
Code:
/usr/local/directadmin/data/templates/custom
 
yes:
[root@server1 custombuild]# cd /usr/local/directadmin/data/templates/custom
[root@server1 custom]# dir
[root@server1 custom]#
 
Please post the contents of your options.conf file. "./build php n" might fix your problems.
 
Hi,
build php n didn't help
here is my options.conf content:
#PHP settings. Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, no. php1/php2_mode: mod_php, php-fpm or suphp)
php1_release=5.4
php2_release=no
php1_mode=php-fpm
php2_mode=mod_php
php_ini=no
#Possible values - production or development
php_ini_type=production
ioncube=no
zend=no

#Possible values - 5.1, 5.5
mysql=5.5
mysql_inst=no
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

#Possible value: 2.4
apache_ver=2.4
mod_ruid2=yes
secure_htaccess=yes
harden-symlinks-patch=yes

#Web applications
phpmyadmin=yes
squirrelmail=yes
roundcube=yes

#Mail options
exim=no
eximconf=no
clamav=no
spamassassin=no
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options - possible values: proftpd, pureftpd
ftpd=pureftpd

#Jailed shell
jail=no

#Autoconf/automake/libtool options
autoconf=yes
automake=yes
libtool=yes
curl=no

#new version of zlib and libxml2 (experts only)
zlib=no
new_zlib=no
new_xml2=yes
new_pcre=no

#Custombuild options
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=no
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files8.directadmin.com

#Cron settings
cron=no
cron_frequency=daily
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#Cloudlinux settings
cloudlinux=no
 
Thank you for the report. The problem is found and should be fixed in DA pre-release binaries soon, you can email DA support for the exact release date. It is not a problem of the CustomBuild script itself.
 
Back
Top