Hi All,

I can't seem to get PHP to run and have a problem with MySql.

I'm new to PHP and never used IIS, never done any real web work and never used SQL.

Before starting, the server was stable and I haven't installed anything specific that uses SQL. The server is just used for file serving and as a print server (and now IIS was installed.) It's also running FileMaker Advanced Server which shouldn't be part of this problem.

I'm installing PHP 5.0.5 on Win 2003 Enterprise.

IIS 6.0 is installed and seems to work fine.

After installing PHP, (sometimes) the installer process keeps running. No matter if I reboot or not, PHP just won't run. The installation doesn't report any problems. I don't see a PHP process or service. I DO get an error at reboot from the Service Control Mngr that My SQL failed because the path cannot be found. I assume this is part of the problem.

I'm determining that it's not running because a php page with phpinfo() fails.

I tried un/reinstalling and took a shot at hacking the registery for SQL with no luck (registery was reset to the original).

I expected this to be a straight forward install but have now seriously hurt my simple brain.

Anyone have any advice to guide me? Thanks in advance for your help.

    jeffduck wrote:

    I'm determining that it's not running because a php page with phpinfo() fails.

    Hopefully someone who gives a hoot about Windows servers can give some further aid, but I'll try to get the ball rolling.

    Note that the "Windows installer" installs a CGI version of php, which might not be what you want.

    If a phpinfo() call "fails" ... what are the symptoms/results? An error message? A blank screen? You should be more specific, methinks.

    I'd recommend reading the installation instructions for Windows again, and maybe trying the manual installation.

    Now, note that you should likely take this advice with some sort of a grain of salt. I've never installed PHP on Windows, and wouldn't use it except it comes pre-loaded on laptops, for gaming, and I have clients who use it....

    Of course, I'm a tad curious. I now use PHP CLI so much that it might be fun to have it on the laptop....

    Good luck,

      What do you know! The answer WAS in the instructions. My FileMaker peers told me that no changes were necessary.

      I had to change a setting in IIS. I had to add the PHP cgi to the Allow Web Site Extensions.

      I guess it was just a RTFM problem. - Thanks.

        You're welcome, of course --- if I really did anything worth thanking me for.

        The PHP instructions really recommend doing the installation manually with the zipped binaries for a decent reason --- the SAPI modules are much faster than the CGI module, and they have modules that support ISAPI-compliant servers like IIS automagically. Just a matter of a few steps to get better performance, and no need for CGI dirs, etc.

        FWIW, I installed manually to my win2k laptop last night after posting here ... no difficulties at all for the CLI ... and since I don't run a web server on my laptop, I've no other worries.

        Now, if I could only same the same for GNU's wget on Windows.... probably I didn't RTFM enough on that one :rolleyes:

        H.A.N.D.

          Write a Reply...