Unable to run setup.php - HTTP 500 Internal Server Error

I'm trying to get ZenPhoto going with IIS 7 (actually, to be precise it's IIS 7.5 on Windows 7, but my understanding is that this is largely the same as IIS 7 on Vista - no doubt someone will tell me I'm wrong).

I've previously used ZenPhoto on IIS 5.1 on Windows XP with PHP 5.2.8 and MySQL 5.1 and apart from a few bits of messing about to get it going, have had no real problems.

I've gone through all the elements of setting up ZenPhoto on this new Windows 7 test system and I can't get past the final hurdle (and the bit that should be easy) - running the setup.php script. I always get an HTTP 500 Internal Server Error.

As far as I can see, I've done everything necessary, I've installed PHP 5.2.8 using the NTS version and manually install, I've configured the PHP.INI. I've set up a mapping for .php files in IIS and I and can get an output from phpinfo(), which shows that it's in FastCGI mode and that the extensions needed by ZenPhoto are loaded. However, the setup.php just won't run.

The only real difference between this and my working XP/IIS 5.1 version is that this is using FastCGI whereas the IIS 5.1 version is using ISAPI. The reason for this is that the ISAPI PHP setup didn't seem to work. From what I can see, most people prefer to use FastCGI anyway.

Can anyone shed any light at all. If the answer is simply - it won't work on IIS 7.5 yet then fine, but I'd like to get to the bottom of it. I'd also like to keep on using Windows 7 because I really like it (and that's coming from a confirmed Vista hater).

Thanks in advance for any help or advice anyone can offer.

Stuart

Comments

  • hi,

    Try to delete the .htaccess file at the root of the zenphoto directory ...

    Regards
    Eric
Sign In or Register to comment.