diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-22 13:17:16 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-22 13:17:16 +0000 |
commit | 2dfd206f728493cd751f995afccf57cebca0beb8 (patch) | |
tree | aba68624dc300df494e3a8e50aaa9db36e932507 /www | |
parent | 81abea9b5a8fe5af0557ec20a5aa6200235132d0 (diff) | |
download | ports-2dfd206f728493cd751f995afccf57cebca0beb8.tar.gz ports-2dfd206f728493cd751f995afccf57cebca0beb8.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/eaccelerator/Makefile | 3 | ||||
-rw-r--r-- | www/eaccelerator/files/pkg-message.in | 38 |
2 files changed, 33 insertions, 8 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile index d3f7e236bb22..18388740a6b7 100644 --- a/www/eaccelerator/Makefile +++ b/www/eaccelerator/Makefile @@ -29,7 +29,8 @@ PORTDOCS= * .endif post-build: - @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/encoder.php > ${WRKSRC}/encoder + @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \ + ${WRKSRC}/encoder.php > ${WRKSRC}/encoder do-install: @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} diff --git a/www/eaccelerator/files/pkg-message.in b/www/eaccelerator/files/pkg-message.in index 6c5ca5bdfd2e..4c6f79691328 100644 --- a/www/eaccelerator/files/pkg-message.in +++ b/www/eaccelerator/files/pkg-message.in @@ -2,14 +2,38 @@ You have installed the eaccelerator package. -Edit %%LOCALBASE%%/etc/php.ini and add: +1. Edit %%LOCALBASE%%/etc/php.ini and add: -zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/eaccelerator.so" + zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/eaccelerator.so" -Then create the cache directory: + **************************************************** + *** This extension must be loaded after *** + *** extension=session.so *** + **************************************************** -mkdir /tmp/eaccelerator -chown www /tmp/eaccelerator -chmod 0700 /tmp/eaccelerator +2. Then create the cache directory: -***************************************************************************** + # mkdir /tmp/eaccelerator + # chown www /tmp/eaccelerator + # chmod 0700 /tmp/eaccelerator + +3. Finally, edit %%LOCALBASE%%/etc/php.ini to fit your need: + ; For example + eaccelerator.shm_size="16" + eaccelerator.cache_dir="/tmp/eaccelerator" + eaccelerator.enable="1" + eaccelerator.optimizer="1" + eaccelerator.check_mtime="1" + eaccelerator.debug="0" + eaccelerator.filter="" + eaccelerator.shm_max="0" + eaccelerator.shm_ttl="0" + eaccelerator.shm_prune_period="0" + eaccelerator.shm_only="0" + eaccelerator.compress="1" + eaccelerator.compress_level="9" + + For more detailed information, please take a look at + http://eaccelerator.net/IniSettingsUk + +**************************************************************************** |