Edit report at https://bugs.php.net/bug.php?id=70380&edit=1
ID: 70380
Updated by: laruence@php.net
Reported by: Birman at Cerberox dot com
Summary: Segfault in libphp7.so upon apache start
Status: Open
Type: Bug
Package: Apache2 related
Operating System: CentOS 7.1.1503
PHP Version: 7.0.0RC1
Block user comment: N
Private report: N
New Comment:
use gdb open it, then paste the backtrace output here (text)
Previous Comments:
------------------------------------------------------------------------
[2015-08-28 22:03:40] Birman at Cerberox dot com
I have the backtrace file. I wasn't sure how to add it here, so I uploaded it somewhere else:
http://www.upload.ee/download/5164096/6e9d6cec2876e6775ce/core-httpd.25133
That's a direct link for download.
------------------------------------------------------------------------
[2015-08-28 13:08:15] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2015-08-28 09:13:40] Birman at Cerberox dot com
Description:
------------
Followed this guide here: http://php7.zend.com/repo.php
Did exactly what it said. Also disabled the libphp5 module from loading inside
/etc/httpd/conf/httpd.conf.
When starting httpd service, it says it couldn't start and this can be found in the journal:
-- Unit httpd.service has begun starting up.
Aug 28 10:04:10 ns369670 httpd[4162]: [Fri Aug 28 10:04:10.396870 2015] [so:warn] [pid 4162]
AH01574: module rewrite_module is already loaded, skipping
Aug 28 10:04:10 ns369670 kernel: httpd[4162]: segfault at 0 ip 00007f60d5a86c9d sp 00007fffb76c3070
error 4 in libphp7.so[7f60d5599000+b8c000]
Aug 28 10:04:10 ns369670 systemd[1]: httpd.service: main process exited, code=killed, status=11/SEGV
Aug 28 10:04:10 ns369670 kill[4164]: kill: cannot find process ""
Aug 28 10:04:10 ns369670 systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 28 10:04:10 ns369670 systemd[1]: Failed to start The Apache HTTP Server.
Perhaps it's also relevant that I first followed this guide for installing php7: http://linoxide.com/linux-how-to/install-php-7-centos-7-fedora-21/
It didn't come with "make uninstall" though, so there are leftovers somewhere.
Apache version 2.4.6.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70380&edit=1