Commit d117955a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Bring back the Alternative PHP cache. The module is installed

in the php extensions directory, and the following two lines were
added to /usr/local/etc/php.ini:

	extension_dir = /usr/local/lib/php/20020429/

The new version is a little odd in that it is more difficult to clear
the cache, which we must do when we install new pages. Rather then
jump through too many hoops, I added a simple clearapc.php page, which
does nothing but make the call from within the webserver. I have
hooked this into the make install target using wget. If you care to
see what is currently in the cache, you can load this page:

which gives a non-pretty print dump of the cache. To clear the cache
from your web browser:
parent 73c5b2b7
......@@ -129,6 +129,7 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
rm -f icons; \
ln -s /usr/local/www/icons icons;
wget -q -O /dev/null http://${WWW}/clearapc.php
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
# This gets called by using wget from the makefile (install)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment