Has anyone had any luck getting ExpressionEngine 2.x working with nginx and/or PHP7? I have a CentOS 7 server with PHP7 and nginx installed. I have another site hosted on the server that runs just fine. A simple “hello world” example written in PHP will work but any attempt to load ExpressionEngine results in a 500 error. Tailing the logs isn’t leading me to anything useful (I’ve checked logs for php-fpm and nginx).
Any advice? Here’s the config that is working for me on another site (running Laravel 5):
I’ve tried the recipes here, but nothing seems to stop the 500 errors from happening: https://www.nginx.com/resources/wiki/start/topics/recipes/expressionengine/
I’m pretty sure I have php-fpm pointing correctly because a simple PHP file with:
<?php echo 'hi'; ?>
is working just fine.
The only thing I get in the logs is in the nginx access log:
51.121.083.45 - - [28/Mar/2016:18:52:50 -0500] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36"
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.