lamp
lamp copied to clipboard
Installation is difficult on unusual OSs & architectures
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:
- lua devel
- available in ol8_codeready_builder
- mhash
- available in ol8_codeready_builder
- libmcrypt-devel
- available in ol8_codeready_builder
- php-mcrypt
- never found this
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.
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