From 2b1d9607f6d89404d4c48ac04059480d75bb1b1f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 Sep 2012 16:32:47 +0200 Subject: php-eaccelerator: create 'httpd' sub package for Apache config --- php-eaccelerator.httpd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 php-eaccelerator.httpd (limited to 'php-eaccelerator.httpd') diff --git a/php-eaccelerator.httpd b/php-eaccelerator.httpd new file mode 100644 index 0000000..6c84a8e --- /dev/null +++ b/php-eaccelerator.httpd @@ -0,0 +1,24 @@ +# eAccelerator - PHP accelerator, optimizer, encoder and dynamic content cacher + +# Apache specific options - enable cache disk +php_value eaccelerator.shm_only "0" +php_value eaccelerator.cache_dir "/var/cache/php-eaccelerator" +php_value eaccelerator.log_file "/var/log/httpd/eaccelerator_log" + +# Configure control panel +Alias /eaccelerator /usr/share/eaccelerator + + + + # Apache 2.4 + Require local + + + # Apache 2.2 + Order Deny,Allow + Deny from All + Allow from 127.0.0.1 + Allow from ::1 + + + -- cgit