Re: Install of Ubuntu Linux Version of php_http.dll
| From: | Matthew Pettis | Date: | Sat, 06 Oct 2007 03:57:26 +0000 |
| Subject: | Re: Install of Ubuntu Linux Version of php_http.dll | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28055@lists.php.net to get a copy of this message | ||
Hi Ken,
Thanks... I think I have these extensions in my Ubuntu install (I did
download them via synaptic) but I still can't get the functionality to
work. Here are the relevant statements I have in the code that works in my
Windows install:
===============
<!-- Load http dll -->
<?php dl("php_http.dll"); ?>
...
$response = http_parse_message( http_post_fields("
http://localhost/cgi-bin/mapserv.exe",
$fields) );
================
According to Synaptic, I do have the following installed:
php-http
php-http-request
Do I need to tell the .php file how to access these modules (I assume if I
do, it needs to be different than the 'dl' statement above). However, I've
browsed the installed files for these, and I find no definition for either
of the function I need... perhaps I'm missing something...
tia,
Matt
So I need to be able to access the http_post_fields and http_parse_message
functions in Ubuntu. Can someone help me figure out how to access this?
Thanks,
Matt
On 10/5/07, Ken Guest <ken@linux.ie> wrote:
>
> On Fri, Oct 05, 2007 at 12:03:58AM -0500, Matthew Pettis wrote:
> > Hi,
> >
> > I have Apache/PHP5 running on windows that needs and uses
> php_http.dll. I
> > am trying to replecate the system on Ubuntu. My question: what is the
> > Ubuntu analog of php_http.dll and how do I install it (I assume through
> > PEAR).
> >
> > thanks,
> > matt
>
> If this is the pear HTTP package, which I doubt as you are referring to a
> .dll, you
> could install it via $sudo pear install http
>
> It is most likely the php extension that you are looking for - in that
> case I'd
> refer you to http://docs.php.net/manual/en/http.install.php ;
> I'd hazard a
> guess that "$apt-get install php-http-request" would take care of this on
> Ubuntu.
>
> k.
>
> --
> Ken Guest
> Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/
> Irish PHP Users Group http://www.php.ie
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFHBfPeigdNTD9+4fIRAkQPAJ9VuMcrdceERviqJ1lzmuH2/s7hcwCfR0KZ
> kqut9tSd/otzoikHIVm/5nQ=
> =38MQ
> -----END PGP SIGNATURE-----
>
>
--
It is from the wellspring of our despair and the places that we are broken
that we come to repair the world.
-- Murray Waas