.
For reference - Grin with cat attached — LiveJournal
Previous Entry Next Entry
For reference Jun. 18th, 2003 03:35 pm
On gene:

APACHE:
./configure --prefix=/usr/local/apache/ --enable-module=so

PHP:
./configure --with-mysql=/usr/local/mysql/ --with-apxs=/usr/local/apache/bin/apxs --with-gd --enable-exif --with-zlib-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --with-freetype-dir=/usr/local/lib

From: nevla
Date: June 18th, 2003 - 07:56 am (Link)
I wish i could understand that. It looks interesting...
From: adjectivemarcus
Date: June 18th, 2003 - 07:57 am (Link)
Areithi Cymraeg? Fi understood rhyw chan 'r eiriau, see..
From: babysimon
Date: June 18th, 2003 - 08:30 am (Link)
Nah, you want binaries mate.

(Voice of experience; after co-sysadminning a RH box with someone who'd just discovered the "joys" of compiling from source. That box is now un-upgradeable without breaking it massively.)
From: wechsler
Date: June 18th, 2003 - 08:51 am (Link)
Last I looked, there *were* no binaries for PHP 4.3.2 - especially with all the plugins I need.
From: josh_the_cat
Date: June 18th, 2003 - 09:17 am (Link)
josh@dino:~/$ apt-cache search php4
php4 - A server-side, HTML-embedded scripting language
josh@dino:~/$ apt-get install php4

From: wechsler
Date: June 18th, 2003 - 09:24 am (Link)
Yes, very clever. Now check the PHP version number, and apply the fact this isn't a debian box.
From: babysimon
Date: June 18th, 2003 - 09:57 am (Link)
Oops, sorry. I'm sure you're sensible enough to only compile the stuff you absolutely have to. Just that my co-worker wasn't.
From: wechsler
Date: June 18th, 2003 - 11:47 am (Link)
Yuh well, I hadn't mentioned which version I needed when you posted that - rpms and debs do have their uses (apt-get's invaluable for anything that doesn't need to be bleeding-edge), but every so often you still need to grab the server by the tarballs...

Also, I find that it's occasionally useful to do manual installs to fully appreciate what you're installing - much of this server software is stuff I'm really trying to get my head 'round.