Experience with a PHP script with a segment error (Segment fault)

Source: Internet
Author: User
Tags soap

Today on a new server CLI running a PHP script, the segment fault error occurred, the first feeling should be a problem with an extension installation

This PHP code is called the SOAP interface, see the SOAP extension is not a problem, for a while do not know what the reason.

Thinking that you can debug the core file with GDB, then go to install GDB and execute the following command: Ulimit-c Unlimited

The re-execution did produce the core. PID file, using the GDB PHP path core. The PID hint does not have debug information.

This....

Asked the three gold pot, the original PHP compile time need to bring--debug to line.

So recompile PHP, then GDB, found that the last is the problem of the Curl module, to solve, over

Experience with a PHP script with a segment error (Segment fault)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.