I've been stucked for a couple of days trying to install PHP5 (ISAPI) on W2K with IIS5. I followed the instruccions of php.net and some others, but the situation is really strange to me. Let me explain step by step what I've done till now:
1. Extracted the .zip file to E:\php
2. Changed the php.ini-recomended filename to php.ini and edited doc_root = "E:\wwwrootphp", and extension_dir = "E:\php\ext"
3. Didn't move any file to another folder, EVERYTHING (php.ini, php5ts.dll, php5isapi.dll, etc...) is in E:\php
4. Modified the server's PATH enviroment variable, adding "....;E:\php"
5. Rebooted the server
6. Started the IIS manager, and under the home site I created a new virtual folder called "php" to keep separated php scripts (I'm also using ASP .NET on this server). The folder selected was "E:\wwwrootphp" (remember step 2.), clicked "Configuration", Fliped to the "Mappings" tab, Clicked "Add...", entered the full path (E:\php\php5isapi.dll) to php5isapi.dll in the "Executable" textbox, entered ".php" in "Extension" textbox, selected radial button "Limit to" and entered "GET,POST,HEAD".
7. Finally I restarted the IIS on command line.
I thoght everything was ok because I tested the installation with a little script executing <? echo phpinfo(); ?>. I got the typical page whith the typical information, BUT I realized that path to the php.ini file was "C:\WINNT", and I didn't move this file from E:\php :queasy: . After that, I also realized that the value of extension_dir was incorrect: the page said "C:\php5", but I wrote "E:\php\ext" :queasy: :queasy: . After a little research on the Internet, I realized that my php.ini config file is not recognized by the php. The worst thing came after: I moved the php.ini file to the folder C:\WINNT, and after restart the IIS and the server for about 100 times, even the little script didn't work, I mean, php didn't run on the server.
I've tried moving files, setting PHPRC variable, but none of these worked.
After 2 days trying to solve this problem, I ran out of ideas. Help me 😕
Regards.