[imp] Problem with IMP in Windows/Apache

G. S. Ramasubramanian ramsu@email.iimcal.ac.in
Thu, 4 Jul 2002 20:56:04 +0530


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
Hi,
 
I am trying to setup a Webmail system using IMP 3.1 / Horde 2.1 / Turba
1.1 on my machine (Windows XP running Apache 2.0.39 with PHP 4.2.1).
 
It took me a while to put the pieces together, and the process was not
entirely uneventful:
 
* Apache 2.0.39 refused to start when I included the requisite lines for
PHP support in the httpd.conf file. It turned out that I had to download
a different version of the php4apache2.dll, posted on the Web by
somebody who faced the same problem. 
 
* I might add that I have not added the line that says: AddModule
mod_php4.c, because the PHP functionality worked without it but Apache
refused to start when I added it.
 
* Horde requires that the path to the log file be set appropriately in
the horde.php configuration file, else it gives an error. The value I
set was "c:\tmp\horde\logs\horde.log".
 
* When I tried to send mail, it did not get sent, and all I got was an
error message. For sending mail, apparently the Socket.php file is
required to be in the c:\php\pear\Net directory, and it does not come
with the PHP 4.2.1 distribution. so I downloaded Socket.php from the Web
and put it into that directory.
 
After having done all this, I could manage to get the system up and
running. However, when I tried to compose and send a mail, the system
crashed. The mail got sent, but at the same time, Windows gave me an
error message saying Apache had performed an illegal operation and had
shut down. I checked the Event log and found that a dll file named
ntdll.dll was mentioned in the error message.
 
I haven't yet been able to figure out whether: 
 
* The problem is in the PHP-Apache-WinXP part 
* The problem is in the Horde-IMP part
 
If anyone has faced this or a similar problem before, and has a
solution, I'd be much obliged if you could help me out. Am not sure if
the information I have provided is sufficient for a diagnosis - if any
more information is required, I shall be happy to provide it.
 
Thanks,
Ramsu
 
------------------------------------------------------------------------
---------
And Jesus said unto them, "And whom do you say that I am?"
They replied, "You are the eschatological manifestation of the ground of
our being, the ontological foundation of the context of our very
selfhood revealed."
And Jesus replied, "What?"

 

---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>I am =
trying to setup=20
a Webmail system using IMP 3.1 / Horde 2.1 / Turba 1.1 on my machine =
(Windows XP=20
running Apache 2.0.39 with PHP 4.2.1).</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>It =
took me a while=20
to put the pieces together, and the process was not entirely=20
uneventful:</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* =
Apache 2.0.39=20
refused to start when I included the requisite lines for PHP support in =
the=20
httpd.conf file. It turned out that I had to download a different =
version of the=20
php4apache2.dll, posted on the Web by somebody who faced the same =
problem.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* I =
might add that I=20
have not added the line that says: AddModule mod_php4.c, because the PHP =

functionality worked without it but Apache refused to start when I added =

it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* =
Horde requires=20
that the path to the log file be set appropriately in the horde.php=20
configuration file, else it gives an error. The value I set was=20
"c:\tmp\horde\logs\horde.log".</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* When =
I tried to=20
send mail, it did not get sent, and all I got was an error message. For =
sending=20
mail, apparently the Socket.php file is required to be in the =
c:\php\pear\Net=20
directory, and it does not come with the PHP 4.2.1 distribution. so I =
downloaded=20
Socket.php from the Web and put it into that =
directory.</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>After =
having done=20
all this, I could manage to get the system up and running. However, when =
I tried=20
to compose and send a mail, the system crashed. The mail got sent, but =
at the=20
same time, Windows gave me an error message saying Apache had performed =
an=20
illegal operation and had shut down. I checked the Event log and found =
that a=20
dll file named ntdll.dll was mentioned in the error =
message.</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>I =
haven't yet been=20
able to figure out whether: </FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* The =
problem is in=20
the PHP-Apache-WinXP part </FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>* The =
problem is in=20
the Horde-IMP part</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial size=3D2>If =
anyone has faced=20
this or a similar problem before, and has a solution, I'd be much =
obliged if you=20
could help me out. Am not sure if the information I have provided is =
sufficient=20
for a diagnosis - if any more information is required, I shall be happy =
to=20
provide it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2>Ramsu</FONT></SPAN></DIV>
<DIV><SPAN class=3D428092214-04072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-----------------</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>And Jesus said unto them, =
"And whom do=20
you say that I am?"<BR>They replied, "You are the eschatological =
manifestation=20
of the ground of our being, the ontological foundation of the context of =
our=20
very selfhood revealed."<BR>And Jesus replied, "What?"<BR></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></FONT></DIV></BODY></HTML>

---------------------- multipart/alternative attachment--