Boss asked me to figure this out and now we're both stumped. I wrote a little test script to see if we can use PHP to unzip a file:$ more ziptest.php
exec("unzip ~/ziptest.zip", $aOutput);
It works great at the command line - it extracts the file and gives me stdout:$ php -f ziptest.php
Start here[Archive: /home/user/ziptest.zip]end here
But it's not doing squat via Apache:Start hereend here
And no we're not using the zip module. Our SAMP stack has to be built by hand from source code and I don't have the time right now to do that to add this functionality to PHP. I've also verified that the directory the script lives in has rw perms for the Apache daemon user.
Can I assume I'm really close and it's some tiny detail I'm overlooking?
Thx in advance,
If you type "Google" into Google
, you can break the Internet. -- Jen Barber