Posted by andu
Tue, 2007-04-24 12:00
Here's a short guide on installing the php 4 memcached extension from source. I write it as a reference as I couldn't find some precise instructions on this.
Download and extract the source code:
system:~# wget http://pecl.php.net/get/memcache-2.1.2.tgz
system:~# tar xvfz memcache-2.1.2.tgz
Prepare the extension for compiling:
system:~# cd memcache-2.1.2
system:~/memcache-2.1.2# phpize
Configure, make and make install:
system:~/memcache-2.1.2# ./configure
system:~/memcache-2.1.2# make
system:~/memcache-2.1.2# make install
If configure fails with the following error: configure: error: Cannot find php_session.h (as it did on ubuntu and debian for me) then you'll have to create a symbolic link to /usr/include/php4 called /usr/include/php. If you don't have one of those directories, then you're probably missing the php4-dev package.
Posted by andu
Tue, 2005-11-29 15:39
I had the "delight" of installing Debian Linux on an old Sun Ultra 10 these days. Most of the installation was easy, however, when it came to configuring the graphics server, I started having problems.
This machine had two video boards: an Ati and a 3DLabs. Using the XFree configuration tools I got the server to start on the Ati board, which was a no no since no monitor worked on that output. Using a generic driver such as vesa didn't work either.
After a lot of Googling and reading other people's experiences, I came up with a usable configuration for the graphics server. I'm posting here some excerpts for other people, in my situation, to use. Also note that the depth has to be 24 bits, sunffb doesn't work on other color depth.
Config file:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "sun"
Option "XkbModel" "type5"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "BusMouse"
Option "Device" "/dev/sunmouse"
EndSection
Section "Device"
Identifier "Card0"
Driver "sunffb"
Card "3D Labs"
EndSection