|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: [ANNOUNCEMENT] pecl_http-0.5.1 (alpha) Released. - msg#00171
List: php.pecl.devel
The new PECL package pecl_http-0.5.1 (alpha) has been released at
http://pecl.php.net/.
Release notes
-------------
* added some compatibility checks for older libcurl versions
* fixed some memory leaks
* fixed a typo which made http_split_response() useless
* fixed HTTPi_Request object destruction
Package Info
-------------
* Building absolute URIs
* RCF compliant HTTP redirects
* RFC compliant HTTP date handling
* Parsing of HTTP headers and responses
* Caching by "Last-Modified" and/or ETag
(with 'on the fly' option for ETag generation from buffered output)
* Sending data/files/streams with (multiple) ranges support
* Negotiating user preferred language/charset
* Convenient request functions to HEAD/GET/POST if libcurl is available
* HTTP auth hooks (Basic)
* HTTPi, HTTPi_Response and HTTPi_Request (with libcurl) classes
Related Links
-------------
Package home: http://pecl.php.net/package/pecl_http
Changelog: http://pecl.php.net/package-changelog.php?package=pecl_http
Download: http://pecl.php.net/get/pecl_http-0.5.1.tgz
Authors
-------------
Michael Wallner <mike@xxxxxxx> (lead)
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
how the new pecl.php.net channel will work - IMPORTANT
Hi,
I'm in the final stages of confirming the split of pear.php.net from
pecl.php.net in terms of installation. This will have many benefits for
the users. First off, pear list will by default list PEAR packages, and
pecl list will list PECL packages. I've successfully coded upgrading
cross-channel, so old PECL packages that use package.xml 1.0 (which is
always pear.php.net channel) can seamlessly upgrade to new package.xml
2.0's that are pecl.php.net channel. upgrade-all will also work seamlessly.
Here's the tricky part. The way release uploads work will change very
shortly. I'm about to commit code this week that will prevent pecl
packages from being uploaded using the pear.php.net interface.
pecl.php.net will be the only place you can upload them. In addition,
package.xml 2.0 will be required to take advantage of any of the new
features.
Note that package.xml 1.0 is *not* subject to the limitations I
described above, and will be available for pecl packages to use ad
infinitum.
However, it is crucial that pecl start using package.xml 2.0 the instant
PEAR 1.4.0 hits the stable mark. One of the most obvious reasons are
that binary packages are possible, so windows users can install pecl
packages using the pecl command. More importantly, the lists I spoke of
(separate package listings for PEAR and PECL packages using the pear and
pecl commands) will not happen without the use of package.xml 2.0. The
single most important benefit is that complex extensions like PDO will
be able to take advantage of huge improvements in dependencies for
packages. The pearinstaller dep can be used to require a PEAR installer
version without a confusing dependency on PEAR, a package dependency for
PDO_mysql can be used to install without having PDO enabled in php.ini.
So, PECLGen and ext_skel will need to be updated to create a package.xml
2.0 very soon. I'm at your disposal for any questions about how this
will work. It will affect every pecl developer, so I'd like to get this
right the first time around.
Thanks,
Greg
Next Message by Date:
click to view message preview
Re: problem installing pecl packages
Kendyl, I forgot to mention that on irc, several pecl developers
suggested that the versions of your build tools might be incompatible
with the PHP build process, I'm responding to pecl-dev in the hopes that
those experienced with these issues can help you
Greg
Kendyl Peebles wrote:
Greetings,
I seem to be having an issue installing PECL packages with pear and even
manually. I'm beginning to think I have something missing that is required, if
anyone has any ideas please please help.
here is what happens...
==========================
# pear install fileinfo-beta
downloading Fileinfo-0.2.tgz ...
Starting to download Fileinfo-0.2.tgz (5,491 bytes)
.....done: 5,491 bytes
3 source files, building
running: phpize
building in /var/tmp/pear-build-root/Fileinfo-0.2
running: /tmp/tmpNs8ewv/Fileinfo-0.2/configure
configure: error: cannot find sources (Makefile.in) in
/tmp/tmpNs8ewv/Fileinfo-0.2 or ..
`/tmp/tmpNs8ewv/Fileinfo-0.2/configure' failed
==========================
if I try it manually by downloading Fileinfo-0.2.tar.tgz, unpacking it and go
into the Fileinfo-0.2 directory, the following files are there...
==========================
-rw-r--r-- 1 1000 102 1474 Feb 12 2004 config.m4
-rw-r--r-- 1 1000 102 26 Feb 12 2004 CREDITS
-rw-r--r-- 1 1000 102 0 Feb 12 2004 EXPERIMENTAL
-rw-r--r-- 1 1000 102 11899 May 8 2004 fileinfo.c
-rw-r--r-- 1 1000 102 865 Feb 12 2004 fileinfo.php
-rw-r--r-- 1 1000 102 1965 May 8 2004 php_fileinfo.h
==========================
so from there I run phpize and I now have the following files and directories..
==========================
./config.m4
./fileinfo.c
./php_fileinfo.h
./CREDITS
./EXPERIMENTAL
./fileinfo.php
./build
./build/dynlib.mk
./build/fastgen.sh
./build/library.mk
./build/ltlib.mk
./build/mkdep.awk
./build/program.mk
./build/rules.mk
./build/rules_common.mk
./build/shtool
./acinclude.m4
./dynlib.m4
./configure.in
./install-sh
./mkinstalldirs
./missing
./aclocal.m4
./autom4te.cache
./autom4te.cache/requests
./autom4te.cache/output.0
./autom4te.cache/traces.0
./configure
./config.h.in
./config.guess
./config.sub
./ltmain.sh
==========================
if I then run ./configure I get the following
==========================
# ./configure
configure: error: cannot find sources (Makefile.in) in . or ..
==========================
this happens for any pecl package I've tried to install.. Pear seems to work
fine with any other pear packages or tasks.
pear -V returns the following
==========================
# pear -V
PEAR Version: 1.3.5
PHP Version: 4.2.2
Zend Engine Version: 1.2.0
Running on: Linux sylvester.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9
09:29:47 EST 2003 i686 athlon i386 GNU/Linux
==========================
php is installed on rh9 through rpm
php4.2.2-17
php-devel4.2.2-17
php-imap4.2.2-17
php-ldap4.2.2-17
php-mysql4.2.2-17
php-odbc4.2.2-17
==========================
pear config-show gives
==========================
# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/pear/docs
PHP extension directory ext_dir /usr/lib/php4
PEAR directory php_dir /usr/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/pear/data
PHP CLI/CGI binary php_bin /usr/bin/php
PEAR test directory test_dir /usr/share/pear/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
==========================================
a final note... configure for any other src works fine and great no issues but
i think these configures are looking for something else...
thanks in advance
Kendyl Peebles
IT/IS Director & Dept Manager
Clancy & Theys Construction Company
Raleigh, NC
______________________________________________________________________
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information or otherwise protected by law.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
______________________________________________________________________
CTMail powered by qmail and imp
Previous Message by Thread:
click to view message preview
how the new pecl.php.net channel will work - IMPORTANT
Hi,
I'm in the final stages of confirming the split of pear.php.net from
pecl.php.net in terms of installation. This will have many benefits for
the users. First off, pear list will by default list PEAR packages, and
pecl list will list PECL packages. I've successfully coded upgrading
cross-channel, so old PECL packages that use package.xml 1.0 (which is
always pear.php.net channel) can seamlessly upgrade to new package.xml
2.0's that are pecl.php.net channel. upgrade-all will also work seamlessly.
Here's the tricky part. The way release uploads work will change very
shortly. I'm about to commit code this week that will prevent pecl
packages from being uploaded using the pear.php.net interface.
pecl.php.net will be the only place you can upload them. In addition,
package.xml 2.0 will be required to take advantage of any of the new
features.
Note that package.xml 1.0 is *not* subject to the limitations I
described above, and will be available for pecl packages to use ad
infinitum.
However, it is crucial that pecl start using package.xml 2.0 the instant
PEAR 1.4.0 hits the stable mark. One of the most obvious reasons are
that binary packages are possible, so windows users can install pecl
packages using the pecl command. More importantly, the lists I spoke of
(separate package listings for PEAR and PECL packages using the pear and
pecl commands) will not happen without the use of package.xml 2.0. The
single most important benefit is that complex extensions like PDO will
be able to take advantage of huge improvements in dependencies for
packages. The pearinstaller dep can be used to require a PEAR installer
version without a confusing dependency on PEAR, a package dependency for
PDO_mysql can be used to install without having PDO enabled in php.ini.
So, PECLGen and ext_skel will need to be updated to create a package.xml
2.0 very soon. I'm at your disposal for any questions about how this
will work. It will affect every pecl developer, so I'd like to get this
right the first time around.
Thanks,
Greg
Next Message by Thread:
click to view message preview
Re: problem installing pecl packages
Kendyl, I forgot to mention that on irc, several pecl developers
suggested that the versions of your build tools might be incompatible
with the PHP build process, I'm responding to pecl-dev in the hopes that
those experienced with these issues can help you
Greg
Kendyl Peebles wrote:
Greetings,
I seem to be having an issue installing PECL packages with pear and even
manually. I'm beginning to think I have something missing that is required, if
anyone has any ideas please please help.
here is what happens...
==========================
# pear install fileinfo-beta
downloading Fileinfo-0.2.tgz ...
Starting to download Fileinfo-0.2.tgz (5,491 bytes)
.....done: 5,491 bytes
3 source files, building
running: phpize
building in /var/tmp/pear-build-root/Fileinfo-0.2
running: /tmp/tmpNs8ewv/Fileinfo-0.2/configure
configure: error: cannot find sources (Makefile.in) in
/tmp/tmpNs8ewv/Fileinfo-0.2 or ..
`/tmp/tmpNs8ewv/Fileinfo-0.2/configure' failed
==========================
if I try it manually by downloading Fileinfo-0.2.tar.tgz, unpacking it and go
into the Fileinfo-0.2 directory, the following files are there...
==========================
-rw-r--r-- 1 1000 102 1474 Feb 12 2004 config.m4
-rw-r--r-- 1 1000 102 26 Feb 12 2004 CREDITS
-rw-r--r-- 1 1000 102 0 Feb 12 2004 EXPERIMENTAL
-rw-r--r-- 1 1000 102 11899 May 8 2004 fileinfo.c
-rw-r--r-- 1 1000 102 865 Feb 12 2004 fileinfo.php
-rw-r--r-- 1 1000 102 1965 May 8 2004 php_fileinfo.h
==========================
so from there I run phpize and I now have the following files and directories..
==========================
./config.m4
./fileinfo.c
./php_fileinfo.h
./CREDITS
./EXPERIMENTAL
./fileinfo.php
./build
./build/dynlib.mk
./build/fastgen.sh
./build/library.mk
./build/ltlib.mk
./build/mkdep.awk
./build/program.mk
./build/rules.mk
./build/rules_common.mk
./build/shtool
./acinclude.m4
./dynlib.m4
./configure.in
./install-sh
./mkinstalldirs
./missing
./aclocal.m4
./autom4te.cache
./autom4te.cache/requests
./autom4te.cache/output.0
./autom4te.cache/traces.0
./configure
./config.h.in
./config.guess
./config.sub
./ltmain.sh
==========================
if I then run ./configure I get the following
==========================
# ./configure
configure: error: cannot find sources (Makefile.in) in . or ..
==========================
this happens for any pecl package I've tried to install.. Pear seems to work
fine with any other pear packages or tasks.
pear -V returns the following
==========================
# pear -V
PEAR Version: 1.3.5
PHP Version: 4.2.2
Zend Engine Version: 1.2.0
Running on: Linux sylvester.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9
09:29:47 EST 2003 i686 athlon i386 GNU/Linux
==========================
php is installed on rh9 through rpm
php4.2.2-17
php-devel4.2.2-17
php-imap4.2.2-17
php-ldap4.2.2-17
php-mysql4.2.2-17
php-odbc4.2.2-17
==========================
pear config-show gives
==========================
# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/pear/docs
PHP extension directory ext_dir /usr/lib/php4
PEAR directory php_dir /usr/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/pear/data
PHP CLI/CGI binary php_bin /usr/bin/php
PEAR test directory test_dir /usr/share/pear/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
==========================================
a final note... configure for any other src works fine and great no issues but
i think these configures are looking for something else...
thanks in advance
Kendyl Peebles
IT/IS Director & Dept Manager
Clancy & Theys Construction Company
Raleigh, NC
______________________________________________________________________
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information or otherwise protected by law.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
______________________________________________________________________
CTMail powered by qmail and imp
|
|