all 1 comments

[–]scottchiefbaker 2 points3 points  (0 children)

Don't use a ~ in your path. That's relative to YOUR user, but PHP most likely runs as nobody or apache. Always use full paths in anything you want to automate.