Sie befinden sich hier im Forenarchiv von phpforum.de wenn Sie direkt ins Forum möchten, klicken Sie bitte hier. Zur Startseite kommen Sie hier.

Php zeitgleich für Apache und Iis

Hallo nutze das erste mal ein Forum in der Hoffnung eine Lösung zu finden.

Ich habe einen Win 2003 Server zu laufen mit einem Apache und IIS 6.0.
Es ist php installiert und läuft auch auf dem Apache.... und nun mein Problem ich würde gern zeitgleich auf dem IIS ebenfalls php nutzen.

habe schon diverse Konfigurationsmöglichkeiten durchgeführt leider nur mit dem Ergebnis..
entweder Apache oder IIS oder es geht garnichts.

wäre echt super wenn mir jemand helfen könnte.

Hier gehts zum Orginal Eintrag "Php zeitgleich für Apache und Iis" im Forum

Antworten

Das sollte eigentlich funktionieren.
Ich glaube das wirst du sowiso wissen, aber pass auf, dass du verscheidene Ports verwendest für apache und IIS.

mfg
Philipp


2.

Poste mal die das include von php in der config bei IIS und apache.

mfg
Philipp


3.

danke für deine Antwort

also verschiedene Ports haben die Server

das ist aus der php.ini

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"

; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
doc_root ="c:\Inetpub\wwwroot"

; The directory under which PHP opens the script using /~username used only
; if nonempty.
user_dir =

; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions

; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On

; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; cgi.force_redirect = 0

; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
; will look for to know it is OK to continue execution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; cgi.redirect_status_env = ;

; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
; security tokens of the calling client. This allows IIS to define the
; security context that the request runs under. mod_fastcgi under Apache
; does not currently support this feature (03/17/2002)
; Set to 1 if running under IIS. Default is zero.
; fastcgi.impersonate = 0;

; cgi.rfc2616_headers configuration option tells PHP what type of headers to
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
; is supported by Apache. When this option is set to 1 PHP will send
; RFC2616 compliant header.
; Set to 1 if running under IIS. Default is zero.
;cgi.rfc2616_headers = 0

außerdem am ende noch das

extension_dir=C:/php/extensions
extension=php_snmp.dll
include_path=C:/Programme/Apache Group/Apache/htdocs/cacti
register_globals=On
register_argc_argv=On
max_execution_time=200
session.save_path=C:/temp

das steht in der httpd des apache am ende

LoadModule php4_module c:/PHP/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
DirectoryIndex indes.html index.htm index.php

und beim IIS habe ich .php mit link auf c:\php\sapi\php4isapi.dll hinzugefügt einmal für die Weberweiterungen
und einmal im basisverzeichniss unter Konfiguration.


4.

hallo

habe gerade nochmal eine Anleitung durchprobiert.... aber wieder der gleiche Erfolg wenn ich die test.php im wwwroot anspreche erscheint ein Loginfenster, bei welchem keinerlei Kombinationen funktionieren.

Fazit ist entweder es funktioniert gar nicht will sagen er kann mit der Datei nichts anfangen oder aber es erscheind dieser login :-(


5.

sorry , ... hat jemand noch eine Idee

vielen Dank


Hier gehts zum Orginal Eintrag "Php zeitgleich für Apache und Iis" im Forum
 
phpforum.de | Impressum | Handy Bundles