[Mediawiki-l] After config, "Failed opening '/tmp/tpl_0_7_0_7... .php' for inclusion".

Denny Schierz cuall at gmx.de
Mon Dec 13 12:05:35 UTC 2004


hi,

Am Sonntag, den 12.12.2004, 17:42 -0800 schrieb Erik Hermansen:

>  Since the warnings appeared during 1.4beta3 setup, it makes 
> me think I might have some other problems down the road and might need to 
> remove the "open_basedir" restriction (don't want to).  >>shrug<<

i strongly recommend, that you change your apache(virtual) config like
this:

php_admin_flag engine on
php_admin_value open_basedir
"/home/httpd/userFoo/websites/domain.foo/htdocs:/home/httpd/userFoo/websites/domain.foo/tmp:."
php_admin_value
upload_tmp_dir /home/httpd/userFoo/websites/domain.foo/tmp
php_admin_value
session.save_path /home/httpd/userFoo/websites/domain.foo/tmp

After that, you're a bit safer :-), don't let write apache to /tmp

cu denny
-- 
Denny Schierz <cuall at gmx.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20041213/0770c14e/attachment.pgp 


More information about the MediaWiki-l mailing list