Re: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Wolf
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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Ing. Edwin Cruz
Try changing your direcive extension_dir:
extension_dir=C:/PHP/ext  instead of extension_dir=C:\PHP\ext




-Mensaje original-
De: Laszlo Nagy [mailto:[EMAIL PROTECTED] 
Enviado el: MiƩrcoles, 26 de Abril de 2006 04:01 a.m.
Para: php-general@lists.php.net
Asunto: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem



 Hello All,

I had a problem with a Win2003 server, IIS6 and PHP 5.1.2. The MS SQL 
extension was not working. I did not get an answer, but some people 
suggested me to use Apache. Now I installed Win 2000 server, Apache 
2.0.55 and PHP 5.1.2. The same computer has Microsoft SQL Server 
installed. I have only these lines in my php.ini file:

extension_dir=C:\PHP\ext
extension=php_mssql.dll

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? 
Please help me. My bosses are killing me because I could not solve this 
problem for weeks. :-(

Thanks,

  Laszlo

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php