Re: Protected ZIP file with password
| From: | Shawn McKenzie | Date: | Mon, 18 Feb 2008 21:08:35 +0000 |
| Subject: | Re: Protected ZIP file with password | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269542@lists.php.net to get a copy of this message | ||
Shawn McKenzie wrote:
> Petrus Bastos wrote:
>> zip program is installed. I'd type whereis and returned
>> /usr/ports/archivers/zip. I've change my zip command and put th whole path.
>> Now return error 126. :(
>>
>> On Feb 18, 2008 5:51 PM, Stut <stuttle@gmail.com> wrote:
>>
>>> Petrus Bastos wrote:
>>>> I'm testing on FreeBSD. I can use any command through system(), but the
>>> zip
>>>> command doesn't works! I don't know why.
>>> Is zip installed? AFAIK it's not by default.
>>>
>>> Do a system('whereis zip'); to see.
>>>
>>> -Stut
>>>
>>> --
>>> http://stut.net/
>>>
>
> Umm, it's been a while for me on BSD, but isn't
> '/usr/ports/archivers/zip' a directory holding sources to build zip?
>
> -Shawn
Maybe as root:
cd /usr/ports/archivers/zip
make install clean zip
-Shawn