Page 2 of 2

Re: Apache Templates differences

Posted: Tue Aug 11, 2015 8:07 am
by skurudo
pandabb wrote:Hi guys can i add this line on basedir template
I cant upload images in wordpress while using basedir, so i compared the templates i think i need to add that piece of code to the base dir tempalte to have a tmp folder?
Thanks!
Use right basedir ;-)

Code: Select all

php_admin_value open_basedir %docroot%:%home%/%user%/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
#php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f info@%domain%"

Re: Apache Templates differences

Posted: Tue Aug 11, 2015 9:45 am
by skurudo
pandabb wrote:Hi guys can i add this line on basedir template
php_admin_value upload_tmp_dir %home%/%user%/tmp
This code:

Code: Select all

php_admin_value open_basedir %docroot%:%home%/%user%/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp

Re: Apache Templates differences

Posted: Tue Aug 11, 2015 11:40 am
by pandabb
thanks i will do this : )

php_admin_value open_basedir %docroot%:%home%/%user%/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp

Re: Apache Templates differences

Posted: Tue Aug 11, 2015 10:10 pm
by skurudo
pandabb wrote:thanks i will do this : )
You're welcome ;-)