RE: [PHP-WIN] PHP MSSQL versions
| From: | Flint Doungchak | Date: | Tue, 27 Aug 2002 16:37:58 +0000 |
| Subject: | RE: [PHP-WIN] PHP MSSQL versions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15534@lists.php.net to get a copy of this message | ||
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