udapted nginx config, same php error log handling in php versions