Petrus Bastos wrote: > Unfortunately, I don't have access to root user here. It was a miracle get > access to system command. I have to resolve this problem without root user. > :( > > On Feb 18, 2008 6:08 PM, Shawn McKenzie <nospam@xxxxxxxxxxxxx> wrote: > >> 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@xxxxxxxxx> 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 >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > Well, have someone install zip. You won't have any luck trying to execute that directory. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php