Hello, I'm having issues with a small vps that I use to host a single client, the website requieres PHP 5.2 (I know that's a security issue but the client doesn't want to update the code) but everytime I try to install it aapanel appears to do it but after checking the log it shows this errors:
/bin/ld: ext/mysqli/mysqli.o: warning: relocation against `client_errors' in read-only section `.text'
/bin/ld: ext/mysqli/mysqli.o: in function `memcpy':
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29: undefined reference to `client_errors'
/bin/ld: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29: undefined reference to `client_errors'
/bin/ld: ext/mysqli/mysqli.o: in function `php_local_infile_error':
/www/server/php/52/src/ext/mysqli/mysqli.c:1175: undefined reference to `client_errors'
/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make: *** [Makefile:264: sapi/cgi/php-cgi] Error 1
========================================================
Ubuntu 22.04.1 LTS
\l
Bit:64 Mem:3072M Core:1 gcc:11.3.0 cmake:3.22.1
Linux 5.2.0 x86_64
ERROR: php-5.2 installation failed.
|-Successify ---Script execution completed---
I've searched in this forum but it appears that anyone here hasn't found this kind of problem. Thanks for all the help.