Re: PHP MSSQL versions
| From: | Christoph Grottolo | Date: | Tue, 27 Aug 2002 20:52:36 +0000 |
| Subject: | Re: PHP MSSQL versions | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15540@lists.php.net to get a copy of this message | ||
Yes. You'll find the file in the dll folder in your php distribution. Copy
it to your windows\system32 directory. See also
http://ch.php.net/manual/en/ref.mssql.php
Christoph
David Hollister wrote:
> Can someone confirm this? I don't think you need anything beyond the
> php_mssql.dll to use MSSQL specific functions. I'm pretty sure I've
> done that in the past. I'm curious now.
>
>> Also, you need to make sure that you have the ms_sql client
>> libraries installed on the local machine where php resides. It needs
>> these libraries to connect to SQL server.
>
> -----Original Message-----
> From: Flint Doungchak [mailto:flint@modulusgroup.com]
> Sent: Tuesday, August 27, 2002 11:38 AM
> To: Bob Hiller -1; PHP Mail List
> Subject: RE: [PHP-WIN] PHP MSSQL versions
>
> Bob,
>
> From what I understand, I don't understand it all that much, you need
> to make sure that the correct version of PHP runs with the correlated
> version of the module (for all modules not just mssql). When you
> download PHP from php.net (at least when you download the zipped
> version), the mssql module comes with the package and is located in
> the ./extensions directory.
>
> Make sure your .ini files contains the line:
>
> extension_dir = ./extensions
>
> And that you have uncommented the line:
>
> extension=php_mssql.dll
>
> Also, you need to make sure that you have the ms_sql client libraries
> installed on the local machine where php resides. It needs these
> libraries to connect to SQL server. Just install the client tools off
> the SQL server CD.
>
> That should do it. I think this version matching things is really
> important as of 4.2.0 but has always been the situation between 3.x
> and 4.x. In any case, if any else knows the technical details, please
> fill us in.
>
> Hope that helps.
>
> -Flint
>
> -----Original Message-----
> From: Bob Hiller -1 [mailto:aoklans@onemain.com]
> Sent: Monday, August 26, 2002 1:25 PM
> To: PHP Mail List
> Subject: [PHP-WIN] PHP MSSQL versions
>
>
> I download php_mssql.dll and added it to php.ini.
>
> When I open any php page I get this error
>
> MSSQL Unable to initialize module
>
> Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
>
> PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
>
> These option must match
>
> What do I need to do to make the Module API's match.
>
> Thanks,
> Bob Hiller
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php