Announcement

Collapse
No announcement yet.

AWS EC2 500 error during install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AWS EC2 500 error during install

    FYI in case someone else runs into this:

    I am trying to deploy EspoCRM to a cloud/HA environment and it has not been smooth at all. After I setup a new AMI on AWS EC2 and installed httpd, php7.0, etc., I unzipped EspoCRM-4.5.0 in /var/www/html and tried to access the page. I got a 500 error immediately, so I started debugging. Part of the issue was not giving ownership of the files to the apache user and group, but the error still showed that index.php was missing. Finally, I realized index.php didn't have the execute bit set, so running sudo chmod g+x index.php got me up and running.

    I had this problem on Heroku, Elastic Beanstalk, and a few other webservers. I haven't gone back to try all of them, but I suspect the issue is going to be the same because the behavior was the same across all platforms.
Working...
X