I ran into an odd problem yesterday. A customer needed the payflow pro extension added to PHP on a CentOS 4.4 server running cPanel. I upgraded him to apache 1.3.37 and php 4.4.4. all went well thus far.
When I went into /home/cpapache/buildapache/php-4.4.4 to recompile PHP –with-pfpro, I ran into a problem. pfpro compiled and worked fine with the test script, however curl suddenly started throwing segmentation faults any time it tried to connect to a secure (https) site. Apparently this has been an issue plaguing quite a few people for awhile, and Google had no good answer.
After a few hours of cursing, cussing, and banging my head against my desk I decided to try one last thing. Compile pfpro as a shared module using: –with-pfpro=shared,/path/to/pfpro This stopped the segfaults and all was once again well in curl land.
Why am I telling you this? Hopefully someone who has the same problem will come across this and it will spare them hours upon hours of headaches. ![]()




















No comment yet