Designed a extension by c++ for PHP, I got some error

  apache, c++, php

I designed an extension by c++ for PHP. When I run an extension-related method, there occurred a PHP error. I found this /var/log/error.log file;
But already I running a similar type of extension in my system.

PHP version: 7.2.34
operation system: ubuntu 18.04
Zend Engine v3.2.0

bug

[Wed Apr 07 20:01:58.215958 2021] [core:notice] [pid 32197] AH00051: child pid 32198 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Apr 07 20:01:58.216005 2021] [core:notice] [pid 32197] AH00051: child pid 32199 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Apr 07 20:01:59.218515 2021] [core:notice] [pid 32197] AH00051: child pid 32200 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Apr 07 20:01:59.218573 2021] [core:notice] [pid 32197] AH00051: child pid 32201 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Apr 07 20:01:59.218589 2021] [core:notice] [pid 32197] AH00051: child pid 32202 exit signal Segmentation fault (11), possible coredump in /etc/apache2

Source: Windows Questions C++

LEAVE A COMMENT