Hello
i just setup a directadmin server
i tried to setup litespeed
from litespeed plugin and i installed litespeed
but when i tried to build matching PHP
with
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp
i get this error
/usr/local/directadmin/plugins/litespeed/admin/build.func: line 13166: syntax error: unexpected end of file
custombuild 2.x scripts
fail to detect php version, exit
the mentioned line is the end of the file
i compared it with another server that i installed directadmin month ago
on old file
this is the end
}
####################################################
if [ $# -eq 2 ]; then
USER_INPUT=0
INPUT_VALUE=$2
fi
writeLog $@
and in the new server file
if [ $# -eq 2 ]; then
USER_INPUT=0
INPUT_VALUE=$2
fi
if [ "$1" != "gen_help_json" ] && [ "$1" != "opt_help" ] && [ "$1" != "set" ] && [ "$1" != "get_versions_txt" ] && [ "$1" != "" ] && [ "$1" != "versions_json" ] && [ "$1" != "gen_help" ] && [ "$1" != "version" ] && [ "$1" != "versions" ] && [ "$1" != "versions_nobold" ] && [ "$1" != "list_configs_json" ] && [ "$1" != "settings_json" ]; then
writeLog $@
what could cause this problem
here is my ./build options
Apache: 2.4.7
mod_ruid2: no
htscanner: 1.0.1
Dovecot: 2.2.12
AWstats: no
Exim: 4.82
exim.conf update: no
SpamAssassin: no
ClamAV: no
MySQL: no
MySQL backup: yes
MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups
PHP (default): 5.4 as fastcgi
phpMyAdmin: 4.1.13-all-languages
ProFTPD: 1.3.4d
Pure-FTPd: no
RoundCube webmail: 0.9.5
Replace "php.ini" with './build all' and './build php_ini': yes
Replace "php.ini" using type: production
Cron for notifications and (or) updates: yes
Cron frequency: weekly
Auto notifications: yes
Auto notifications email address:
Auto updates: yes
Run "clean" every time: yes
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: yes
Show texts in bold: yes
SquirrelMail: 1.4.22-20140402_0200
Zend Guard Loader:
ionCube loader: 4.6.1
Suhosin: no
and here is my versions
Latest version of DirectAdmin: 1.45.0
Installed version of DirectAdmin: 1.45.0
Latest version of Apache: 2.4.7
Installed version of Apache: 2.4.7
Latest version of ProFTPD: 1.3.4d
Installed version of ProFTPD: 1.3.4d
Latest version of libpng: 1.2.51
Installed version of libpng: 1.2.51
Latest version of ICU4C: 4.8.1.1
Installed version of ICU4C: 4.8.1.1
Latest version of libxslt: 1.1.28
Installed version of libxslt: 1.1.28
Latest version of libxml2: 2.9.1
Installed version of libxml2: 2.9.1
Latest version of iconv: 1.14
Installed version of iconv: 1.14
Latest version of PCRE: 8.20
Installed version of PCRE: 8.20
Latest version of FreeType: 2.5.3
Installed version of FreeType: 2.5.3
Latest version of dovecot: 2.2.12
Installed version of dovecot: 2.2.12
Latest version of Exim: 4.82
Installed version of Exim: 4.82
Latest version of PHP 5.4: 5.4.27
Installed version of PHP 5.4: 5.4.27
Latest version of RoundCube webmail: 0.9.5
Installed version of RoundCube webmail: 0.9.5
Latest version of phpMyAdmin: 4.1.13-all-languages
Installed version of phpMyAdmin: 4.1.13-all-languages
Latest version of SquirrelMail: 1.4.22-20140402_0200
Installed version of SquirrelMail: 1.4.22-20140402_0200
all i want is just to build lite speed matching PHP
i just setup a directadmin server
i tried to setup litespeed
from litespeed plugin and i installed litespeed
but when i tried to build matching PHP
with
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp
i get this error
/usr/local/directadmin/plugins/litespeed/admin/build.func: line 13166: syntax error: unexpected end of file
custombuild 2.x scripts
fail to detect php version, exit
the mentioned line is the end of the file
i compared it with another server that i installed directadmin month ago
on old file
this is the end
}
####################################################
if [ $# -eq 2 ]; then
USER_INPUT=0
INPUT_VALUE=$2
fi
writeLog $@
and in the new server file
if [ $# -eq 2 ]; then
USER_INPUT=0
INPUT_VALUE=$2
fi
if [ "$1" != "gen_help_json" ] && [ "$1" != "opt_help" ] && [ "$1" != "set" ] && [ "$1" != "get_versions_txt" ] && [ "$1" != "" ] && [ "$1" != "versions_json" ] && [ "$1" != "gen_help" ] && [ "$1" != "version" ] && [ "$1" != "versions" ] && [ "$1" != "versions_nobold" ] && [ "$1" != "list_configs_json" ] && [ "$1" != "settings_json" ]; then
writeLog $@
what could cause this problem
here is my ./build options
Apache: 2.4.7
mod_ruid2: no
htscanner: 1.0.1
Dovecot: 2.2.12
AWstats: no
Exim: 4.82
exim.conf update: no
SpamAssassin: no
ClamAV: no
MySQL: no
MySQL backup: yes
MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups
PHP (default): 5.4 as fastcgi
phpMyAdmin: 4.1.13-all-languages
ProFTPD: 1.3.4d
Pure-FTPd: no
RoundCube webmail: 0.9.5
Replace "php.ini" with './build all' and './build php_ini': yes
Replace "php.ini" using type: production
Cron for notifications and (or) updates: yes
Cron frequency: weekly
Auto notifications: yes
Auto notifications email address:
Auto updates: yes
Run "clean" every time: yes
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: yes
Show texts in bold: yes
SquirrelMail: 1.4.22-20140402_0200
Zend Guard Loader:
ionCube loader: 4.6.1
Suhosin: no
and here is my versions
Latest version of DirectAdmin: 1.45.0
Installed version of DirectAdmin: 1.45.0
Latest version of Apache: 2.4.7
Installed version of Apache: 2.4.7
Latest version of ProFTPD: 1.3.4d
Installed version of ProFTPD: 1.3.4d
Latest version of libpng: 1.2.51
Installed version of libpng: 1.2.51
Latest version of ICU4C: 4.8.1.1
Installed version of ICU4C: 4.8.1.1
Latest version of libxslt: 1.1.28
Installed version of libxslt: 1.1.28
Latest version of libxml2: 2.9.1
Installed version of libxml2: 2.9.1
Latest version of iconv: 1.14
Installed version of iconv: 1.14
Latest version of PCRE: 8.20
Installed version of PCRE: 8.20
Latest version of FreeType: 2.5.3
Installed version of FreeType: 2.5.3
Latest version of dovecot: 2.2.12
Installed version of dovecot: 2.2.12
Latest version of Exim: 4.82
Installed version of Exim: 4.82
Latest version of PHP 5.4: 5.4.27
Installed version of PHP 5.4: 5.4.27
Latest version of RoundCube webmail: 0.9.5
Installed version of RoundCube webmail: 0.9.5
Latest version of phpMyAdmin: 4.1.13-all-languages
Installed version of phpMyAdmin: 4.1.13-all-languages
Latest version of SquirrelMail: 1.4.22-20140402_0200
Installed version of SquirrelMail: 1.4.22-20140402_0200
all i want is just to build lite speed matching PHP