I'm working on a windows server 2008 R2 machine. I have installed apache 2.2 with php 5.4.25 While trying to enable ldap support for the apache server i found out that the server does not load the extensions.
I ran php_info() and this was the result
Configuration File (php.ini) Path
C:\Windows Loaded configuration file: "C:\php\php.ini
extension_dir C:\php\ext
I have changed the php.ini to load the extensions, but they are not loaded and they are not visible in the php_info dump. I tried to restart the server and apache about a million times while doing changes with no luck. So if anyone knows a solution to this it would be great.
I had the same problem on Windows. After changing the path to the extension directory (in php.ini) to an absolute path, it worked.
As suggested in the default php.ini (not working):
extension_dir = "ext"
Turned into an absolute path (working)
extension_dir = "c:\amp\php\ext"
The strange thing is that this problem occurs on some machines / versions only. Could not nail it down. There is an official bug listed here:
https://bugs.php.net/bug.php?id=74866
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With