FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18869&edit=1

ID: 18869
Comment by: matrich
Reported By: rkmatrich at gmail dot com
Summary: pear/Crypt_GPG requires PHP extension "posix"
Status: Closed
Type: Feature/Change Request
Package: Crypt_GPG
Operating System: Linux
Package Version: 1.3.0
PHP Version: 5.3.8
Assigned To: gauthierm
New Comment:

Hi gauthierm,
I have tried installing Crypt_GPG-1.3.2 and it seems it still requires
PHP extension "posix". Detailed error below:

C:\wamp\bin\php\php5.4>php pyrus.phar install pear/Crypt_GPG
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at C:\wamp\bin\php\php5.4
PEAR2\Pyrus\Installer\Exception: Dependency validation failed for some
packages
to install, installation aborted
PEAR2\Pyrus\Dependency\Exception: pear.php.net/Crypt_GPG can optionally
use PHP
extension "posix"
PEAR2\Pyrus\Dependency\Exception: Cannot install
pear.php.net/Crypt_GPG on Win
dows

Please help. Thanks.


Previous Comments:
------------------------------------------------------------------------

[2011-09-26 17:18:02] gauthierm

<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: gauthierm</span>
</div>Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/

Fixed in Crypt_GPG 1.3.2. Thanks for your report.

------------------------------------------------------------------------

[2011-09-26 16:18:15] rhsoftware

thank you!

------------------------------------------------------------------------

[2011-09-26 16:13:56] gauthierm

Ok, I see if you use the homedir option, the posix functions are not
called. I will make
posix optional.

------------------------------------------------------------------------

[2011-09-26 15:30:07] rhsoftware

i was and i am using 1.2.0 the whole time without problems and
posix-extension even on the highest error-reporting so "has required
posix since 0.7.0" is simply wrong

[root@buildserver:~]$ pear list | grep GPG
Crypt_GPG 1.2.0 stable

[root@buildserver:~]$ cat /etc/php.ini | grep error_reporting
error_reporting = E_ALL | E_STRICT

[root@buildserver:~]$ autotest.php gnupg
/Volumes/dune/buildserver/autotest/parts/gnupg.php
OK: gnupg

------------------------------------------------------------------------

[2011-09-26 15:21:07] gauthierm

Crypt_GPG has required posix since 0.7.0. Were you actively using
Crypt_GPG with
no warnings without the posix extension (which should be built by
default)?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=18869

Search Discussions

  • Mike at Dec 20, 2011 at 5:48 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=18869&edit=1

    ID: 18869
    Updated by: mike@silverorange.com
    Reported By: spam2 at rhsoft dot net
    Summary: pear/Crypt_GPG requires PHP extension "posix"
    Status: Closed
    Type: Feature/Change Request
    Package: Crypt_GPG
    Operating System: Linux
    Package Version: 1.3.0
    PHP Version: 5.3.8
    Assigned To: gauthierm
    Roadmap Versions:
    New Comment:

    Richard,

    The last two lines explain what's going on:

    ... Crypt_GPG can optionally use PHP extension "posix"
    ... Cannot install pear.php.net/Crypt_GPG on Windows

    Crypt-GPG is not supported on Windows because Windows doesn't have
    enough file
    descriptors. Crypt_GPG requires at least 5 file descriptors to securely
    pass
    information like passphrases and external signatures to the gnupg
    process.

    See http://pear.php.net/bugs/bug.php?id=13807


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-12-17 17:38:15] matrich

    Hi gauthierm,
    I have tried installing Crypt_GPG-1.3.2 and it seems it still requires
    PHP extension "posix". Detailed error below:

    C:\wamp\bin\php\php5.4>php pyrus.phar install pear/Crypt_GPG
    Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
    Using PEAR installation found at C:\wamp\bin\php\php5.4
    PEAR2\Pyrus\Installer\Exception: Dependency validation failed for some
    packages
    to install, installation aborted
    PEAR2\Pyrus\Dependency\Exception: pear.php.net/Crypt_GPG can optionally
    use PHP
    extension "posix"
    PEAR2\Pyrus\Dependency\Exception: Cannot install
    pear.php.net/Crypt_GPG on Win
    dows

    Please help. Thanks.

    ------------------------------------------------------------------------

    [2011-09-26 17:18:02] gauthierm

    -Status: Open
    +Status: Closed
    -Assigned To:
    +Assigned To: gauthierm
    Thank you for your bug report. This issue has been fixed
    in the latest released version of the package, which you can download at
    http://pear.php.net/get/

    Fixed in Crypt_GPG 1.3.2. Thanks for your report.

    ------------------------------------------------------------------------

    [2011-09-26 16:18:15] rhsoftware

    thank you!

    ------------------------------------------------------------------------

    [2011-09-26 16:13:56] gauthierm

    Ok, I see if you use the homedir option, the posix functions are not
    called. I will make
    posix optional.

    ------------------------------------------------------------------------

    [2011-09-26 15:30:07] rhsoftware

    i was and i am using 1.2.0 the whole time without problems and
    posix-extension even on the highest error-reporting so "has required
    posix since 0.7.0" is simply wrong

    [root@buildserver:~]$ pear list | grep GPG
    Crypt_GPG 1.2.0 stable

    [root@buildserver:~]$ cat /etc/php.ini | grep error_reporting
    error_reporting = E_ALL | E_STRICT

    [root@buildserver:~]$ autotest.php gnupg
    /Volumes/dune/buildserver/autotest/parts/gnupg.php
    OK: gnupg

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=18869

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 17, '11 at 4:40p
activeDec 20, '11 at 5:48p
posts2
users2
websitepear.php.net

2 users in discussion

Matrich: 1 post Mike: 1 post

People

Translate

site design / logo © 2022 Grokbase