ähm... naja gestern wars mal wieder so weit bzw vorgestern...hat mein REchner den Geist aufgegeben
und gestern wurde er neu installiert...und nur finde ich mal wieder eine verständlicher Erklärung zur Kondigurierung von PHP und Apache....wer fasst es mir in verständlichen Sätzen zusammen... wollte mir nämlich stundenlanges suchen und rumfummeln ersparen nicht das rumfummeln nicht schön ware :D aber das tu ich lieber woanders ;)
Troublegum
01-06-2002, 01:07
Um PHP mit Apache 1.3.xx zu installieren, gehe am besten ganz ganz genau die Schritte durch, die in den folgenden Links erklärt sind:
Manuelle Installationsschritte (Windows) (http://www.php3.de/manual/de/install.windows.php#install.windows.manual)
Installation von PHP auf Windows mit Apache 1.3.x (http://www.php3.de/manual/de/install.apache.php#install.apache.windows)
Die Konfiguration von PHP
ggf. Error Reporting einstellen
ggf. Register Globals aktivieren
Save Path für Sessions auf ein existierendes Verzeichnis setzen ( / statt \ verwenden :teach: )
mysql ist kinderlich einzurichten, einfach herunterladen und installieren.
wie du perl installierst, erfährst du z.b. auf perlunity.de (www.perlunity.de)
oder alles in einem =>
www.vogelgesang-berlin.de/server/apache
@Troublegum mysql war ja nun nicht das Problem... vielmehr dir httpd.conf und der driet mit den PHP-Dateien...hab hier so ein seltsames Manual aus dem ich nicht schlau werden..werde mir jetzt mal deine Links anschauen danke dir
php install.txt
...
Web server configuration
========================
Installing PHP on Windows with Apache 1.3.x
There are two ways to set up PHP to work with Apache 1.3.x
on Windows. One is to use the CGI binary (php.exe),
the other is to use the Apache module dll. In either case
you need to stop the Apache server, and edit your
srm.conf or httpd.conf to configure Apache to work with PHP.
Although there can be a few variations of configuring PHP
under Apache, these are simple enough to be used by the
newcomer. Please consult the Apache Docs for further
configuration directives.
Now that version 4.1 introduces a safer sapi module, we recommend
that you configure PHP as a module in Apache.
To do this, you should move php4ts.dll to the windows/system (for Windows 9x/Me)
or winnt/system32 (for Windows NT/2000/XP) directory, overwriting any
older file. Then you should add the following three lines to your Apache
conf file: (swap c:/php/ for your PHP install path)
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
If you wish to install PHP as a CGI binary, read this first:
http://www.cert.org/advisories/CA-1996-11.html
and then if you are really sure, insert these lines to your conf file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Note, we consider installing PHP like this suicidal.
As a further precaution, we recommend you change the "/php/"
ScriptAlias to something more random, to prevent the binary being
called directly, which is a security risk.
Remember when you have finished to restart the server, for example,
NET STOP APACHE
followed by
NET START APACHE
To use the source code highlighting feature, add the following
line to your apache httpd.conf file:
AddType application/x-httpd-php-source .phps
Note, this will only work when you install php as a sapi module.
If you wish to use this feature with the cgi binary, create a new
file, and use the show_source("path/to/original_file.php"); function.
On Win-Apache all backslashes in a path statement such
as: "c:\directory\file.ext", must be converted to
forward slashes.
----------------------------------------------------------
...
danke @ all läuft jetzt alles