PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_IDNA » Bug #2801

Why require PHP 5?

Details

Submitted2004-11-21 13:03 UTC
Frompear-net-idna-2004 at ryandesign dot com
Assignedmnix
StatusClosed
PackageNet_IDNA
PHP Version4.3.9
OSN/A
Roadmaps(Not assigned)

Comments

[2004-11-21 13:03 UTC] pear-net-idna-2004 at ryandesign dot com

Description:
------------
Net_IDNA 0.4.0 won't install unless PHP >= 5.0.0RC1. But
looking at your code, you have a PHP 4 implementation,
and if I force the installation to ignore dependencies
(sudo pear install -f -n Net_IDNA) then it seems to work
just fine in PHP 4.3.9. So why are you requiring PHP 5?

Reproduce code:
---------------
sudo pear install -f Net_IDNA

Expected result:
----------------
successful installation

Actual result:
--------------
error message that PHP 5 is required

[2005-02-01 12:05 UTC] pear-net-idna-2004 at ryandesign dot com

Just to make sure we understand: the PHP4 version seems
to work fine! Please do not remove it, as our
application depends on it. Yes, I know your code says
not to rely on Net_IDNA. Well, we do anyway.

You've written the code, it works, now all you need to
do is make it possible for people to install it without
telling PEAR to ignore its supposed dependencies.