I'm facing a problem. I use xampp 1.7.7 on Windows which installs a Apache service. I find that I have to some tweak to have all PHP modules load properly.
For example, php_ldap.dll cannot be loaded.
It is mysterious why it cannot be loaded until I tried to run httpd.exe from command line, which reveals that libsasl.dll cannot be found.
Actually, there exist D:\xampp\php\libsasl.dll but httpd.exe cannot find it.
OK. The best way is to add
D:\xampp\php to PATH env-var.
Now my question is: How do I set a specific PATH value for that specific Apache service but not system wide. -- because I think it is better not to disturb other processes with that extra PATH value.
- Is there a general way to do that for a specific Windows service?
- or, is there a Apache specific way to load extra env-var settings from some specific configuration files?