Windows 2003 Server, IIS6 and PHP5 (grrr)

Is the PHPRC variable a necessity? I'm sure I created an entry but am just thinking... maybe I didn't put it in capitals.

It's defo working now though. Just tried the installers for both phpBB and iBB and they seem to be working as they should (despite not having SQL installed).

Going to dig deeper and see exactly what the PHP MSI changes during installation.
 
Sorry to bump, but I've just completed a manual install of PHP on a fresh 2003 SP2 installation.

Sure enough, I got this screen when trying to open PHP files in the browser...

password.jpg


So, after doing a bit of digging I found a bit of information and did the following...

The 'Default Web Site' was set to use an application pool called 'DefaultAppPool'. I went into the properties for this application pool, onto the Identity tab and changed from Predefined to Configurable. Obviously, the user IWAM_xxxxxx was already there so I just left it at that.

app-poolconfig.jpg


Then, I went to the security permissions for the PHP executable folder and added IWAM_xxxxxx as a permitted user with the appropriate access right.

phpdirsecurity.jpg


Lo and behold... it worked.

I've also found the following can cause some problems when installing with the PHP installer and worth a check if you're having difficulty getting pages to display.

phpconfig.jpg


The PHP exectuable tends to appear as a short 8.3 file name. I found entering the 'long' file name sorted out a permissions error I was getting.

Hope this thread is of use to anyone with the same problem in the future.
 
Back
Top Bottom