Hiho
Habe mich bei ein paar webseiten umgeguckt und die Installations anweisung genau durchgeführt.
Hatte auf der Webseite apache.org diese apache version apache_1.3.27-win32-x86-no_src.msi
Der apache hatte dann auch funktioniert....
http://netzadmin.org/server/apache/apache-grundkonfiguration.htm#a2
Es hatte auch ein Erfolg Webseite gebracht und ging dann zur PHP Installation hatte auch alles so gemacht wie es beschrieben wurde. Danach erstellte ich die Datei phpinfo.php um zu sehen ob es auch 100% funktioniert aber irgend wie geht es nicht und sitz jezz da und hab kein plan wo es darin liegen könnte.
Meine httpd.conf:
LoadModule php4_module "c:/intranet/Apache/modules/php4apache.dll"
AddType application/x-httpd-php .php .php4 .php3 .phtml
LoadModule php4_module "c:/intranet/Apache/modules/php4apache2.dll"
AddType application/x-httpd-php .php .php4 .php3 .phtml
# php_dbase.dll dBase-Funktionen
# php_filepro.dll Schreibgeschützter Zugriff auf Filepro Datenbanken
# php_gd.dll GD Bibliothek für GIF Manipulation
# php_hyperwave.dll HyperWave Funktionen
# php_imap4r2.dll IMAP 4 Funktionen
# php_ldap.dll LDAP Funktionen
# php_mssql.dll MSSQL Client (benötigt MSSQL DB-Bibliotheken)
# php_snmp.dll SNMP "get and walk" Funktionen (nur NT!)
# php_zlib.dll ZLib Kompressions-Funktionen
# Allgemeine Einstellungen
ServerType standalone
ServerRoot "c:/intranet/Apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_runtime_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50
# Servereinstellungen
Port 80
ServerAdmin mail@patrick-schwarz.de
# Beachten Sie diesen Hinweis zum ServerName!
ServerName loco
UseCanonicalName Off
DocumentRoot "c:/intranet/Apache/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "c:/intranet/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php4 index.phtml
ServerSignature On
# .htaccess-Dateien
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
TypesConfig conf/mime.types
DefaultType text/plain
# Log-Files
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog logs/access.log combined
Alias /icons/ "c:/intranet/Apache/icons/"
<Directory "c:/intranet/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual/ "c:/intranet/Apache/htdocs/manual/"
<Directory "c:/intranet/Apache/htdocs/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# CGI-Script Einstellungen
ScriptInterpreterSource registry
AddHandler cgi-script .cgi .pl
ScriptAlias /cgi-bin/ "c:/intranet/Apache/cgi-bin/"
<Directory "c:/intranet/Apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
<IfModule mod_negotiation.c>
LanguagePriority de en fr
</IfModule>
AddType application/x-tar .tgz
# SHTML-Dateien
AddType text/html .shtml
AddHandler server-parsed .shtml
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
ScriptAlias /php/ "c:/intranet/php/"
AddType application/x-httpd-php .php .php3 .php4 .phtml
Action application/x-httpd-php "/php/php.exe"
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://www.apache.org/docs/> for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# C:/intranet/Apache/conf/srm.conf and then C:/intranet/Apache/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/usr/local/apache" will be interpreted by the
# server as "/usr/local/apache/logs/foo.log".
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
#
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#
#
# ServerType is either inetd, or standalone. Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
ServerRoot "C:/intranet/Apache"
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid
Ich hoffe jemand kann mir helfen thx.
Habe mich bei ein paar webseiten umgeguckt und die Installations anweisung genau durchgeführt.
Hatte auf der Webseite apache.org diese apache version apache_1.3.27-win32-x86-no_src.msi
Der apache hatte dann auch funktioniert....
http://netzadmin.org/server/apache/apache-grundkonfiguration.htm#a2
Es hatte auch ein Erfolg Webseite gebracht und ging dann zur PHP Installation hatte auch alles so gemacht wie es beschrieben wurde. Danach erstellte ich die Datei phpinfo.php um zu sehen ob es auch 100% funktioniert aber irgend wie geht es nicht und sitz jezz da und hab kein plan wo es darin liegen könnte.
Meine httpd.conf:
LoadModule php4_module "c:/intranet/Apache/modules/php4apache.dll"
AddType application/x-httpd-php .php .php4 .php3 .phtml
LoadModule php4_module "c:/intranet/Apache/modules/php4apache2.dll"
AddType application/x-httpd-php .php .php4 .php3 .phtml
# php_dbase.dll dBase-Funktionen
# php_filepro.dll Schreibgeschützter Zugriff auf Filepro Datenbanken
# php_gd.dll GD Bibliothek für GIF Manipulation
# php_hyperwave.dll HyperWave Funktionen
# php_imap4r2.dll IMAP 4 Funktionen
# php_ldap.dll LDAP Funktionen
# php_mssql.dll MSSQL Client (benötigt MSSQL DB-Bibliotheken)
# php_snmp.dll SNMP "get and walk" Funktionen (nur NT!)
# php_zlib.dll ZLib Kompressions-Funktionen
# Allgemeine Einstellungen
ServerType standalone
ServerRoot "c:/intranet/Apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_runtime_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50
# Servereinstellungen
Port 80
ServerAdmin mail@patrick-schwarz.de
# Beachten Sie diesen Hinweis zum ServerName!
ServerName loco
UseCanonicalName Off
DocumentRoot "c:/intranet/Apache/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "c:/intranet/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php4 index.phtml
ServerSignature On
# .htaccess-Dateien
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
TypesConfig conf/mime.types
DefaultType text/plain
# Log-Files
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog logs/access.log combined
Alias /icons/ "c:/intranet/Apache/icons/"
<Directory "c:/intranet/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual/ "c:/intranet/Apache/htdocs/manual/"
<Directory "c:/intranet/Apache/htdocs/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# CGI-Script Einstellungen
ScriptInterpreterSource registry
AddHandler cgi-script .cgi .pl
ScriptAlias /cgi-bin/ "c:/intranet/Apache/cgi-bin/"
<Directory "c:/intranet/Apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
<IfModule mod_negotiation.c>
LanguagePriority de en fr
</IfModule>
AddType application/x-tar .tgz
# SHTML-Dateien
AddType text/html .shtml
AddHandler server-parsed .shtml
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
ScriptAlias /php/ "c:/intranet/php/"
AddType application/x-httpd-php .php .php3 .php4 .phtml
Action application/x-httpd-php "/php/php.exe"
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://www.apache.org/docs/> for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# C:/intranet/Apache/conf/srm.conf and then C:/intranet/Apache/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/usr/local/apache" will be interpreted by the
# server as "/usr/local/apache/logs/foo.log".
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
#
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#
#
# ServerType is either inetd, or standalone. Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
ServerRoot "C:/intranet/Apache"
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid
Ich hoffe jemand kann mir helfen thx.