Strange problem in build php in directadmin

#1
Hello
I use Litespeed in directadmin as plugin
i want to Build Matching PHP Binary , so i enter this command in ssh :
Code:
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp
and i receive this error :
Code:
[root@server]# /usr/local/directadmin/plugins/litespeed/admin/build_lsphp
work dir = /usr/local/directadmin/custombuild
php ver = php-5.2.17
build matching php using LSAPI
do lsphp
Cannot install one PHP version as CLI and CGI.
Here is my options.conf

Code:
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2, 5.3 or 5.4
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=no
php5_cgi=yes
ioncube=no
zend=no
#Possible values - recommended or dist
php_ini_type=recommended
i use php cgi and i want to build matching php , but i receive this error
i search a lot but i can't find solution
please help me how can i solve this problem ?
 
#3
Hi ChearUp
My config option in directadmin :
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2, 5.3 or 5.4
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=no
php5_cgi=yes
ioncube=no
zend=no
#Possible values - recommended or dist
php_ini_type=recommended

after run this command
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp
output error:
work dir = /usr/local/directadmin/custombuild
php ver = 5.3.28
php config = configure/ap2/configure.php5
build matching php using LSAPI
do lsphp
Cannot install one PHP version as CLI and CGI.

please help me how can i solve this problem ? i need litespeed as Run On CGI/FastCGI handle php ...
 
Top