Solved

Win2K,Apache and PHP - problem accessing MSSQL

Posted on 2003-11-07
7
1,352 Views
Last Modified: 2013-12-12
I have a server with the following:

Win2000 Server SP4
Apache 2.0.48
PHP 4.3.5
PHP Edit 0.6
MSSQL Server 2000 Client Tools

I followed the procedures for enabling connections to a separate MSSQL 2000 server through PHP.  Yet when I run a simple test page in PHP Edit, it gives me the following error messages:

   The procedure entry point _object_and_properties_init could not be located in the dynamic link library php4ts.dll.

I click OK and then get this message:

   Unable to load dynamic library './php_mssql.dll' - The specified procedure could not be found.

I believe all of the DLL's are in the correct spots.  I have the extensions line in php.ini uncommented...what am I missing?

Chris
0
Comment
Question by:nexguy
  • 2
  • 2
7 Comments
 
LVL 14

Accepted Solution

by:
ThG earned 500 total points
ID: 9706655
sounds like the php4ts.dll extension is not right. If are in doubt for your installation procedure, wipe out everything related and install them again.
0
 

Author Comment

by:nexguy
ID: 9717935
I have wiped out everything and reinstalled...same error.  I tried using the LocalSystem account for the Apache2 service, but that didn't change anything so I am sure it is not a permissions error(but you never know).  Can anyone help me?

Chris
0
 
LVL 5

Expert Comment

by:Karitz
ID: 9776867
Have you checked the paths specified in your httpd.conf in relation to where you DLLS are located?
0
 

Author Comment

by:nexguy
ID: 9780730
What do you mean?  The only thing I have in the httpd.conf file that has to do with DLL's is:


LoadModule php4_module "c:/php/sapi/php4apache2.dll"


Should I have anything in the conf file pertaining to MSSQL?

Thanks, Chris
0
 
LVL 14

Expert Comment

by:ThG
ID: 9781895
try searching php4ts.dll in your hdd (c:). If you find multiple files in different location you may need to remove them and overwrite them with your distribution php4ts.dll.
If I recall correctly, they must be in c:\WinNT\System or System32

good luck
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now