.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 27th, 2009, 02:47 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Random: PHP RAR Archive Updating

I'm trying to use the command line rar tool to update a RAR archive on debian, from a PHP script. I can successfully create new archives from my script. I can successfully run a RAR update command to add files to an archive from the shell, as the apache user. But whenever I try to run a RAR update system call from PHP, the RAR tool seems to be unable to work. All RAR outputs is:

Quote:
RAR 3.80 beta 3 ...

Updating archive /path/to/archive.rar
The archive in question is not solid. I cannot get it to contain new files with a "rar a" command or a "rar u", no matter what random switches I add. The baffling thing is that I can trivially su into the apache user and run the exact command I'm trying to run from PHP, and it works!

I also cannot seem to get 7z to update any archives from PHP. Same situation, where I can update them with the same command on the shell as apache user, and I can create new archives from PHP without problem.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.