I do not understand much about the subject, but looking at the SOEN , I decided to bring a translation, to see if I can help anyone.
Possible solutions:
Increase output buffering
According to the questioner's own answer in the SOEN , he set php.ini
, increasing the size of output_buffering
. When asked about "what the output buffer has to do with it," he justified himself using this response ; / p>
Configure USE_ZEND_ALLOC :
According to one of the answers in the above English question, the problem was solved by using the command in bash
:
export USE_ZEND_ALLOC=0
A suggestion to set this variable in the /etc/apache2/envvars
file was given in a SOEN response comment
Disable opcache :
According to one of the answers, by disabling opcache
, the problem has been solved:
opcache.enable_cli=0