It's pretty simple to recreate it:
- launch a new PHP environment:
- SSH into your instance:
If you have the elastic beanstalk cli
yum install mod_security
Now you should have:
Error: httpd24 conflicts with httpd-2.2.31-1.7.amzn1.x86_64
Error: httpd24-tools conflicts with httpd-tools-2.2.31-1.7.amzn1.x86_64
Thank you for helping! If you have any questions, I'm here!
I saw on stackoverflow a solution was to remove them yum remove httpd httpd-tools
and install mod_security, but that brings other dependency issues...
When you are logged in to your instance (eb or ssh), use this to install the relevant packages:
sudo yum install httpd24-devel.x86_64
sudo yum install mod24_security.x86_64
Don't forget to restart apache
sudo /etc/init.d/httpd restart