1) find php.ini

2) uncomment ;extension=php_bz2.dll

3) restart apache

4) if it`s suck, then see event viewer for info

5) may be "Bzip2 library" wants to some additional dll`s to system32 from
bzip2 site

"Marko Rastislav" <[EMAIL PROTECTED]> сообщил/сообщила в
новостях следующее:
news:[EMAIL PROTECTED]
> Hi all,
> I just starting with php, and i hawe problem with Bzip2 library. I
> will using this library, but when I use function "bzcompress()" in the
> editor ZDE (Zend Development Enviroment 3.0.2), this editor write text
"Call
> to undefined function:  bzcompress() ... ".
>
> Example:
> <?php
> $str = "sample data";
> $bzstr = bzcompress($str, 9);
> print( $bzstr );
> ?>
> In help this function it's in section "INSTALL" information this
> text: "You will need to use the --with-bz2[=DIR] configuration option when
> compiling PHP to enable bzip2 support."  Must I this funkcions aktivated?
> Where (file) I must write this text, and how? (Please example).
>
> PS: I hawe Apache2.0.50 and PHP5.0.1, from instal-packed "XAMPP
> BASIC package 1.4.6"
>
> Thanks,
> ... kofi.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to