+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14

Thread: Wamp and tar support

  1. #1
    Tom
    Tom is offline Wannabe Geek Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold
    Join Date
    Jan 2007
    Location
    Kildare, Ireland
    Posts
    245

    Default Wamp and tar support

    Anyone now how to add tar support to wamp? I'm using shell_exec and tar to extract a .tar file...

    Code:
    shell_exec("tar -czf $backup_fn -C $directory $foldertocompress");
    
    it works fine online with my hosting providers but I'm not sure how to set it up myself for use with wamp.

  2. #2
    Forbairt's Avatar
    Forbairt is offline respect my AW-THOR-IT-AYY Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,285

  3. #3
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,900

  4. #4
    Forbairt's Avatar
    Forbairt is offline respect my AW-THOR-IT-AYY Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,285

    Default

    Quote Originally Posted by blacknight View Post

    If the other works I'd think cygwin is overkill ... (though it does bring some nice features with it)

  5. #5
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,900

    Default

    Cygwin is the only one I've any personal experience of

    Fortunately these days I don't have to worry about this kind of stuff anymore

  6. #6
    Forbairt's Avatar
    Forbairt is offline respect my AW-THOR-IT-AYY Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,285

    Default

    Quote Originally Posted by blacknight View Post
    Cygwin is the only one I've any personal experience of

    Fortunately these days I don't have to worry about this kind of stuff anymore
    Haven't used Cygwin in a few years to be honest ... but it was a fairly big install then (doesn't matter so much now I guess)

    Ah ... god bless Macs

  7. #7
    Tom
    Tom is offline Wannabe Geek Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold Tom is a splendid one to behold
    Join Date
    Jan 2007
    Location
    Kildare, Ireland
    Posts
    245

    Default

    Thanks guys I've tried both but I'm lost as to what to do with either of them. I've installed Cygwin and I get a console when I run it and I've downloaded GNU UnxUtils. What do I do next

  8. #8
    Forbairt's Avatar
    Forbairt is offline respect my AW-THOR-IT-AYY Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,285

    Default

    you'll want to edit your PATH to include a link to where you keep the tar program.

    As you're making a shell_exec ... if it doesn't find tar it'll throw an error

  9. #9
    gav240z's Avatar
    gav240z is offline Wannabe Geek gav240z is just really nice gav240z is just really nice gav240z is just really nice gav240z is just really nice gav240z is just really nice
    Join Date
    Dec 2007
    Location
    Rathmines, Dublin
    Posts
    473

    Default Shell commands.

    Sorry this isn't exactly on the topic of this thread. However anyone got a good guide to Shell Commands for Unix servers? I would really like to be able to upload zip files to my server via FTP and execute shell commands to unzip rather than upload each file singularly.

    Also what do I need to check for in terms of hosting support for this feature?

    I know this is a newbie question but I've never known any better.

  10. #10
    Forbairt's Avatar
    Forbairt is offline respect my AW-THOR-IT-AYY Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough Forbairt will become famous soon enough
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,285

    Default

    Personally I love vi for quick edits (config files and so on)

    you'll want to ask them if you've got shell access with your account.
    You'll also want to ask them if you can run

    tar gunzip zip unzip chmod chown ...

    a lot of hosts will only let you copy files around

    You'll find however a lot of the filemanagers will let you upload zip / tar / gz files and will let you decompress them on the server.

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Buy.at Support?
    By blacknight in forum Buy.at
    Replies: 9
    Last Post: 11-06-2008, 11:45 AM
  2. What should I charge for support
    By alex in forum The Business Aspects of Web Work
    Replies: 7
    Last Post: 07-02-2008, 11:12 PM
  3. Technical Support L1
    By blacknight in forum Employment Available
    Replies: 4
    Last Post: 14-12-2007, 09:24 AM
  4. Etiquette with support
    By Forbairt in forum Off topic discussion
    Replies: 8
    Last Post: 03-11-2007, 11:20 AM
  5. support script ?
    By kitna23 in forum Webmaster Discussion
    Replies: 0
    Last Post: 25-10-2006, 05:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64