Re: [PHP] Can't get PHP extension to Load



Check permissions on all the intermediary directories from C: down to
the DLL.

Check the environment PATH on the two machines -- If dev has a
different PATH that leads to the DLL...

Some folks advocate putting the DLLs in System or System32 or whatever...

If there are any directories with SPACE in the dirname, like "Program
Files", it will cause you grief sooner or later.

On Tue, January 30, 2007 11:09 am, Aaron Smith wrote:
I have a Microsoft 2003 server running IIS 6.0 and PHP
5.1.2. We have an application (Moodle) that uses a database
connection
to our MSSQL 2000 server. For whatever reason, it doesn't work
properly
with the built in php_mssql.dll so we have to use a replacement of
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,
it
refuses to load the php_dblib.dll. The only error it says is that the
"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
production
server's entire C:\php directory over to the test server and it STILL
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
and
they match on both servers.



Anyone have an ideas on this?



--------------------------------------------------------------------

Aaron Smith Aaron.Smith@xxxxxxxx

System Administrator (269) 337-7496

Kalamazoo College








--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Could not load file or assembly or one of its dependencies.
    ... permissions for GAC folder and ASP.Net temp folder and it didn't work. ... Finally I found the new dll I copied to the server only have ... to administrator group), the symptoms is when I copy new file (by ftp ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP Error 0178 - Please - way behind deadline... (yes - Ive done IUSR_XXX)
    ... Yes the DLL is in-proc and registered (I auto-assoc all dll's ... Authenticated Users, Interactive, IUSR_Machine, Server Operators ... Process) then you need to be looking at the permissions for the IWAM_ ... user account and not the IUSR_ user account. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CDONTS creating error 800a01ad
    ... It's quite possible it's a DLL or permissions thing as I have CDONTS running ... just great on one of my domains which is hosted on 2003 server and runs ...
    (microsoft.public.inetserver.asp.general)
  • Re: Error in VC++ .NET Service
    ... The question is - does the account have enough privileges on the DLL ... check permissions on the dll itself if it doesn't use a COM server. ...
    (microsoft.public.dotnet.framework.interop)
  • Many, many thanks
    ... Assuming that you instantiate the object in the dll on a .asp page, ... if you want to keep a dll loaded in IIS you have a couple ... my ole server dll was exposed. ...
    (microsoft.public.inetserver.iis)