Re: Payflow and Php5 on FreeBSD

From: Date: Fri, 29 Dec 2006 12:20:58 +0000
Subject: Re: Payflow and Php5 on FreeBSD
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-246279@lists.php.net to get a copy of this message
Hello, Thanks for your reply. Some additional information, I have not noticed a php5-pfpro extensions port, i did see one for php4, but i was informed that going back to php4 is not an option, programmers here use php5 specific functions. Judging from googling i'm sure i'm making this harder than it needs to be, but i have two requirements: one is to avoid or minimize downtime, and two is to not utilize both ports and source-compiled software, which in my opinion makes future maintence harder especially if i'm not going to be doing it. I can think of two options, i'd appreciate comments, suggestions, and ideas. Option 1 is to uninstall all php5.x ports on the box and do a source-install of php5. I'm really not happy about this option, but i'll use it if something easier doesn't come along. Option2 is to compile php5 from source on another box, get the pfpro.so shared object from that box, copy it in to the php5 extensions area on the original box, and load it via extensions.ini. Another idea is i've read on php.net that payflow is now a pecl extension, which i interpret to mean i could just download and drop it in, but i have not been able to find the file although this one would probably be easiest. Thanks. Dave. # pkg_info
apache-2.1.9_5      Version 2.1 of Apache web server with prefork MPM.
apache-ant-1.6.5_2  Java- and XML-based build tool, conceptually similar to mak
autoconf-2.59_2     Automatically configure source code on many Un*x platforms
cclient-2004g,1     Mark Crispin's C-client mail access routines
curl-7.15.3         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsup-16.1h_2       General network file distribution system optimized for CVS
diablo-jdk-1.5.0.07.01_1 Java Development Kit 1.5.0_07.01
expat-2.0.0_1       XML 1.0 parser written in C
ezm3-1.2            Easier, more portable Modula-3 distribution for building CV
fontconfig-2.3.2_3,1 An XML-based font configuration API for X Windows freetype2-2.1.10_3 A free and portable TrueType font rendering engine
gettext-0.14.5_2    GNU gettext package
gmake-3.80_2        GNU version of 'make' utility
help2man-1.36.3     Automatically generating simple manual pages from program o
imake-6.9.0         Imake and other utilities from X.Org
javavmwrapper-2.3 Wrapper script for various Java Virtual Machines
jpeg-6b_4           IJG's jpeg compression utilities
libdrm-2.0_1        Userspace interface to kernel Direct Rendering Module servi
libiconv-1.9.2_2    A character set conversion library
libltdl-1.5.22      System independent dlopen wrapper
libmcrypt-2.5.7_2 Multi-cipher cryptographic library (used in PHP)
libtool-1.5.22_2    Generic shared library support script
libxml2-2.6.23_1    XML parser library for GNOME
linux_base-8-8.0_14 Base set of packages needed in Linux mode (for i386/amd64)
m4-1.4.4            GNU m4
mysql-client-4.1.18_1 Multithreaded SQL database (client) mysql-server-4.1.18_2 Multithreaded SQL database (server) p5-gettext-1.05_1 Message handling functions
pecl-PDO-1.0.3      PHP Data Objects Interface
perl-5.8.8          Practical Extraction and Report Language
pfpro-3.0.8_2       SDK for VeriSign's PayFlow Pro
php5-5.2.0          PHP Scripting Language (Apache Module and CLI)
php5-bcmath-5.1.2_1 The bcmath shared extension for php
php5-bz2-5.1.2_1    The bz2 shared extension for php
php5-calendar-5.1.2_1 The calendar shared extension for php php5-ctype-5.1.2_1 The ctype shared extension for php php5-curl-5.1.2_1 The curl shared extension for php
php5-dom-5.1.2_1    The dom shared extension for php
php5-gd-5.2.0       The gd shared extension for php
php5-iconv-5.1.2_1 The iconv shared extension for php php5-imap-5.1.2_1 The imap shared extension for php php5-mcrypt-5.1.2_1 The mcrypt shared extension for php php5-mysql-5.1.2_1 The mysql shared extension for php php5-pcre-5.1.2_1 The pcre shared extension for php php5-posix-5.1.2_1 The posix shared extension for php php5-session-5.1.2_1 The session shared extension for php php5-simplexml-5.1.2_1 The simplexml shared extension for php php5-sqlite-5.1.2_1 The sqlite shared extension for php php5-tokenizer-5.1.2_1 The tokenizer shared extension for php
php5-xml-5.1.2_1    The xml shared extension for php
php5-xmlreader-5.1.2_1 The xmlreader shared extension for php php5-xmlwriter-5.1.2_1 The xmlwriter shared extension for php php5-zlib-5.1.2_1 The zlib shared extension for php
pkgconfig-0.20      A utility to retrieve information about installed libraries
png-1.2.12_1        Library for manipulating PNG images
python-2.4.2        An interpreted object-oriented programming language
rdate-1.1           Sets the clock of the local host to the time of another hos
rsync-2.6.8_2       A network file distribution/synchronization utility
t1lib-5.1.0_1,1     A Type 1 Rasterizer Library for UNIX/X11
wget-1.10.2         Retrieve files from the Net via HTTP and FTP
wildfire-3.1.1_1    Wildfire is an enterprise instant messaging (EIM) server
xorg-libraries-6.9.0 X11 libraries and headers from X.Org ----- Original Message ----- From: "Roman Neuhauser" <neuhauser@sigpipe.cz> To: "Dave" <dmehler26@woh.rr.com> Cc: <php-general@lists.php.net> Sent: Wednesday, December 20, 2006 7:46 AM Subject: Re: [PHP] Payflow and Php5 on FreeBSD
# dmehler26@woh.rr.com / 2006-12-19 18:33:07 -0500:
I'm trying to get payflow working with php5 as a loadable extension. My configure line has: '--with-pfpro=shared,/usr/local' and php5 installed fine via FreeBSD ports. I then installed Payflow pro also via FreeBSd ports. I'm getting an error with payflow_init which tells me payflow and php are not talking.
What ports exactly have you installed for this? The only Payflow related port I can see is a Perl module Business::OnlinePayment. Let us know exact port origins (/usr/ports/$category/$portname), pkg names and options used. You'll find the information in /var/db/pkg and /var/db/ports. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#246279) next »