I've been scouring the Google Usenet archives, and I can find neither
any article that addresses this question, nor any group that seems
dead-on appropriate for asking it; I posted this in alt.php, but I've
had no luck there.
I have installed PHP 4.3.2 as an ISAPI module under IIS 5.1 on Windows
XP Professional SP1. I have previously done this under IIS 5.0 on Windows
2000 Professional several times, with no problems at all.
This time, though, there is some problem with some (though not all) of
the extensions I wish to use. I have added (uncommented, actually) the
following lines in php.ini:
extension = php_ldap.dll
extension = php_sockets.dll
Now, whenever I start the Web publishing service, a system dialog
appears with the following message:
Unknown(): Unable to load dynamic library
'c:\windows\sys tem32\inetsrv\p hp_ldap.dll' - the specified module
could not be found.
Sure enough, I can call sockets methods, but not LDAP methods (I get
'undefined function' errors, as expected). php_ldap.dll and
php_sockets.dll are in the very same directory together, and have
identical security settings. I've tried copying them to various other
directories (and updating the extension_dir value in the php.ini
file), but that has no effect. The very same thing happens, with the
new path in the error dialog.
Why would one load but not the other? Any suggestions would be
appreciated.
--
Don Rea
Bucknell University ISR 4 8976
Although you probably will not like it, I suggest you install Apache 2.x
onto your Windows XP machine, not only is Apache 2.x much more stable on
Windows now, its faster, and the PHP interface is faster as well. I
highly recommend moving to a better web-server like Apache.
Don: Bucknell Web Application Developer wrote: Now, whenever I start the Web publishing service, a system dialog appears with the following message: Unknown(): Unable to load dynamic library 'c:\windows\sys tem32\inetsrv\p hp_ldap.dll' - the specified module could not be found.
Have you tried using regsvr32 to register the dll (if that's still necessary
under XP)?
> Although you probably will not like it, I suggest you install Apache 2.x onto your Windows XP machine, not only is Apache 2.x much more stable on Windows now, its faster, and the PHP interface is faster as well. I highly recommend moving to a better web-server like Apache.
Alas, the choice of web server is not up to me. I'm using this machine
for development and testing for an IIS deployment environment at my
day job. Believe me, if I could select the tools, I'd never wrestle
with IIS or write another line of VBS again!
> Have you tried using regsvr32 to register the dll (if that's still necessary under XP)?
The equivalent of running regsvr32 is what's happening when IIS is
loading the PHP libraries at start up (or at the restart of the
service). So, if I try registering the library by hand, I get that
same error message from the system.
The real mystery, to me, is why one of the libraries loads and the
other doesn't. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mark Hammond |
last post by:
Phillip Frantz has contributed a very cool ISAPI (IIS extension)
framework that I have been extending, and hope to include in later
pywin32 builds. It supports both ISAPI extensions and filters.
Along with this ISAPI extension is a Python framework that implements
mod_python like functionality in IIS. This means it is a "server
independent" framework for embedding Python in either Apache or IIS (and
also means the framework itself is...
|
by: mark | r |
last post by:
anyone know how to use this component, am i right in thinking that it will
convert something like
default.asp?pageid=100&cat=74 to
default,100,74.html (or something similar)
?
mark
|
by: MKPrasad |
last post by:
Hi,
We are running ASP application in our Production
environment on "Windows 2000 Advanced Server" SP4 , IIS
5.0.
Occationally We see a IIS crash,
with the following info on Event Log
***********************
Event Type: Warning
Event Source: W3SVC
|
by: David Sacks via .NET 247 |
last post by:
Hi,
Was wondering if anyone knows how to get an ISAPI dll to workwith managed .NET code? I have an exisiting ISAPI dll and I'dlike to get it working with some .NET managed code. I've enabledthe /clr option, integrated my managed code into the unmanagedcode and have my dll compiling and linking. Initialially I gotthe following error: LNK4243 'DLL containing objects compiledwith /clr is not linked with /NOENTRY; image may not runcorrectly'.
...
|
by: Guoqi Zheng |
last post by:
I know I can use http module in my asp.net project to rewrite url. However
that is only true for .aspx page, there are many other static page in my
application such as .htm. .asp, etc.
My question is:
1. Is it possible to map all those request (.gif, .jpg, .swf, .asp, .htm,
whatever) to my http module first?
2. Or in this situation, I have to use a ISAPI filter?
| |
by: yachtIT |
last post by:
HI MS,
I have read from official microsoft msdn that an HTTPhandler in .NET can do
anything a c++ isapi extension can do. Only a .NET HTTPhandler has a much
more easy programming model.
However I cannot find any documentation on how to receive an HTTP request (
HTTPcontext ) with an HTTPhandler and keep the connection alive.
The HTTPcontext is always closed.
|
by: ImOk |
last post by:
I have the following setup:
Windows XP Prof, IIS, PHP5
PHP5 works no problem with either PHP-CGI.EXE and mySQL,
PHP5 also works no problem with php5isapi.dll as long as I dont use
mySQL. When I use mysql It just gives an error or nothing when I try to
execute any mysql function (e.g. mysql_connect).
|
by: mtuller |
last post by:
I am attempting to install PHP 5.2.x on Windows 2003 with IIS 6.0.
When I go to install 5.2.1, it gives me an error when it tries to
start the server I get an error. So I try installing 5.2.0. This
installs, but almost none of the modules that I selected in the
installation are active. I try to activate them in php.ini, but that
doesn't seem to help. Why does the installer allow me to install PHP,
select the modules, and then never show...
|
by: Erwin Moller |
last post by:
Hi,
I am one of those questionable people that started with Vista (Home
Premium).
Not because I think it is a ready/steady OS, but partly out of
curiousity, and partly because I needed to work on an old project that
happens to run on IIS6/W2000/MSSQL7, but my W2000 machine couldn't
handle the size of the database in question anymore. :-(
My new Vista machine is 5 years younger and is a lot faster, so I
started to figure out how to use...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |