Yes, my php.ini is in my WINNT directory. I am running php 4.3.4 and originally got an error that it couldn't find php5dts.dll in my classpath, then it would complain that it couldn't load the php_mssql.dll. I downloaded php5dts.dll and put it in my path so now I get this error:
[Mon Mar 29 13:58:41 2004] [warn] module mod_php4.c is already added, skipping PHP Warning: Unknown(): (null): Unable to initialize module Module compiled with module API=20040316, debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0, thread-safety=1 These options need to match in Unknown on line 0 Apache/1.3.29 (Win32) PHP/4.3.2 running... But..it doesn't complain that it can't load the php_mssql module yet when I try to use the mssql_connect(); function I get this error: Fatal error: Call to undefined function: mssql_connect() in c:\program files\apache group\apache\htdocs\installomatic\starteam.php on line 3 Thanks, Eddie -----Original Message----- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 1:41 PM To: Edward Peloke Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: why won't mssql work? Your php.ini is in-fact in your WINNT directory correct? On Mon, 2004-03-29 at 13:37, Edward Peloke wrote: > >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:[EMAIL PROTECTED] > Sent: Monday, March 29, 2004 12:01 PM > To: [EMAIL PROTECTED]; 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 -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php