RE: [PHP] Can't get PHP extension to Load
- From: Aaron.Smith@xxxxxxxx ("Aaron Smith")
- Date: Tue, 30 Jan 2007 13:14:22 -0500
It seems to me that if external libraries were required, they'd be in
the PHP directory. But when I took the php directory from the
production (non-working) server, and put it in place on the test server,
it loaded the extension just fine. I'm going to, however, see if there
are any differences between the components that are installed in IIS on
the two machines.
--------------------------------------------------------------------
Aaron Smith Aaron.Smith@xxxxxxxx
System Administrator (269) 337-7496
Kalamazoo College
-----Original Message-----
From: Sergiu Voicu [mailto:vsergiu@xxxxxxxxxxx]
Sent: Tuesday, January 30, 2007 12:54 PM
To: Aaron Smith
Subject: Re: [PHP] Can't get PHP extension to Load
Hello Aaron
Check to see if this module doesn't require other external libraries,
that you don't have on the production machine. Also try to use a
debugger to see what calls are made by the apache server when starting.
Sergiu
Aaron Smith wrote:
I have a Microsoft 2003 server running IIS 6.0 and PHPconnection
5.1.2. We have an application (Moodle) that uses a database
to our MSSQL 2000 server. For whatever reason, it doesn't workproperly
with the built in php_mssql.dll so we have to use a replacement ofit
either FreeTDS or ODBTP. ODBTP is working on the production machine,
but is slow as molasses. I configured a test server (Everything the
same, OS, IIS, PHP) and set it up to use FreeTDS. It worked a lot
faster so I attempted to move the production machine over to FreeTDS.
It loads a PHP extension called php_dblib.dll that replaces (the same
way ODBTP does) the php_mssql.dll. The problem is that on the
production machine, even though it is the same version of everything,
refuses to load the php_dblib.dll. The only error it says is that theproduction
"specified module could not be found". The DLL file is definitely in
extensions directory, and the path that the error message presents has
been triple checked to exist. The version of the DLL file is the same
between the two servers and I even went so far as to copy the
server's entire C:\php directory over to the test server and it STILLand
worked. The only other component is a freetds.conf file that lives at
the root directory of "C:\". I checked the permissions of said file
they match on both servers..
Anyone have an ideas on this?
--------------------------------------------------------------------
Aaron Smith Aaron.Smith@xxxxxxxx
System Administrator (269) 337-7496
Kalamazoo College
- Prev by Date: Passing a url-specified value through a form
- Next by Date: TR: Manipulating "categories" in a php database
- Previous by thread: Passing a url-specified value through a form
- Next by thread: RE: [PHP] Can't get PHP extension to Load
- Index(es):
Relevant Pages
|