Re: PHP 5 + Apache 2 on Windows: ms sql extension problem
| From: | Wolf | Date: | Wed, 26 Apr 2006 11:30:42 +0000 |
| Subject: | Re: PHP 5 + Apache 2 on Windows: ms sql extension problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234796@lists.php.net to get a copy of this message | ||
This setup nagged me for a bit too, until I found the solution...
The DLL files in C:\php need to be put into system32 directory. Once
that happens they work like a charm, but until then, you are plagued
with issues. I have my path set for C:\php and everything as well, but
it was not until copying the DLLs into the C:\Windows\System32 that
everything started working. Thankfully Google held the answer.
Wolf
> I checked phpinfo() and it tells that my php.ini file is at the correct
> location (C:\winnt\php.ini.) I can load other extensions. Another
> example: if I add "php_curl.dll" then I get a "libsleay32.dll not found"
> error message when I try to restart apache. But I do not get any error
> message about the php_mssql.dll. It is just not loaded. I'm sure that
> all the ms sql client libs are installed, because this is the same
> machine where the ms sql server is running. What can be the problem?