Hello aaPanel team,
I am testing aaPanel on a Raspberry Pi / ARM64 environment with Ubuntu Server 22.04.5 LTS.
During the installation of PHP 8.5 using the official aaPanel internal app installer, the installation fails because the downloaded PHP 8.5.8 source archive appears to be incomplete or truncated.
Environment
OS: Ubuntu 22.04.5 LTS
Architecture: aarch64 / ARM64
Kernel: Linux 5.15.0-1061-raspi
RAM: 3788 MB
CPU cores: 4
Command used:
bash install_soft.sh 4 install php 8.5
Problem
The aaPanel installer downloads this file:
https://cf1-node.aapanel.com/src/php-8.5.8.tar.gz
But the downloaded file size is only:
81906 bytes / about 80 KB
This seems far too small for a complete PHP 8.5.8 source archive.
The installation log shows:
--2026-07-07 16:32:16-- https://cf1-node.aapanel.com/src/php-8.5.8.tar.gz
HTTP request sent, awaiting response... 200 OK
Length: 81906 (80K) [application/octet-stream]
Saving to: ‘src.tar.gz’
src.tar.gz saved [81906/81906]
The archive starts extracting, but then fails:
php-8.5.8/
php-8.5.8/.circleci/
php-8.5.8/.github/
php-8.5.8/CODING_STANDARDS.md
php-8.5.8/CONTRIBUTING.md
php-8.5.8/EXTENSIONS
php-8.5.8/LICENSE
php-8.5.8/NEWS
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Then the PHP build fails because the extracted source tree is incomplete:
php.sh: line 1015: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Final aaPanel error:
ERROR: php-8.5.8 install failed.
Please submit to https://www.aapanel.com/forum for help
Result after failed installation
After the failed installation, the PHP 8.5 directory only contains partial source files:
/www/server/php/85/src
/www/server/php/85/src.tar.gz
But the PHP binary, PHP-FPM service and socket are missing:
/www/server/php/85/bin/php missing
/tmp/php-cgi-85.sock missing
/etc/init.d/php-fpm-85 missing
So PHP 8.5 is not installed.
Verification commands
ls -la /www/server/php
ls -la /www/server/php/85
test -x /www/server/php/85/bin/php && /www/server/php/85/bin/php -v || echo "PHP 8.5 binary missing"
ls -la /tmp/php-cgi-85.sock 2>/dev/null || echo "PHP 8.5 socket missing"
/etc/init.d/php-fpm-85 status 2>/dev/null || echo "php-fpm-85 service missing or stopped"
Output:
PHP 8.5 binary missing
PHP 8.5 socket missing
php-fpm-85 service missing or stopped
Expected behavior
The PHP 8.5.8 source archive should be complete and valid, and PHP 8.5 should install successfully through:
bash install_soft.sh 4 install php 8.5
Additional note
For comparison, the PHP 8.5.8 source archive downloaded from the official PHP GitHub release page is around 34 MB, while the file currently downloaded from the aaPanel mirror is only about 80 KB.
Could you please check this mirror file?
https://cf1-node.aapanel.com/src/php-8.5.8.tar.gz
It looks truncated or incomplete.
This issue currently prevents PHP 8.5 from being installed on Ubuntu 22.04 ARM64 / Raspberry Pi through aaPanel.
Thank you for your help.
Best regards,
Alain BROYE