[w2003/IIS/PHP] 404 voor alle PHP geparste pages met IIS

Pagina: 1
Acties:

  • Dionisus19
  • Registratie: Mei 2002
  • Laatst online: 27-03-2024

Dionisus19

Blah != Meuk

Topicstarter
Ik heb zelf op Win2000 server ook ooit eens IIS met PHP4 gedraait zonder problemen.

Huidige configuratie:
Windows Server 2003
PHP 5.03
IIS 6.1

In IIS staan de mappings goed (dus php files worden met php-cgi.exe geopend)
Webserver werkt. Diverse andere sites werken perfect.
Oudere versies van PHP werken eveneens niet.
Elk document dat geparst moet worden door php-cgi.exe geeft een "404 page can not be displayed/found" error.
Dit geldt ook als ik bijvoorbeeld een .xxx document door php-cgi.exe wil parsen.

Apache gebruiken is geen oplossing :r

Verwijderd

mappings alleen is niet genoeg... laat je andere instellingen ook eens zien. staan de rechten goed op de php file?

heb je "show friendly http error messages" in je browser uitgevinkt? misschien geeft dat meer info...

  • McMiGHtY
  • Registratie: December 1999
  • Laatst online: 15-02 20:56

McMiGHtY

- burp -

Je moet iig wat rechten zetten voor het IUSR_SERVERNAME account

Make sure any user who needs to run a PHP script has the rights to run php.exe! IIS uses an anonymous user which is added at the time IIS is installed. This user needs rights to php.exe. Also, any authenticated user will also need rights to execute php.exe. And for IIS4 you need to tell it that PHP is a script engine. Also, you will want to read this faq.

Zie ook bijvoorbeeld:
http://www.vbulletin.com/...23&highlight=Windows+2003

NEW - Het Grote - 2026 Tweakers Social Ride- Topic!