On Tue, 2008-10-07 at 13:27 +0200, Patrik Tschudin wrote: > trying to run laconi.ca (code checked out with darcs around two hours > ago) with memcached i first got: > > Fatal error: Class 'Memcache' not found in /var/www/lib/util.php on line 1743
Because you didn't read the README.
For some functionality, you will also need the following extensions:
- Memcache. A client for the memcached server, which caches database
information in volatile memory. This is important for adequate
performance on high-traffic sites. You will also need a memcached
server to store the data in.
If you're using a Debian-like Linux system, you can probably just do:
apt-get install php5-memcache
...and restart your server.
> in the browser. then, after some looking around, i changed line 1743
> in ./lib/util.php from
>
> $cache = new Memcache();
>
> to
>
> $cache = new Memcached_DataObject();
>
> and it worked, as far as I can tell...
Yes, after a fashion. You're now storing data in a volatile PHP object
over the course of a single Web hit. In other words, you're doing
nothing.
The file is named "README" for a reason.
It is the most extensive documentation on the Laconica software there
is, and it was written by the person who knows the software best.
-Evan
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
