Sonntag, 21. Mai 2006

HOWTO_ Apache2 mit PHP4 und GD kompilieren

Aus alten Zeiten stammt noch diese Anleitung, die ich bereits mehrmals erfolgreich ausgeführt habe. Inzwischen ist aber mein Server komplett per apt eingerichtet worden, ich habe keinen Compiler mehr benötigt.
  1. Apache2

    Anleitung laut http://www.php.net/manual/en/install.apache2.php.
    Apache httpd herunterladen und entpacken.
    #> cd apache2
    #> ./configure \
    --prefix=/etc/apache2/
    --enable-so
    #> make && make install
    In der /etc/apache2/conf/httpd.conf für User und Group einen existierenden Benutzer und dessen Gruppe, zb nobody und nogroup eintragen.
  2. PHP4 mit GD-Library

    Freetype 2, und zlib herunterladen, kompilieren und installieren ohne besondere Parameter.
    libpng herunterladen, aus scripts die makefile.linux nach ../makefile kopieren, und mit make && make install kompilieren und installieren.
    jpeg-6b downloaden und mit make kompilieren.
    #> mkdir /usr/local/man/man1
    #> cp libjpeg.* /usr/lib/
    #> cp j*.h /usr/local/
    #> make install
    GD Graphics Library herunterladen und kompilieren.
    #> cp gd.h /usr/local/lib
    #> make install
    PHP4 herunterladen und entpacken.
    #> ./configure \
    --prefix=/etc/php4 \
    --with-apx2=/etc/apache2/bin/apxs \
    --with-zlib \
    --enable-bcmath \
    --with-bz2 \
    --enable-exif \
    --enable-ftp \
    --with-gd=/usr/local/lib \
    --with-jpeg-dir

Reflog

Informationstechnische Howtos, Hinweise und Merkwürdiges

Batchlib v1.0 2008-03-29

Aktuelle Beiträge

HOWTO_ O2 DSL Surf &...
Der O2 DSL Surf & Phone-Router ist für die alleinige...
cypressor - 12. Feb, 19:57
Uptweak Windows XP Home...
There are a lot of annoying limitations in Windows...
cypressor - 9. Okt, 19:30
BATCHLIB_ Batchlib package...
Download Batchlib package v1.0 (5 KB zip file) What...
cypressor - 29. Mär, 19:10
BATCHLIB_ Batchlib library...
The batchlib library string.cmd is part of the batchlib...
cypressor - 29. Mär, 18:10

Homepage Ticker

Links

Status

Online seit 6589 Tagen
Zuletzt aktualisiert: 28. Jun, 11:32
RSS XML 1.0 Button-Get-Firefox

batch
batchlib
howto
tech
video
Profil
Abmelden
Weblog abonnieren