I recently upgraded to php 7.0.4 on my server running Debian 8.
this is what dpkg -l | grep php dpkg -l | grep php gives me:
ii libapache2-mod-php7.0 7.0.4-1~dotdeb+8.1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-common 21-1~dotdeb+8.1 all Common files for PHP packages ii php-readline 21-1~dotdeb+8.1 all readline module for PHP [default] ii php7.0 7.0.4-1~dotdeb+8.1 all server-side, HTML-embedded scripting language (metapackage) ii php7.0-cli 7.0.4-1~dotdeb+8.1 amd64 command-line interpreter for the PHP ing language ii php7.0-common 7.0.4-1~dotdeb+8.1 all Common files for packages built from the PHP source ii php7.0-curl 7.0.4-1~dotdeb+8.1 amd64 CURL module for PHP ii php7.0-gd 7.0.4-1~dotdeb+8.1 amd64 GD module for PHP ii php7.0-imap 7.0.4-1~dotdeb+8.1 amd64 IMAP module for PHP ii php7.0-intl 7.0.4-1~dotdeb+8.1 amd64 Internationalisation module for PHP ii php7.0-json 7.0.4-1~dotdeb+8.1 amd64 JSON module for PHP ii php7.0-mcrypt 7.0.4-1~dotdeb+8.1 amd64 libmcrypt module for PHP ii php7.0-mysql 7.0.4-1~dotdeb+8.1 amd64 MySQL module for PHP ii php7.0-opcache 7.0.4-1~dotdeb+8.1 amd64 Zend OpCache module for PHP ii php7.0-readline 7.0.4-1~dotdeb+8.1 amd64 readline module for PHP
My php applications work fine in most cases. But for some requests, I just get a page that is created for no predictable reason.
In this case, the state is /var/log/apache2/error.log :
*** Error in `/usr/sbin/apache2': munmap_chunk(): invalid pointer: 0x00007efc6ddb4a50 *** *** Error in `/usr/sbin/apache2': munmap_chunk(): invalid pointer: 0x00007efc6dd5cad0 *** [Wed Mar 09 11:26:44.940931 2016] [core:notice] [pid 28486] AH00052: child pid 29338 exit signal Aborted (6) [Wed Mar 09 11:26:44.941017 2016] [core:notice] [pid 28486] AH00052: child pid 29344 exit signal Aborted (6) *** Error in `/usr/sbin/apache2': munmap_chunk(): invalid pointer: 0x00007efc6dd5cad0 *** [Wed Mar 09 11:26:46.942581 2016] [core:notice] [pid 28486] AH00052: child pid 29347 exit signal Aborted (6)
I will provide additional information:
Syntax:
$ apachectl configtest Syntax OK
Version:
apachectl -v Server version: Apache/2.4.10 (Debian) Server built: Nov 28 2015 14:05:48
Before updating php, I did not see these errors. What is wrong here? Or how should I find the source? I got lost here because this error is random. Sometimes the same request fails with this error a minute ago. I would advise you to help.
memory debian apache php-7
Daniel
source share