Our server administator has enabled PHP's dynamic extension loading on our testing server on Linux (PHP 5.4.). This feature helps to speed up AJAX requests which return plain JSON data.
Many of our developers are using Windows machines with XAMPP package for development.
To make use of dynamic extension loading, developers will add dl() function calls where needed.
According to PHP dl() manual page, this feature should work fine in CGI mode, so we put XAMPP PHP in CGI mode by commenting out LoadFile and LoadModule lines in xampp\apache\conf\extra\httpd-xampp.conf file.
Now phpinfo() shows:
PHP Version 5.3.8
Server API CGI/FastCGI
enable_dl On On
safe_mode Off Off
But still PHP says: Call to undefined function dl()
How to enable dl() function?