olefart
For easier instructions to you.
Install gcc 13:
sudo dnf install gcc-toolset-13
Download their php.sh script:
curl -O https://node.aapanel.com/install/3/php.sh
Edit the file and look for this line:
if [ "${version}" == "8.3"
Add this code before this if statement:
# Add the required security flags for the linker
export CFLAGS="$CFLAGS -fPIE"
export CXXFLAGS="$CXXFLAGS -fPIE"
export LDFLAGS="-pie"
source /opt/rh/gcc-toolset-13/enable
then install using:
sh php.sh install 8.4
Enjoy!