FAQ
Edit report at https://bugs.php.net/bug.php?id=70380&edit=1

  ID: 70380
  Updated by: rasmus@php.net
  Reported by: Birman at Cerberox dot com
  Summary: Segfault in libphp7.so upon apache start
-Status: Open
+Status: Feedback
  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:

Check your Apache configuration files and make sure you are not loading both php5 and php7 into Apache. You should see something like:

LoadModule php7_module modules/libphp7.so

If you also have:

LoadModule php5_module modules/libphp5.so

then delete the php5 one.


Previous Comments:
------------------------------------------------------------------------
[2015-12-05 07:51:09] prionkor dot business@gmail.com

I have the exact same problem. Was you able to resolve this? I am using centos 7.1 with apache 2.4.6 in a vagrant box

------------------------------------------------------------------------
[2015-10-11 02:10:37] Birman at Cerberox dot com

It tells me that there is no such command as "a2dismod" when I try this.
Just attempted again after downloading repos. Still same problem

------------------------------------------------------------------------
[2015-09-10 15:46:06] krihog@gmail.com

Had the same error when trying to restart apache after following that guide. What i did to solve it was to run:
sudo a2dismod php5

and then restarting the apache2 service, after that it all worked

------------------------------------------------------------------------
[2015-09-08 12:34:46] Birman at Cerberox dot com

[New LWP 31943]
Reading symbols from /usr/sbin/httpd...Reading symbols from /usr/lib/debug/usr/sbin/httpd.debug...done.
done.
Missing separate debuginfo for /usr/lib64/httpd/modules/libphp7.so
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/9b/4f26c922cbe8b248ea5d2b906b4d7a04efe406
Missing separate debuginfo for
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/64/de62eaa6d0191ead9358297d64406988d7ed66
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `httpd -X'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f853a212c9d in _emalloc (size=288) at /usr/local/src/php/Zend/zend_alloc.c:2376

warning: Source file is more recent than executable.
2376 if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) {

That's the best it offered me. The 50+ things it asked me to install were actually already installed.

------------------------------------------------------------------------
[2015-09-01 15:48:36] laruence@php.net

yeah, please paste them all, thanks

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

     https://bugs.php.net/bug.php?id=70380

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedDec 5, '15 at 7:51a
activeDec 5, '15 at 2:26p
posts2
users2
websitephp.net

People

Translate

site design / logo © 2017 Grokbase