Re: pclzip on PHP 5
| From: | Jochem Maas | Date: | Thu, 19 Apr 2007 00:23:57 +0000 |
| Subject: | Re: pclzip on PHP 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253224@lists.php.net to get a copy of this message | ||
Skip Evans wrote:
> Hey all,
>
> I'm developing a site on my local server, which runs PHP4 and BSD. I
> also installed pclzip.lib.php to create zip files on the PHP4 machine
> and all works well.
>
> The production server for this site runs PHP5, but I thought it would be
> backward compatible, but apparently not?
>
> When the PHP script that includes the pclzip library loads, the pclzip
> code just fills the browser as text.
>
> Has anyone experienced this?
>
> This is a dedicated server just for this site, so we can have them
> install PHP4 (4.4.4 specifically) if we need to.
that seems backwards.
I would get a local php5 dev environment and rewrite the
code to use http://php.net/zip instead.