Schauplätze

Montag, 27. Januar 2003

Merks dir

apache_1.3.27 + php-4.3.0 (@home)

$ cd /usr/src/redhat/BUILD/apache_1.3.27

$ OPTIM="-O2"
./configure
--prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--sysconfdir=/etc/httpd
--logfiledir=/var/log/apache
--datadir=/var/www
--proxycachedir=/var/www/proxy
--runtimedir=/var/run
--localstatedir=/var
--enable-module=so
--enable-module=digest
--enable-module=headers
--enable-module=expires
--enable-module=info
--enable-module=usertrack

$ make

$ make install

$ cd ../php-4.3.0

$ ./configure
--with-mysql
--with-apxs=/usr/sbin/apxs
--with-zlib
--with-gd
--with-expat=/usr
--without-pear
--enable-ftp
--enable-sysvsem
--enable-sysvshm
--enable-shared
--enable-static

$ make

$ make install

$ vi /etc/httpd/httpd.conf

Hinzufügen der Zeile:

AddType application/x-httpd-php .php

Ändern des folgenden Abschnitts in:

DirectoryIndex index.php index.html index.htm
 
perma-link  kommentieren 

 

Resident of Antville  seit 7989 Tagen
zuletzt aktualisiert:
22. Juni 2003, 17:43

Menu
… Hauptseite
… Themen
Drinnen
Status
Nicht angemeldet… anmelden

RSS Feed



GeoURL