I think I have a PHP version conflict

Up until yesterday evening our web server was running PHP 5.2.4 and I upgraded to 5.3.5 by downloading the Windows installer which seemed to do a pretty good job of just replacing the current instance of PHP with minimal configuration changes required.

Except when I tried using PHP’s command line interface, I got the following error:

This application has failed to start because php5ts.dll was not found. Re-installing the application may fix this problem.

The strange thing is, after clicking “OK” on this message, all PHP CLI commands are actually executed successfully, and running the command php -version returns 5.3.5 as expected.

I’m guessing somewhere there is a reference to the old PHP installation, the files for which are no longer on the server. I’ve checked the Windows path environment variable and the only references to PHP are as follows:

C:\\Program Files\\PHP\\;C:\\Program Files\\PHP\\ext;

C:\Program Files\PHP replaced D:\PHP as the installation directory when I upgraded, by the way.

I would really appreciate if anyone is able to help track down the cause of this error.

FWIW, I’m running Windows Server 2003.

What Windows version did you download? VC9, VC9TS, VC6 or VC6TS ?
What about the previous version, which version was that?

Anthony.

I downloaded VC9, non thread-safe.

I’m afraid I have no idea what the previous version was. It came pre-installed on the server.

What I do know, in case this is relevant, is that the new version is running through the FastCGI IIS extension, and the previous version was the ISAPI version.