Apache not loading php modules

Apache not loading php modules

by Joel Olson -
Number of replies: 1

Moodle 3.4

Windows server 2016

Sql Server 2008 R2

When starting Xampp the error log notes the following:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\moodle\\server\\php\\ext\\php_intl.dll' - The specified module could not be found.\r\n in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\moodle\\server\\php\\ext\\php_sqlsrv_71_ts_x86.dll' - The specified module could not be found.\r\n in Unknown on line 0


I couldn't locate any similar threads here....



Average of ratings: -
In reply to Joel Olson

Re: Apache not loading php modules

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Joel,
have you already resolved your issues?

If the files are there I'm not sure for their dependencies: give https://www.devside.net/wamp-server/unable-to-load-or-find-php-extension-php_intl-dll a read i.e. double check that you've installed all the software requirements (https://pixels.alan.id.au/2016/12/php-7-sql-server-and-iis/ will be helpful too).
If you re-read https://www.microsoft.com/en-us/sql-server/developer-get-started/php/windows/step/2.html you'll see that you're missing php_pdo_sqlsrv_*.dll in your php.ini file and double check the filename of the extensions since I'd not sure that _x86 is still there in 7.1 mixed.

Since you're running Moodle on Windows I'd suggest to use IIS as web server: http://php.net/manual/it/install.windows.iis7.php and https://docs.moodle.org/34/en/Internet_Information_Services#Slasharguments.

For the record the OP is coming here from MDL-59581.

HTH,
Matteo