PHP70 and PHP71
Hello, we have several sites that run perfectly on PHP 5.6.
We are testing with PHP70 and PHP71. The most recent sites work under PHP70 but sometimes generate 500 errors, where can this come from?
Under PHP71 all generate this error:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
Thanks for your help.
-
PHP 71 Maybe doesn't have support any web application version. PHP 70 it's works fine at all web application latest version only. You can try change to PHP70, if you getting error, you can upgrade by your web application can support PHP70. If not, change to PHP56. 0 -
Have you checked Apache error logs file ? Please update here some logs so that we can try to assist you on this. 0 -
Hi. For PHP70 I have increased memory_limit = 256M; In WHM and in php.ini and the problem seems to have disappeared. To be continued... For PHP71 I do not know. 0 -
Hi. For PHP70 I have increased memory_limit = 256M; In WHM and in php.ini and the problem seems to have disappeared. To be continued... For PHP71 I do not know.
If you want to edit memory_limit. You can visit here How to Edit Your php.ini File - cPanel Knowledge Base - cPanel Documentation0 -
Hello, You can review the Apache error log at /var/log/apache2/error_log when you encounter these types of error messages to find additional information. Feel free to post the specific output in CODE tags (excluding real domain names and IP addresses) when this happens if you would like us to take a closer look. Thanks! 0
Please sign in to leave a comment.
Comments
5 comments