RE: [PHP] How do i connect to MS-SQL ?
| From: | Matthias Endler | Date: | Mon, 23 Oct 2000 11:21:12 +0000 |
| Subject: | RE: [PHP] How do i connect to MS-SQL ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21771@lists.php.net to get a copy of this message | ||
Hi Karthik,
> I checked phpinfo(). It shows ver. 4.0.2 and my downloads of the win32
> binaries also was for version php 4.0.2.
>
> So what is the error now ?
you should also see a section with the name 'mssql' there you should see
under MSSQL Support an entry with Library version, the value should be 7.0.
If there's no entry like that your php.ini doesn't get parsed, so put your
php.ini into your %SYSTEMROOT%. %SYSTEMROOT% is usually c:\windows or
c:\winnt. If that doesn't help put the php.ini into your document root of
your webserver. You should note that putting your php.ini into your
webserver document root is not such a good idea if this host is connected to
the Internet.
Hope this helps.
Cheers,
Matthias