|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19188 Unable to open in read mode
Submitted: 2002-08-30 01:19 UTC Modified: 2002-09-23 08:00 UTC
From: elf at glassfish dot net Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.2.2 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
39 + 7 = ?
Subscribe to this entry?

 [2002-08-30 01:19 UTC] elf at glassfish dot net
When you try to install a module with PEAR, it always says
Unable to open in read mode

for example:

nexus# pear install Log
downloading ...
...done: 7,145 bytes
Unable to open in read mode '/Log'
nexus# pear install Mail_Mime
downloading ...
...done: 15,268 bytes
Unable to open in read mode '/Mail_Mime'

I configured PHP using:

> ./configure --enable-cli --with-pear --with-zlib --enable-bcmath --enable-calendar --enable-ftp --with-gd --with-ttf --with-gettext --with-gmp --with-imap --with-ldap --with-mcal=/usr/local/mcal --with-mm --enable-shmop --enable-sockets --with-regex=system --enable-sysvshm --enable-sysvsem --with-xml --enable-xml --with-mhash

and into apache as well, using --with-apache, but that should have nothing to do with PEAR acting funny

I am using the latest (at this time) FreeBSD source for the 4.x (4.6 at this time) tree from CVS, (RELENG_4)

the PHP ./configure script also failed to detect the presence of getwd() and the definitions of uint, ushort, etc. on the FreeBSD system, as it seems to be unnaturally geared towards Linux, and I had to #define HAVE_GETWD, HAVE_UINT, HAVE_USHORT manually at compile time, however aside from that, the compile was uneventful. This was specific to the mysql portion of PHP, and didn't occur anywhere else.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-30 03:36 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-09-03 16:44 UTC] elf at glassfish dot net
Works great now, thanks.
 [2002-09-23 08:00 UTC]
Closing this then.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 10:03:37 2021 UTC