Solved

Win2K,Apache and PHP - problem accessing MSSQL

Posted on 2003-11-07
7
1,359 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ajax and PHP 4 47
Looking for suggestions on different user roles best design practices 4 30
Echo'd values in dropdowns 6 30
PHP Curl Problem 10 42
This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

726 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