Extension errors after installation of PHP

I have finished installing the PHP MSI (to C:\php) and receive this error when executing the standard hello world script. I have checked the PHP extensions folder configured in php.ini and it is indeed set to the correct folder and the files are present.

Said error: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mssql.d - Pastebin.com

PHP.ini: https://pastebin.com/prqHBDNb

For context, I am using PHP 5.2.9-2, Windows Server 2008 R2 Enterprise and the IIS 7.0 webserver. I cannot update either of those for a variety of reasons, so please don’t recommend it.

PHP.ini was deleted off of pastebin, new link

Commonly, the user that IIS is running under doesn’t have permission to access the (whole php) ext folder.

I’ve checked this but it doesn’t seem the case.

During my recent attempts to diagnose the problem I was greeted with this error (attempting to run the php.exe via double clicking), which seems to be something do with with SQL.

https://imgur.com/a/Q2zBvnl (GIF)

(STATIC IMAGE)

Are the .dll files that produce errors part of the .msi install or were they added separately? Where exactly did you get the .msi at and what exact file name was it? Can you post a screen-shot of the ext folder? Have you specifically looked at the permissions that are set for some of the .dll files that produce errors and compare them with one that doesn’t?

The extension DLLs were included with the MSI, but the ones that appear as messagebox errors when clicking on php.exe are not on my hard drive. The MSI was named php-5.2.9-2-Win32-VC6-x86.msi. Here is a screenshot of the EXT folder:


I’ve checked the permissions and compared them to ones that don’t have the problem and the permissions are identical.

Sponsor our Newsletter | Privacy Policy | Terms of Service