[IIS6] .NET server en PHP

Pagina: 1
Acties:

  • ilovetechno
  • Registratie: Oktober 2001
  • Laatst online: 17-04 12:49
Ik wil graag op mijn .NET server gebruik maken van PHP. Nu vond ik op php.net de volgende tutorial maar als ik nu pipo.php probeer te laden (waarin ik het testscript heb gezet krijg ik een 404 8)7 :?

Weet iemand wat dit kan zijn. Ik heb btw wel php-4.2.3-Win32.zip gebruikt ipv 4.2.2.

--------------------------------------------------------------------------------------
Tutorial op PHP.net
--------------------------------------------------------------------------------------
Installing PHP 4.2.2 on Microsoft Windows .NET Server ...

* Download http://us3.php.net/do_dow..._file=php-4.2.2-Win32.zip

* Extract php-4.2.2-Win32.zip

* Copy php.ini-dist %SystemRoot%\php.ini

* Copy phpts.dll %SystemRoot%\system32\phpts.dll

* Open Control Panel and goto Administrative Tools and open Internet Information Services

* Open the local computer branch and goto Web Service Extensions

* Select Add a new Web service extension...

* For the Extension name type in PHP

* Hit the Add... button

* Hit the Browse... button to find php4isapi.dll in the sapi folder where you extracted

* Enable the checkbox for Set extension status to Allowed and hit OK

* Right click the Web Sites branch and select Properties

* Goto the Home Directory tab and hit the Configuration... button

* Hit the Add... button and then hit the Browse... button to find php4isapi.dll

* For the extension put php and hit the OK button

* Restart the World Wide Web Publishing Service

* Create a test file, and browse to it, see if everything works, test provided below...

<HTML>
<HEAD>
<TITLE>PHP via IIS6</TITLE>
</HEAD>
<BODY>
<?php phpinfo(); ?>
</BODY>
</HTML>

* Enjoy!

  • Thc_Nbl
  • Registratie: Juli 2001
  • Laatst online: 22-09 19:07
de isapi module op iis is nog niet stabiel... je kan php beter als cgi installen...
ik heb php nog niet getest op .net, dus of dat hier ook geld geen idee

ehhh.. noppes


  • blackd
  • Registratie: Februari 2001
  • Niet online

9000Wp o/w SolarEdge SE6K - Panasonic 5kW bi-bloc - gasloos sinds 17-7-2023


  • Stewie!
  • Registratie: September 2001
  • Laatst online: 09:08

Stewie!

Keen must die!

Lekker laat, maar er is nog steeds geen antwoord gegeven op de vraag.
Misschien weet iemand het. Lijkt alsof er veel rechten meespelen op de server! .NET Server heeft echt alles dicht zitten. :(
Er zijn zo te zien meerdere manieren, je kan las ik op phpbuilder ook rechtstreeks de metabase.xml file aanpassen


Strava: https://www.strava.com/athletes/149347154


  • Stewie!
  • Registratie: September 2001
  • Laatst online: 09:08

Stewie!

Keen must die!

Ach laat ook maar, het is me al gelukt. PHP Had ik in de Program Files staan, kreeg geen toegang tot de pf, zelfs niet met security op alles. Toen maar op andere partitie gezet, wertk perfect nu!

Deze twee regels in de metabase.xml wel effe toevoegen en bovenstaand php verhaal van die ene gozer helemaal weglaten!
Wel effe op de goede plaats zetten he!

.php,E:\php\sapi\php4isapi.dll,1,GET,HEAD,POST"

1,,.php 0,*.dll 0,*.exe">


Strava: https://www.strava.com/athletes/149347154