[packages/wordpress] add /tmp to open basedir restriction
glen
glen at pld-linux.org
Thu Jun 6 13:27:06 CEST 2013
commit c23bf0a1af44dd6501d0c224ba92c69abcfedeb0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jun 6 14:25:20 2013 +0300
add /tmp to open basedir restriction
[Wed Apr 24 13:16:00 2013] [error] [client 127.0.0.1] PHP Warning: file_exists(): open_basedir restriction in effect. File(/tmp/php0Lmk0z) is not within the allowed path(s): (/usr/share/wordpress:/etc/webapps/wordpress:/usr/share/php) in /usr/share/wordpress/wp-includes/functions.php on line 1830
apache.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apache.conf b/apache.conf
index bf56e47..5b48c98 100644
--- a/apache.conf
+++ b/apache.conf
@@ -10,7 +10,7 @@ Alias /wordpress /usr/share/wordpress
</IfModule>
php_admin_flag engine on
- php_admin_value open_basedir "/usr/share/wordpress:/etc/webapps/wordpress:/usr/share/php"
+ php_admin_value open_basedir "/usr/share/wordpress:/etc/webapps/wordpress:/usr/share/php:/tmp"
<IfModule mod_rewrite.c>
Options +FollowSymLinks
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wordpress.git/commitdiff/c23bf0a1af44dd6501d0c224ba92c69abcfedeb0
More information about the pld-cvs-commit
mailing list