Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > fd851ca71fdaf6634af355fc2a20df0e > files > 2

php-eaccelerator-0.9.5.1-7mdv2008.0.src.rpm

diff -Naur eaccelerator-0.9.5/eaccelerator.c eaccelerator-0.9.5.oden/eaccelerator.c
--- eaccelerator-0.9.5/eaccelerator.c	2006-10-11 08:45:52.000000000 -0400
+++ eaccelerator-0.9.5.oden/eaccelerator.c	2006-10-11 15:06:12.000000000 -0400
@@ -1743,7 +1743,7 @@
 #ifdef WITH_EACCELERATOR_INFO
 STD_PHP_INI_ENTRY("eaccelerator.allowed_admin_path",       "", PHP_INI_SYSTEM, OnUpdateString, allowed_admin_path, zend_eaccelerator_globals, eaccelerator_globals)
 #endif
-STD_PHP_INI_ENTRY("eaccelerator.cache_dir",      "/tmp/eaccelerator", PHP_INI_SYSTEM, OnUpdateString, cache_dir, zend_eaccelerator_globals, eaccelerator_globals)
+STD_PHP_INI_ENTRY("eaccelerator.cache_dir",      "/var/cache/httpd/php-eaccelerator", PHP_INI_SYSTEM, OnUpdateString, cache_dir, zend_eaccelerator_globals, eaccelerator_globals)
 PHP_INI_ENTRY("eaccelerator.filter",             "",  PHP_INI_ALL, eaccelerator_filter)
 STD_PHP_INI_ENTRY("eaccelerator.name_space",      "", PHP_INI_SYSTEM, OnUpdateString, name_space, zend_eaccelerator_globals, eaccelerator_globals)
 PHP_INI_END()
diff -Naur eaccelerator-0.9.5/eaccelerator.h eaccelerator-0.9.5.oden/eaccelerator.h
--- eaccelerator-0.9.5/eaccelerator.h	2006-10-11 08:45:52.000000000 -0400
+++ eaccelerator-0.9.5.oden/eaccelerator.h	2006-10-11 15:06:12.000000000 -0400
@@ -63,7 +63,7 @@
 #  include <signal.h>
 #endif
 
-#define EACCELERATOR_MM_FILE "/tmp/eaccelerator"
+#define EACCELERATOR_MM_FILE "/var/cache/httpd/php-eaccelerator"
 
 #ifdef EACCELERATOR_WITHOUT_FILE_LOCKING
 #  ifndef LOCK_SH