RE: [PHP] Re: why won't mssql work?
| From: | (Edward Peloke) | Date: | Mon, 29 Mar 2004 18:37:58 +0000 |
| Subject: | RE: [PHP] Re: why won't mssql work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181689@lists.php.net to get a copy of this message | ||
>First of all, the obvious: make sure extension_dir in php.ini is set to
>the correct extensions directory.
Yep
>>you need to place ntwdblib.dll in the WINDOWS/System32
Yep
And as far as IIS, I am running apache.
Thanks,
Eddie
-----Original Message-----
From: Ben Ramsey [mailto:lists@benramsey.com]
Sent: Monday, March 29, 2004 12:01 PM
To: php-general@lists.php.net; Edward Peloke
Subject: [PHP] Re: why won't mssql work?
EP> I know I am missing a stupid step but I have php_mssql.dll in my
EP> php extensions folder and have uncommented the line in the ini
EP> file yet it still doesn't recognize the functions. Do I need to
EP> do something else?
First of all, the obvious: make sure extension_dir in php.ini is set to
the correct extensions directory. Also, did you restart IIS after you
made the changes to php.ini? Evertime you change php.ini, you need to
restart IIS.
Secondly, for MS SQL extensions to work, you need to place ntwdblib.dll
in the WINDOWS/System32 folder (the location could differ depending on
your platform) on the machine that is running PHP.
Then, restart IIS.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php