• DiscussionGeneral
  • Canot install PHP-5.6 and aaPanel (Raspberry pi 4 + Ubuntu server 64bit)

I use Raspberry pi 4 + Ubuntu server 20.04.1 64bit. I have installed PHP-7.3 but cannot install PHP-5.6 and PHP-5.5 for aaPanel. Can anyone show me how to fix this? Thank you!

bin/sh /www/server/php/55/src/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /www/server/php/55/src/modules
/bin/sh /www/server/php/55/src/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/standard/ -I/www/server/php/55/src/ext/standard/ -DPHP_ATOM_INC -I/www/server/php/55/src/include -I/www/server/php/55/src/main -I/www/server/php/55/src -I/www/server/php/55/src/ext/date/lib -I/www/server/php/55/src/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/local/icu/include -I/www/server/php/55/src/ext/mbstring/oniguruma -I/www/server/php/55/src/ext/mbstring/libmbfl -I/www/server/php/55/src/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/www/server/php/55/src/ext/sqlite3/libsqlite -I/www/server/php/55/src/TSRM -I/www/server/php/55/src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /www/server/php/55/src/ext/standard/math.c -o ext/standard/math.lo
/tmp/ccRgiSki.s: Assembler messages:
/tmp/ccRgiSki.s:4930: Error: operand 2 must be an integer register -- mul x2,v9,v0'
/tmp/ccRgiSki.s:4931: Error: operand 2 must be an integer register --smulh x0,v9,v0'
/tmp/ccRgiSki.s:5045: Error: operand 2 must be an integer register -- mul x2,v0,v0'
/tmp/ccRgiSki.s:5046: Error: operand 2 must be an integer register --smulh x0,v0,v0'
make: *** [Makefile:1564: ext/standard/math.lo] Error 1
Ubuntu 20.04.1 LTS
\l
Bit:64 Mem:1847M Core:4 gcc:9.3.0 cmake:3.16.3
Linux 5.4.0-1022-raspi aarch64
ERROR: php-5.5.38 install failed.
Please submit to https://www.aapanel.com/forum for help

I tried same adventure a mouth ago. A dream to have a dedicate 8gb DDR4 Raspberry for every website.
I tried a lot of panels and aaPanel got the "best" results.
By the way, a gave up. All the packages for every dependency are very badly optimized for arm processors. Every installation delay for long hours.
I still have faith that Raspberry can handle it, just not today.
If u get best results, plz share your way.
Tnks.

    hgieg aaPanel does not support running PHP5.6 on arm64. It is imperative to create Plugins from dockers such as ppa:ondrej/php (https://deb.sury.org/) and then import it into aaPanel. I don't know how to create a plugin so I must wait for the support from aaPanel developer.

    a year later

    I'm also on pi4 + ubuntu 20.04 LTS.. aapanel still haven't fixed the issue yet..

    My VPS also uses Ubuntu with AMD EPYC 7282 16-core processor, also waiting for a solution for that, I didn't want to have to switch to centos after everything adjusted and running some sites on ubuntu 🙁