Recompiling PHP under FC4 --with-pfpro (Verisign Payflow Pro)

Discussion in 'Installation/Configuration' started by Roman, Aug 15, 2005.

  1. Roman

    Roman New Member

    Just installed Fedora Core 4, Apache, MySQL and PHP on my server. Everything runs great, but then I found out that I have to recompile PHP with Verisign's Payflow Pro module.
    Anybody did this and knows how to?

    Roman
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Basically, it works like this:
    Download PHP, then unpack it:
    Code:
    tar xvfz php-5.0.4.tar.gz
    cd php-5.0.4/
    ./configure --with-apxs=/path/to/apxs --enable-track-vars --enable-sockets --with-config-file-path=/etc --enable-ftp --with-mysql=/usr --with-pfpro=/path/to/PayFlowProDirectory [... a lot of other options]
    You can find out all configuration options by running

    Code:
    ./configure --help
    Then run
    Code:
    make
    make install
     
  3. Roman

    Roman New Member

    PHP already installed

    Do I need to uninstall/remove PHP first?

    R
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    No, you don't.
     
  5. Roman

    Roman New Member

    It worked !

    This worked and I am almost ready to go Live with the store.
     
    Last edited: Aug 20, 2005
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Do you have SSL enabled in your Apache? Is there a line
    Code:
    Listen 443
    in your Apache configuration?
     
  7. Roman

    Roman New Member

    Listen 443 added

    I have added "Listen 443" into httpd.conf file just before the SSLCert.....
    Still doesn't work but comes up with a different error:
    The connection has terminated unexpectedly. Some data may have been transferred.
    Do I need to tell apache where to look for https content? Or setup a virtual host?

    Roman
     
    Last edited: Aug 20, 2005

Share This Page