I've been fighting an error with my PHP installation in Windows with Apache related to loadable extensions. In my error log, I kept getting the errors:
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP\\ext\\php_mssql.dll PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP\\ext\\php_pdo_mssql.dll
Interestingly enough, if I ran PHP through the console, it loaded PDO and mssql just fine, the problem was only with the environment in Apache. Turns out the ntwdblib.dll wasn't being located by Apache. I could probably have added the PHP path to the environment variable PATH, but the easiest solution was to copy the dll to the Windows\System32 directory. A restart of Apache after that cured the problem.
I recently configured a WebDAV server and was having strange access errors. The client would report
Listing collection `/': failed:
XML parse error at line 1: Extra content at the end of the document .
When I tried a directory listing.
On the server side, I was getting the error
Provider encountered an error while streaming a multistatus PROPFIND response. [404, #0]
Turns out the solution is one I don't really even understand. Under my Apache config, I changed the <Directory> directives to <Location> directives and everything started working.
According to the Apache online manual, you should only use Location when you're applying directives to directories outside the local (jailed) filesystem. These are simple, local directories I'm configuring.
Like I said, weird.
