Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: bclayton on September 05, 2012, 05:25:24 AM
-
I need to set the value of upload_tmp_dir to /tmp. I did a search but did not see anything specific for SME 8.0. What is the best way to do this?
Thanks, Brooks
-
well my search led me to http://bugs.contribs.org/show_bug.cgi?id=7011
-
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Web_Applications
I need to create (or install) a PHP application that needs access to the /tmp directory.
db accounts setprop ibayname PHPBaseDir /tmp/:/home/e-smith/files/ibays/ibayname/
signal-event ibay-modify ibayname
More info here:
http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29
-
Worked like a charm. I had found that code in my search but was not sure it applied to SME 8.
Thanks for the help!
-
be careful of the potential security issue by letting /tmp access to your web applications.
/tmp is also used by the system and might thus contain some sensitive information. it would be better to create a specific ibay tmp folder to avoid such access.
-
Thank you for the advice. I will do as you suggested.
-
the link i provided above will let you create a template custom fragment in order to do so.
-
Thanks. I'll take another look at the link. I am concerned about security.