Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
Zwei php cgi Versionen unter IIS installieren [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
brauche Webseite ideal für Vereine und Firmen
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
Zwei php cgi Versionen unter IIS installieren


 
ilija
14-06-2002, 09:31 
 
Morjen,

hat schon mal jemand zwei unterschiedliche php-CGI Versionen
(z.b 4.1.2 und 4.2.1) installiert ?

Gruß
Ilija

 
MoRtAlAn
14-06-2002, 09:35 
 
dann dürftest du Probleme mit der PHP-ini bekommen.

Was du machen kannst:
Sources ziehen, die php.ini anpassen (verschiedene Namen für versch. Versionen)

Das sollte in der Theorie funzen, aber ich hab das auch noch nicht probiert

gruss

 
ilija
14-06-2002, 09:43 
 
Hi,

das muss doch irgendwie ohne Kompilierung unter Windows gehen.
Ich habe bereits versucht, die PHP.EXE mit Paramter -c (wo ist php.ini) in IIS einzubinden:

php -c d:\php5\php.ini

und

php -c d:\php\php.ini

ich bekomme jedoch die Fehlermeldung für die zweite Einstellung:

Security Alert! The PHP CGI cannot be accessed directly.

und für die erste Einstellung einen Timeout.

Viele Grüße
Ilija

 
ilija
14-06-2002, 13:40 
 
Hallo Leute,

gerade habe ich herausgefunden wie es geht. Folgendes habe ich bereits bei zend.com gepostet:

I solved it ! If you want to install 2 or more different Versions of PHP with IIS, you simply have to put your a php.ini into the (i use xp) c:\windows Directory. In the directories of the different php installations e.g. d:\php5 or d:\php4 or d:\php3 you put a new php.ini with the settings you wish to have for each version.


Viele Grüsse
Ilija


Alle Zeitangaben in WEZ +2. Es ist jetzt 00:17 Uhr.