php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34667 Notice: Unknown: Unable to find the wrapper "compress.bzip2".....
Submitted: 2005-09-28 04:47 UTC Modified: 2005-10-09 01:00 UTC
Votes:9
Avg. Score:3.7 ± 1.2
Reproduced:9 of 9 (100.0%)
Same Version:2 (22.2%)
Same OS:2 (22.2%)
From: webmaster at 24-99-92-156 dot no-ip dot com Assigned:
Status: No Feedback Package: Bzip2 Related
PHP Version: 5.0.5 OS: Windows Server 2003 Ent. SP1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-09-28 04:47 UTC] webmaster at 24-99-92-156 dot no-ip dot com
Description:
------------
I keep getting this error:

Notice: Unknown: Unable to find the wrapper "compress.bzip2" - did you forget to enable it when you configured PHP? in Unknown on line 0

no matter what php script I run, even just phpinfo(); 

Reproduce code:
---------------
Any php file at all

Expected result:
----------------
No error, output whatever script was

Actual result:
--------------
Notice: Unknown: Unable to find the wrapper "compress.bzip2" - did you forget to enable it when you configured PHP? in Unknown on line 0


then output from script, along with header errors if any headers were sent from the script that was run

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-29 21:39 UTC] iliaa@php.net
Did you load the bz2 extension into PHP?
 [2005-10-01 03:04 UTC] webmaster at 24-99-92-156 dot no-ip dot com
No, it was not included in either the php or the pecl zip files.
 [2005-10-01 03:06 UTC] webmaster at 24-99-92-156 dot no-ip dot com
Unless you mean php_bz2_filter.dll, the error appeared weather or not it was loaded. I could not find php_bz2.dll anywhere. Are they the same thing?
 [2005-10-01 17:01 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-10-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-11-10 19:28 UTC] saulovallory at yahoo dot com
I was having the same problem. The last snapshot (link above) solved it.
 [2007-09-16 14:31 UTC] gfj at gfhdf dot hgi
http://www.meta-fx.com
 [2007-11-12 13:41 UTC] abouzekry at gmail dot com
The Problem also appears to exist in PHP 5.2.0, on WinXP Professional,...but the probability of it's appear is random!!!
 [2008-01-03 17:04 UTC] computerlov at yahoo dot com
Here's how to reproduce the bug:

you need to have your php.ini file configured to display errors and show errors "E_ALL | E_STRICT"

I had E_ALL and it didn't show up.
Once adding "E_STRICT", it started popping as reported before.
Maybe the new snapshot didn't have E_STRICT in the ini file.

Php version i'm using: 5.2.5 (Downloaded it in December 2007)

I'm using windows binaries.

Cheers.
 [2008-01-03 18:04 UTC] jpenn at rcn dot com
I am running PHP 5.2.5 Windows 2000 server and IIS 5. I get the same error when "error_reporting = E_ALL" is set in the php.ini file. I have it set to E_STRICT and I am no longer recieving this error. 


JP
 [2008-01-14 15:43 UTC] lord dot arrogant at gmail dot com
I am running 5.2.5 on WinXP Pro with Apache 2.2.6 and the error is always there when I first open my browser and load a page. If I reload the page immediately the error disappears. I have loaded the bz2.
 [2008-10-05 04:51 UTC] lelorrain at yahoo dot fr
I have the same problem on every PHP script execution. I am using PHP 5.2.6 on Windows Server 2000. gz2 is NOT installed.
 [2008-11-03 20:39 UTC] ansnowflake at gmail dot com
If we are not using BZ extension, we may comment the following lines in php.ini:

[PHP_BCOMPILER]
extension=php_bcompiler.dll

to:

;[PHP_BCOMPILER]
;extension=php_bcompiler.dll
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC