PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache 1.3.24 u. PHP 4


ViruzA
25.01.2004, 12:49:28
Hallo zusammen;

Ich habe gerade versucht Apache 1.3.24 zu installieren;
Das auch mit Erfolg, doch:

dann hab ich noch versucht PHP 4 zu installieren, aber és funzt irgendwie nicht:

Es wird nur angezeigt: Apache/1.3.24 <Win32> running...


PHP 4 und Apache 1.3.24 hab ich von der CD "PHP4 für Dummies" vom dazugehörigen Buch


Vielen Dank für eure Hilfe

Yzerman
31.01.2004, 22:15:52
Hmm, ein paar mehr Details wären nicht schlecht.

Win oder Linux, wie ist PHP installiert (als Modul?)

In der Meldung, wenn du den Indianer startest, kommt auch nix von wegen PHP. Haste mal versucht, einen PHP-Teil zu parsen (z.B. das typische phpinfo()-Script)?

Sind die entsprechenden Konfigurationen bezgl. PHP in der httpd.conf gemacht?

//Edit: ok, die Frage bezgl. Win oder Linux war wohl überflüssig, steht ja da...

EyeDacor
31.01.2004, 23:17:43
httpd.conf und php.ini bitte, danke :)

ViruzA
08.02.2004, 10:12:21
Hallo,

Also ich habe PHP von dieser schon erwähnten CD des Buches installiert, und dort stand auch folgendes drinnen:

----

Installtion instructions
------------------------

Apache:
1. Stop the Apache Webserver.
Edit the httpd.conf and put in these lines, modified to your environment:

# for the apache module
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4

#for the cgi binary (you can use that one compiled with force cgi redirect too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php

2. Unzip the Package to c:php, now move php4ts.dll to the windows/system(32) directory, overwritte any older file!

3. Copy the php.ini-dist to your sysroot (directory where you installed windows), rename it to php.ini, and
edit the php.ini to fit your needs.

4. Restart the Apache server.


-----

Dies hab ich auch gemacht, aber irgendwas muss wohl falsch gelaufen sein...


Vielen Dank für eure Hilfe

chris17
08.02.2004, 11:40:08
Hi,
Yzerman schrieb
In der Meldung, wenn du den Indianer startest, kommt auch nix von wegen PHP. Haste mal versucht, einen PHP-Teil zu parsen (z.B. das typische phpinfo()-Script)?
Hast Du das mal ausprobiert?
<?php
phpinfo();
?>