PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache mit PHP 4



Molu
19.07.00, 11:15
Hallo,

habe da folgendes Problem:
Versuche Apache mit PHP 4 zu installieren, nur irgendwie funktioniert das nicht.
So habe ich bis jetzt konfiguriert:
#Apache Installation mit PHP4 und MySQL
#
#
#Alle Files liegen unter /usr/local/downloads
#
#Files: apache_1.3.12.tar
# php-4.0.1pl2.tar
#
#
#MySQL Version: mysql Ver 9.33 Distrib 3.22.25, for pc-linux-gnu (i686)
#
#
#
#
# Entpacken der tar-Files
tar xvf /usr/local/download/apache_1.3.12.tar #--> /apache_1.3.12
tar xvf /usr/local/download/php-4.0.1pl2.tar #--> //php-4.0.1pl2
#
#
#configure Apache mit PHP 4 Modul
#
#
cd apache_1.3.12/
./configure --prefix=/www
cd ../php-4.0.1pl2/
./configure --with-mysql --with-apache=../apache_1.3.12 --enable-track-vars
make
make install
cd ../apache_1.3.12
./configure --prefix=/www --activate-module=src/modules/php4/
make
#
# Bei make treten die ersten Fehler auf. Kann viele Dateien nicht finden
# kopiere also die ganzen fehlend Files in das /src/module/php4 Verzeichnis
# Die ganzen Files ligen unter /php-4.0.1pl2
#
#Dann kommt allerdings folgende Fehlermeldung, die ich nicht wegbekomme, obwohl ich das File kopiert habe:

===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c
In file included from php.h:279,
from mod_php4.c:29:
ext/standard/php_output.h:23: php.h: No such file or directory
In file included from ext/standard/php_standard.h:33,
from mod_php4.c:58:
ext/standard/basic_functions.h:39: zend_highlight.h: No such file or directory
In file included from ext/standard/php_standard.h:45,
from mod_php4.c:58:
ext/standard/php_ext_syslog.h:35: php_syslog.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/apache_1.3.12'
make: *** [build] Error 2
bash-2.03#

# Was muss ich bei der Installation ändern?
# Wenn ich die Pfadangabe beim configure von PHP 4 ändere, wird das configure nicht durchgeführt.

Weiss jemand einen Weg?
Habe irgendwie langsam keinen Bock mehr auf PHP 4, bei PHP 3 Unterstützung lief alles problemlos.
Gruss
Molu