|
#1
| |||
| |||
| PHP running Stuffit command line I've installed the command line tool from Stuffit Deluxe 7 and it works fine from the terminal. I can get PHP to operate tar and gzip using shell_exec() but I can't make it operate stuffit from the command line, and would appreciate any ideas anyone may have for how to crack the problem. Please follow this link to see my existing code ... Link to existing PHP Source code So far the script successfully tarballs and gzips any directories in the /in/ directory and then moves the archive to the /out/ directory, the original (unprocessed) files are then removed. The "stuff" command line functions stubbornly refuse to work however. Anyone have any ideas? |
|
#2
| ||||
| ||||
| Have you tried specifying the complete path to the "stuff" command? PHP runs as the Apache user (www:www) and this user's shell may not include the path to the "stuff" command. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP / MySQL | Nynaeve | Mac OS X System & Mac Software | 6 | December 21st, 2005 03:59 PM |
| Problems with CRON running PHP scripts | AGBlee1970 | Unix & X11 | 3 | July 11th, 2003 04:08 AM |
| PHP & mySQL revisited: Help needed | MacLuv | Design & Media | 4 | December 2nd, 2002 09:41 AM |
| Enabling PHP in 10.2 Client | sixthring | Mac OS X System & Mac Software | 2 | October 28th, 2002 12:48 PM |
| PHP + MySQL running but not ZLIB | lashampoo | Mac OS X System & Mac Software | 2 | October 8th, 2001 04:58 PM |