I just took a small part of the log, as the log does not contain everything, it is truncated...
But there are enough errors. So something goes wrong!
Hope you can fix this. I'm using the latest aapanel (updated).
Note that I can manually download those archives that aapanel can't extract for some reason. So the http locations seem to work.
[root@3f72ea0cd499 mb]# wget http://us1.php.net/distributions/php-5.6.37.tar.gz
--2022-08-02 07:43:45-- http://us1.php.net/distributions/php-5.6.37.tar.gz
Resolving us1.php.net (us1.php.net)... 185.85.0.29, 2a02:cb40:200::1ad
Connecting to us1.php.net (us1.php.net)|185.85.0.29|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.php.net/distributions/php-5.6.37.tar.gz [following]
--2022-08-02 07:43:45-- https://www.php.net/distributions/php-5.6.37.tar.gz
Resolving www.php.net (www.php.net)... 185.85.0.29, 2a02:cb40:200::1ad
Connecting to www.php.net (www.php.net)|185.85.0.29|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19300783 (18M) [application/octet-stream]
Saving to: 'php-5.6.37.tar.gz'
100%[===============================================================>] 19,300,783 11.1MB/s in 1.7s
2022-08-02 07:43:47 (11.1 MB/s) - 'php-5.6.37.tar.gz' saved [19300783/19300783]
[root@3f72ea0cd499 mb]# ll
total 18852
-rw-r--r-- 1 root root 19300783 Jul 19 2018 php-5.6.37.tar.gz
[root@3f72ea0cd499 mb]# tar -zxf php-5.6.37.tar.gz
[root@3f72ea0cd499 mb]# ll
total 18856
drwxr-xr-x 14 www www 4096 Jul 19 2018 php-5.6.37
-rw-r--r-- 1 root root 19300783 Jul 19 2018 php-5.6.37.tar.gz
[root@3f72ea0cd499 mb]#
Errorlog from aapanel install:
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
**ERROR** Could not retrieve LSAPI archive
Preparing all source code for building admin_php with PHP 5.6.37 and LSAPI 7.1
admin_php is solely used for WebAdmin console, should not be used for other purpose. Only minimum set of PHP modules included here.
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
**ERROR** Could not retrieve LSAPI archive
Preparing all source code for building admin_php with PHP 5.6.37 and LSAPI 7.1
admin_php is solely used for WebAdmin console, should not be used for other purpose. Only minimum set of PHP modules included here.
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
**ERROR** Could not retrieve LSAPI archive
Preparing all source code for building admin_php with PHP 5.6.37 and LSAPI 7.1
admin_php is solely used for WebAdmin console, should not be used for other purpose. Only minimum set of PHP modules included here.
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
**ERROR** Could not retrieve LSAPI archive
Preparing all source code for building admin_php with PHP 5.6.37 and LSAPI 7.1
admin_php is solely used for WebAdmin console, should not be used for other purpose. Only minimum set of PHP modules included here.
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
**ERROR** Could not retrieve LSAPI archive
=============================================================
Preparing all source code for building admin_php with PHP 5.6.37 and LSAPI 7.1
admin_php is solely used for WebAdmin console, should not be used for other purpose. Only minimum set of PHP modules included here.
=============================================================
Tue Aug 2 07:33:57 UTC 2022
Changing to build directory /usr/local/lsws/phpbuild
Retrieving PHP source archive from http://us1.php.net/distributions/php-5.6.37.tar.gz
/usr/local/lsws/admin/misc/build_admin_php.sh: line 108: -L: command not found
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
tar (child): php-5.6.37.tar.gz: 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
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://us2.php.net/distributions/php-5.6.37.tar.gz
/usr/local/lsws/admin/misc/build_admin_php.sh: line 119: -L: command not found
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
tar (child): php-5.6.37.tar.gz: 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
Could not extract PHP source archive
Try again, retrieving PHP source archive from http://museum.php.net/php$/php-5.6.37.tar.gz
/usr/local/lsws/admin/misc/build_admin_php.sh: line 131: -L: command not found
Extracting PHP source archive: tar -zxf php-5.6.37.tar.gz
tar (child): php-5.6.37.tar.gz: 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
Could not extract PHP source archive
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-7.1.tgz
/usr/local/lsws/admin/misc/build_admin_php.sh: line 154: -L: command not found
**ERROR** Could not retrieve LSAPI archive
Final checking found admin_php not exists, installation abort.