Hi
I am getting error while trying to build PHP for litespeed
this is error log
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 7: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: source: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 205: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: source: not found
custombuild 2.x scripts
fail to detect php version, exit
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 215: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 219: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: eval_var: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 220: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: eval_var: not found
work dir =
php ver =
php config =
build matching php using LSAPI
do lsphp
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 26: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: cannot create : Directory nonexistent
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 240: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: doChecks: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 241: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: doPhp: not found
Query lastest LSAPI version: 6.9
php-litespeed-6.9.tgz already downloaded, use the saved copy
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 60: cd: can't cd to php-/sapi
**ERROR** Could not get into php/sapi directory
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Extracting LSAPI archive: tar -xzf php-litespeed-6.9.tgz
tar (child): ../../php-litespeed-6.9.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
**ERROR** Could not extract LSAPI archive
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 82: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: quitIfLocked: not found
cp: missing destination file operand after ق/custom/lsws/configure.php5ق
Try 'cp --help' for more information.
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
grep: /custom/lsws/configure.php5: No such file or directory
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
chmod: cannot access ق/custom/lsws/configure.php5ق: No such file or directory
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 108: cd: can't cd to php-
make: *** No rule to make target 'clean'. Stop.
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 125: [: Illegal number:
Configuring PHP build (2-3 minutes) using /custom/lsws/configure.php5
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 142: [: =: unexpected operator
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 145: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: /custom/lsws/configure.php5: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 149: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: -e: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 150: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Done Configuration.
make: *** No targets specified and no makefile found. Stop.
*** The make has failed
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 159: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Make Complete
make: *** No rule to make target 'install'. Stop.
*** The install has failed
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 167: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
copy compiled php binary to litespeed directory
cd /usr/local/lsws/fcgi-bin
cp: cannot stat /php-/sapi/litespeed/php: No such file or directory
**ERROR** fail to copy lsphp from /php-/sapi/litespeed/php
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
chmod: cannot access lsphp-: No such file or directory
ln -sf lsphp- lsphp
==============================================
Finished building PHP with LSAPI
==============================================
Wed Jul 27 07:28:17 UTC 2016
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 199: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: removeLockfile: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 255: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
what Can I do?
I am getting error while trying to build PHP for litespeed
this is error log
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 7: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: source: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 205: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: source: not found
custombuild 2.x scripts
fail to detect php version, exit
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 215: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 219: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: eval_var: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 220: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: eval_var: not found
work dir =
php ver =
php config =
build matching php using LSAPI
do lsphp
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 26: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: cannot create : Directory nonexistent
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 240: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: doChecks: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 241: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: doPhp: not found
Query lastest LSAPI version: 6.9
php-litespeed-6.9.tgz already downloaded, use the saved copy
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 60: cd: can't cd to php-/sapi
**ERROR** Could not get into php/sapi directory
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Extracting LSAPI archive: tar -xzf php-litespeed-6.9.tgz
tar (child): ../../php-litespeed-6.9.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
**ERROR** Could not extract LSAPI archive
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 82: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: quitIfLocked: not found
cp: missing destination file operand after ق/custom/lsws/configure.php5ق
Try 'cp --help' for more information.
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
grep: /custom/lsws/configure.php5: No such file or directory
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
Can't open /custom/lsws/configure.php5: No such file or directory.
chmod: cannot access ق/custom/lsws/configure.php5ق: No such file or directory
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 108: cd: can't cd to php-
make: *** No rule to make target 'clean'. Stop.
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 125: [: Illegal number:
Configuring PHP build (2-3 minutes) using /custom/lsws/configure.php5
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 142: [: =: unexpected operator
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 145: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: /custom/lsws/configure.php5: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 149: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: -e: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 150: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Done Configuration.
make: *** No targets specified and no makefile found. Stop.
*** The make has failed
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 159: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
Make Complete
make: *** No rule to make target 'install'. Stop.
*** The install has failed
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 167: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
copy compiled php binary to litespeed directory
cd /usr/local/lsws/fcgi-bin
cp: cannot stat /php-/sapi/litespeed/php: No such file or directory
**ERROR** fail to copy lsphp from /php-/sapi/litespeed/php
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 33: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
chmod: cannot access lsphp-: No such file or directory
ln -sf lsphp- lsphp
==============================================
Finished building PHP with LSAPI
==============================================
Wed Jul 27 07:28:17 UTC 2016
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 199: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: removeLockfile: not found
/usr/local/directadmin/plugins/litespeed/admin/build_lsphp: 255: /usr/local/directadmin/plugins/litespeed/admin/build_lsphp: do_exit: not found
what Can I do?