Try to add /tmp to open_basedir. For example:
php_admin_value open_basedir /some/path:/another/path:/tmp
I'm not sure this is the problem you actually faced, but I found your question while looking for this solution so I guess that might help someone else.