By DaiTengu, 1/28/2007, 2:45 am o'clock

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. :)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Technorati
  • Netvouz
  • YahooMyWeb
  • Furl
  • De.lirio.us
  • Netscape
  • NewsVine
  • Slashdot
  • Fark
  • Spurl
  • StumbleUpon

Related articles: , ,

Add your own comment or set a trackback

Currently no comments

  1. No comment yet

Add your own comment

Subscribe without commenting



Follow comments according to this article through a RSS 2.0 feed