DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd January 2010
joostvgh joostvgh is offline
Port Guard
 
Join Date: Jan 2010
Posts: 38
Thanked 0 Times in 0 Posts
Default phpBB3 on openbsd + PHP

hi.

i installed a phpbb3 forum on my openbsd.

to do this i had to install mysql and php

Code:
# pkg_info
....
mysql-client-5.0.83 multithreaded SQL database (client)
mysql-server-5.0.83 multithreaded SQL database (server)
...
php5-core-5.2.10    server-side HTML-embedded scripting language
php5-mysql-5.2.10   mysql database access extensions for php5
php5-mysqli-5.2.10  mysql database access extensions for php5
...
so now my forum is up and running.

however when I try to upload a file/picture as attachment, I get an error.
"Temporary folder could not be found. Please check your PHP installation"

So I think this has something to do with the openBSD setting and not the phpBB3 forum setting, since I already tripple-checked those.

dirs:
/var/www/phpBB3/tmp (chmod -R 777 on phpBB3)

link to pic with all settings:

http://www.phpbb.com/community/downl...69b3&mode=view
Reply With Quote
  #2   (View Single Post)  
Old 22nd January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

Have you read FAQ 10.16 yet? If not, see if it applies to your situation.
Reply With Quote
  #3   (View Single Post)  
Old 22nd January 2010
joostvgh joostvgh is offline
Port Guard
 
Join Date: Jan 2010
Posts: 38
Thanked 0 Times in 0 Posts
Default

thx. this helped. i changed the folder in php.ini to /phpBB3/tmp since the chroot for httpd is /var/www .

works! thx alot!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick