Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Uploadtmpdir
(view source)
Revision as of 20:22, 5 June 2013
634 bytes added
,
20:22, 5 June 2013
no edit summary
Line 5:
Line 5:
An easy way is to make a Custom Template to resolve this issue.
An easy way is to make a Custom Template to resolve this issue.
−
+
=== template of php.ini ===
mkdir /etc/e-smith/templates-custom/etc/php.ini/
mkdir /etc/e-smith/templates-custom/etc/php.ini/
nano /etc/e-smith/templates-custom/etc/php.ini/12phptmpfolder
nano /etc/e-smith/templates-custom/etc/php.ini/12phptmpfolder
Line 22:
Line 22:
and
and
signal-event console-save
signal-event console-save
+
=== Template of httpd.conf ===
+
+
You can do the same thing by adding the following in the httpd.conf template of your contrib or special apache virtual host.
+
php_admin_value upload_tmp_dir /tmp
+
+
with [[Web_Application_RPM|web contrib]] the special line to put in the config of your virtual host is
+
php_admin_value upload_tmp_dir /tmp
+
+
Example root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92foo
+
$OUT .= " php_value mysql.default_user $foo{DbUser}\n";
+
$OUT .= " php_value mysql.default_password $foo{DbPassword}\n";
+
'''$OUT .= " php_admin_value upload_tmp_dir /tmp\n";'''
+
if ($pass)
+
{
[[Category:Howto]]
[[Category:Howto]]
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search