teddysun / lamp

Install LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu
https://lamp.sh
GNU General Public License v3.0
2.86k stars 1.06k forks source link

Installation is difficult on unusual OSs & architectures #230

Open echo-bravo-yahoo opened 2 years ago

echo-bravo-yahoo commented 2 years ago

Hey! I'm really inexperienced with the LAMP stack, and was hoping to use this to set up a webserver on an ARM64 Oracle Linux box (yes, really). This turned out to be really exciting, as these dependencies had issues:

To unblock myself, for each issue I found, I installed from yum and deleted the corresponding part of lamp/include/php-modules.sh so it wouldn't generate an error. I appear to have a working install (it's serving the LAMP welcome page).

Is there a better way to approach this that doesn't involve editing the installer script? I probably ran it ~10-15 times working my way through the issues.

echo-bravo-yahoo commented 2 years ago

Ok, lamp/include/mysql.sh installed a completely incompatible version of MySQL (it looks like it picks between x86_64 and i686, but won't ever pick aarch64): https://github.com/teddysun/lamp/blob/master/include/mysql.sh#L277