Solved

Win2K,Apache and PHP - problem accessing MSSQL

Posted on 2003-11-07
7
1,350 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
Comment Utility
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
Comment Utility
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
Comment Utility
Have you checked the paths specified in your httpd.conf in relation to where you DLLS are located?
0
 

Author Comment

by:nexguy
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 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

6 Experts available now in Live!

Get 1:1 Help Now