Koozali.org: home of the SME Server

Set upload_tmp_dir local for ibay

vpmysli

Set upload_tmp_dir local for ibay
« on: July 21, 2004, 11:30:57 PM »
Hi,

When upgrading PHP to e.g. 4.3.8 - and running phpinfo() - upload_tmp_dir shows up with No value.

Is it possible to set this value for each ibay?

I can set it in php.ini - but, if I would like to set it for each ibay - then what do I do?

/Peder

tape

Set upload_tmp_dir local for ibay
« Reply #1 on: July 22, 2004, 12:51:10 AM »
It can be done using a new variable set in your httpd.conf.  Placed into the right Virtual Host directive of course.

"php_admin_value upload_tmp_dir /home/apache/temp/"

Have a look at

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80VirtualHosts

hth
Anton

vpmysli

Set upload_tmp_dir local for ibay
« Reply #2 on: July 22, 2004, 12:31:47 PM »
Think I need some more info here.

When looking at:
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80VirtualHosts

it's just generating the virtual host.

I don't see, how I'm able to just define a upload_tmp_dir for just 1 ibay.

/Peder

tape

Set upload_tmp_dir local for ibay
« Reply #3 on: July 22, 2004, 01:15:12 PM »
it should work in a .htaccess file located on this ibay. For using .htaccess files under sme server have a search in the forums, afaik there is a howto on how to enable this.

hth
Anton