I ran into this problem with OpenBSD 4.0. Since apache runs chroot’ed, what I had to do was create /var/www/tmp then assign it 777 permissions (nothing else worked), and set php.ini to have the temp folder “/tmp” since the chroot doesn’t go any deeper.
Hope that helps.
I found the answer for OpenBSD 4.0.
edit your httpd.conf file in /var/www/conf/ to have
“AllowOverride All” instead of “AllowOverride None”
AllowOverride None means that no .htaccess file can actually do anything. There are other options for AllowOverride, but I enjoy doing lots of .htaccess edits, so I put it to all.
Hope that fixes your problem!