Unreal-IRC-Server - php installieren (Teil 6)
Gliederung:
- Die Einleitung
- Die Konfigurationsdaten
- Downloaden und entpacken der benötigten Daten
- mySQL 4.0.26
- Lighttpd 1.4.10
- PHP 5.1.6
- phpMyAdmin 2.8.0 (webinstall)
- Unrealircd 3.2
- Anope 1.7.13
- Denora 1.2 RC 2
- phpdenora 3.2
- Einweisung in die gängigen IRC-Befehle für OPs und die Bots
PHP 5.1.6
php
Denora braucht für seine Web-Oberfläche PHP.
adduser irc-php
#Passwort: irc-php
cd /src/php-5.1.6
./configure \
--prefix=/srv/php \
--with-_lib=lib \
--with-config-file-path=/srv/php \
--with-exec-dir=/srv/lighttpd/htdocs \
--disable-debug \
--enable-ctype \
--enable-cgi \
--enable-discard-path \
--enable-force-cgi-redirect \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-memory-limit \
--enable-mbstring \
--enable-shmop \
--enable-sigchild \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx \
--with-curl \
--with-freetype \
--with-gd \
--with-gif-dir=/usr \
--with-gettext \
--with-iconv \
--with-jpeg-dir=/usr \
--with-mysql=/srv/mysql4 \
--with-png-dir=/usr \
--with-zip \
--with-zlib \
make
make install
make clean
make distclean
chown -R irc-php:irc-php /srv/php
su irc-php
cd /srv/php/bin
cp php irc_php-cgi
cp /src/php-5.1.6/php.ini-recommended /srv/php/php.ini
exit
Wer will, kann jetzt noch seine php.ini anpassen, aber für das was installiert werden soll ist es nicht unbedingt nötig

