Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: vpmysli 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
-
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
-
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
-
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