canou83

Well-Known Member
Jul 20, 2016
78
7
8
France
cPanel Access Level
Website Owner
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.
 

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
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.
 

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter
Have you checked Apache error logs file ? Please update here some logs so that we can try to assist you on this.
 

canou83

Well-Known Member
Jul 20, 2016
78
7
8
France
cPanel Access Level
Website Owner
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
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!