Re: Install of Ubuntu Linux Version of php_http.dll

From: Date: Sat, 06 Oct 2007 08:31:26 +0000
Subject: Re: Install of Ubuntu Linux Version of php_http.dll
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28057@lists.php.net to get a copy of this message
On Fri, Oct 05, 2007 at 10:57:26PM -0500, Matthew Pettis wrote: > 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: > <snip> > 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? > on my Ubuntu laptop I did: 1// $ apt get install php-http-request 2// copied example 44-1 from http://pear.php.net/manual/en/package.http.http-request.intro.php into a file hr.php 3// $ php hr.php It worked and displayed the content of the yahoo homepage. Does $pear list HTTP_Request result in any useful information? I get the following: kguest:~$ pear list HTTP_Request Installed Files For HTTP_Request ================================ Type Install Path php debian/php-http-request/usr/share/php/HTTP/Request.php php debian/php-http-request/usr/share/php/HTTP/Request/Listener.php doc debian/php-http-request/usr/share/php/docs/HTTP_Request/docs/example.php doc debian/php-http-request/usr/share/php/docs/HTTP_Request/docs/download-progress.php You will either get something resembling the above or a message to the effect that HTTP_Request is not installed. k. -- Ken Guest Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/

« previous php.pear.general (#28057) next »