apache: add -p to mkdir external so the process will not break if parent directory does not exist