PHP 5 Segmentation Fault

Recently, I used portupgrade to upgrade the PHP5 on my FreeBSD box, and it seems working smoothly. But few days ago, I found that php sometimes got Signal 11 (Segmentation Fault) unexpectedly.

Even type php --version in command line, I also get the segmentation fault!!
It took me lots of time to trace/solve the problem. Re-install the ports didn’t work.

Finally, it occur to me…the problem might seat on the extensions.
After try-and-error testing by disable/enable extensions in the extension.ini file.
The faulty extension is simplexml.so.
Simplexml related extensions are also impact, including:

  • pdo_sqlite.so
  • spl.so
  • sqlite.so
  • pdo.so

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *