Ramakrishna Kuppa | 1 Oct 01:25 2002

Apache.exe generates errors and is closed by Windows.

I am getting the above error on my Windows platform. The environment details are as follows:

OS: Windows 2000
Server: Apache 1.3.26 with OpenSSL 0.9.6d and mod_ssl 2.8.10

The OS pops up a box with the above message and until the user acknowledges, the system doesn't respond to any user requests. In a way, the system "hangs".

Any ideas on how this can be resolved? Alternatively, can the server be made to service user requests?

Thanks
Ramakrishna

Peter | 1 Oct 07:31 2002
Picon

Apache on RedHat 7.3

I am trying to move a web application from a win98 machine to a linux (redhat 7.3)
 It appears that despite php, apache and mysql being installed  on linux they are not correctly integrated.
 
I have made the php.ini file look the same as the one on the win 98 box. 
 
I do not know how do do this for the apache config file.  The default file which is on the linux system has a number of </IfDefine HAVE_PHP> </IfDefine>  and similar sections.  It would appear that somewhere these variables have to be defined . Can anyone advise on on what I need to do to get the php working with Apache etc?
 
Currently the web site is partially working with a lot of php code being displayed as source.
 
How do I check php is working independently of Apache?
 
 
Currently
 
Regards
 
Peter Goggin
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/02
Robert Andersson | 1 Oct 07:37 2002
Picon

Re: Apache on RedHat 7.3

Do you have these directives in the httpd.conf?
 
# modules/php4apache2.dll should instead be address to
# isapi directory in the php install directory.
LoadModule php4_module modules/php4apache2.dll
DirectoryIndex [...] index.php index.phtml
 
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Which are needed in order for PHP to work correctly. Is the PHP running as a module or CGI? The above is for module.
Regards,
Robert Andersson
----- Original Message -----
From: Peter
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users <at> httpd] Apache on RedHat 7.3

I am trying to move a web application from a win98 machine to a linux (redhat 7.3)
 It appears that despite php, apache and mysql being installed  on linux they are not correctly integrated.
 
I have made the php.ini file look the same as the one on the win 98 box. 
 
I do not know how do do this for the apache config file.  The default file which is on the linux system has a number of </IfDefine HAVE_PHP> </IfDefine>  and similar sections.  It would appear that somewhere these variables have to be defined . Can anyone advise on on what I need to do to get the php working with Apache etc?
 
Currently the web site is partially working with a lot of php code being displayed as source.
 
How do I check php is working independently of Apache?
 
 
Currently
 
Regards
 
Peter Goggin
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/02
Peter | 1 Oct 08:08 2002
Picon

Re: Apache on RedHat 7.3

I thought dll were for windows. There are no dll on my linux box relating to apache or php or mysql.
 
 
I installed the rpms for mysql :
 
MySQL-MAX -3.23.52-1
MySQL--3.23.52-1
MySQL-Client-3.23.52-1
MySQL-Shared--3.23.52-1
 
For Apache the rpms are:
apache-1.3.23-1
apacheconf-0.2.2-2
 
For PHP the rpms are
php-msql-4.1.2-7
 
Are there any more rpms I should install?
 
What configurations steps are required to make sure they work together?
 
Any help gratefully accepted.
 
Regards
 
Peter Goggin
 
Regards
 
Peter Goggin
----- Original Message -----
Sent: Tuesday, October 01, 2002 3:37 PM
Subject: Re: [users <at> httpd] Apache on RedHat 7.3

Do you have these directives in the httpd.conf?
 
# modules/php4apache2.dll should instead be address to
# isapi directory in the php install directory.
LoadModule php4_module modules/php4apache2.dll
DirectoryIndex [...] index.php index.phtml
 
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Which are needed in order for PHP to work correctly. Is the PHP running as a module or CGI? The above is for module.
Regards,
Robert Andersson
----- Original Message -----
From: Peter
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users <at> httpd] Apache on RedHat 7.3

I am trying to move a web application from a win98 machine to a linux (redhat 7.3)
 It appears that despite php, apache and mysql being installed  on linux they are not correctly integrated.
 
I have made the php.ini file look the same as the one on the win 98 box. 
 
I do not know how do do this for the apache config file.  The default file which is on the linux system has a number of </IfDefine HAVE_PHP> </IfDefine>  and similar sections.  It would appear that somewhere these variables have to be defined . Can anyone advise on on what I need to do to get the php working with Apache etc?
 
Currently the web site is partially working with a lot of php code being displayed as source.
 
How do I check php is working independently of Apache?
 
 
Currently
 
Regards
 
Peter Goggin
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/02
Robert Andersson | 1 Oct 08:25 2002
Picon

Re: Apache on RedHat 7.3

Apache.exe generates errors and is closed by Windows.Peter  wrote:
> I thought dll were for windows. There are no dll on my linux box relating
to apache or php or mysql.

Yeah, they are. That was straight out of my config, nearest at hand; you
should look for a php4apache.so file.

> I installed the rpms for mysql :

I'm extremely poor when it comes to linux and their rpms, so I won't be of
much help :(

> MySQL-MAX -3.23.52-1
> MySQL--3.23.52-1
> MySQL-Client-3.23.52-1
> MySQL-Shared--3.23.52-1

I have run MySQL 4 for over a year and a half, so I don't know :(

> For Apache the rpms are:
> apache-1.3.23-1
> apacheconf-0.2.2-2

I would go for at 1.3.26, at least, if not Apache 2. I have no idea what
apacheconf rpm is, so can't judge that ;)

> For PHP the rpms are
> php-msql-4.1.2-7

Aren't there any newer? It should be sufficient, though.

> Are there any more rpms I should install?

Not what I know of. But, as stated, I really don't have much of a clue here
either ;)

> What configurations steps are required to make sure they work together?

Do you mean configuration before compiling, or after they are installed? I
cannot help you with the former for linux, but perhaps some with the latter.
- I have no idea of MySQL, as I always had it independent of Apache/PHP.
- The only thing I usually do for PHP, is to edit the path and extension_dir
setting in it's config file
- For Apache, I don't know for certain for 1.3, but these lines should be
added somewhere:
LoadModule php4_module /path/to/the/php4apache.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

You should be able to find lots of on-line information about this that gives
much more accurate information than I do; which have mostly worked with
Apache 2, mostly on Windows platform. The best place to start should be at
www.php.net and in their documentation about installing with apache.

Regards,
Robert Andersson

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Gilles Gros | 1 Oct 08:32 2002

RE: Apache on RedHat 7.3

my suggestion to you would be rather to go for a compilation of apache.
 
If I get it correctly, what you need is :
 
Apache 1.3.26
MYSQL 3.23.52 (you can install it thru RPM).
SSL ?
php 4.2.3
after just compile the all and configure it accordingly to your need.
 
Going for apache 1.3.23 and php 4.1.2 does not seem a goor choice to me.
 
Gilles
-----Original Message-----
From: Peter [mailto:pgoggin <at> optusnet.com.au]
Sent: Monday, September 30, 2002 11:08 PM
To: users <at> httpd.apache.org
Subject: Re: [users <at> httpd] Apache on RedHat 7.3

I thought dll were for windows. There are no dll on my linux box relating to apache or php or mysql.
 
 
I installed the rpms for mysql :
 
MySQL-MAX -3.23.52-1
MySQL--3.23.52-1
MySQL-Client-3.23.52-1
MySQL-Shared--3.23.52-1
 
For Apache the rpms are:
apache-1.3.23-1
apacheconf-0.2.2-2
 
For PHP the rpms are
php-msql-4.1.2-7
 
Are there any more rpms I should install?
 
What configurations steps are required to make sure they work together?
 
Any help gratefully accepted.
 
Regards
 
Peter Goggin
 
Regards
 
Peter Goggin
----- Original Message -----
Sent: Tuesday, October 01, 2002 3:37 PM
Subject: Re: [users <at> httpd] Apache on RedHat 7.3

Do you have these directives in the httpd.conf?
 
# modules/php4apache2.dll should instead be address to
# isapi directory in the php install directory.
LoadModule php4_module modules/php4apache2.dll
DirectoryIndex [...] index.php index.phtml
 
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Which are needed in order for PHP to work correctly. Is the PHP running as a module or CGI? The above is for module.
Regards,
Robert Andersson
----- Original Message -----
From: Peter
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users <at> httpd] Apache on RedHat 7.3

I am trying to move a web application from a win98 machine to a linux (redhat 7.3)
 It appears that despite php, apache and mysql being installed  on linux they are not correctly integrated.
 
I have made the php.ini file look the same as the one on the win 98 box. 
 
I do not know how do do this for the apache config file.  The default file which is on the linux system has a number of </IfDefine HAVE_PHP> </IfDefine>  and similar sections.  It would appear that somewhere these variables have to be defined . Can anyone advise on on what I need to do to get the php working with Apache etc?
 
Currently the web site is partially working with a lot of php code being displayed as source.
 
How do I check php is working independently of Apache?
 
 
Currently
 
Regards
 
Peter Goggin
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/02
Phillip Compton | 1 Oct 08:34 2002

Re: Apache on RedHat 7.3


Peter wrote:

>  
> For PHP the rpms are
> php-msql-4.1.2-7
>  
> Are there any more rpms I should install?
>  

php-msql-4.1.2-7 is only the mysql connectivity.

you also need:
php-4.1.2-7

and if you plan to compile anything against php:
php-devel-4.1.2-7

also, consider Red Hat 8, it was released today, it uses php4.2.2 and 
apache 2.0.40 right out of the box, properly configured

hope this helps

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Eric Persson | 1 Oct 09:26 2002

Re: Whats happening on rewrite

Boyle Owen wrote:
> Switch on RewriteLog (see docs for details) then check the log while you make hits from IE. Then you can see
what is been rewritten..

I tried this, but unfortunateley I cant see any differences in the 
logfiles from IE and Mozilla. The difference is that it works in mozilla 
but it does not work in IE. So there must be a bug in IE I guess, but a 
workaround would be great.

Any hints?

Best reagards,
	Eric Persson

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Boyle Owen | 1 Oct 09:42 2002

RE: Whats happening on rewrite

How are you using mod_rewrite? If you use the [R] flag, mod_rewrite sends a redirect to the client to the new
URL. This has the advantage that the URL in the browser location bar is updated - this may be what you want.
However, this might screw up IE...

If you are not using the [R] flag, then all the rewriting is done on the server side and the browser should be
none the wiser - hence shouldn't complain...

Post an extract from your rewrite log showing a full transaction and post a copy of your rewrite rules again
(I've lost the original post) and I'll look again.

>-----Original Message-----
>From: Eric Persson [mailto:eric <at> persson.tm]
>Sent: Dienstag, 1. Oktober 2002 09:26
>To: users <at> httpd.apache.org
>Subject: Re: [users <at> httpd] Whats happening on rewrite
>
>
>Boyle Owen wrote:
>> Switch on RewriteLog (see docs for details) then check the 
>log while you make hits from IE. Then you can see what is been 
>rewritten..
>
>I tried this, but unfortunateley I cant see any differences in the 
>logfiles from IE and Mozilla. The difference is that it works 
>in mozilla 
>but it does not work in IE. So there must be a bug in IE I 
>guess, but a 
>workaround would be great.
>
>Any hints?
>
>Best reagards,
>	Eric Persson
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
>   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
>For additional commands, e-mail: users-help <at> httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

i.t | 1 Oct 10:36 2002
Picon

Re: Issues with Apache 2 mod_auth_dbm w/Berkeley DB and SSL CRLs

msg Montag, 30. September 2002 19:20 by James J. Lippard:
> /usr/libexec/ld.so: Undefined symbol "_db_open" called from
> httpd:/usr/local/a pache2/lib/libaprutil-0.so.9.2 at 0x401aa328
>
> So somehow the Berkeley db library is not properly being linked.
>
> When I posted this to comp.infosystems.www.servers.unix, I got an
> emailed reply from another individual who has seen the same or a
> similar issue.

well - with the same ./configure I'll get after make is successfully 
processing sdbm:
***
»/opt/httpd-2.0.42/srclib/apr-util/dbm«
/bin/sh /opt/httpd-2.0.42/srclib/apr/libtool --silent --mode=compile gcc -g 
-O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   
-I/opt/httpd-2.0.42/srclib/apr-util/include 
-I/opt/httpd-2.0.42/srclib/apr-util/include/private  
-I/opt/httpd-2.0.42/srclib/apr/include  -I/usr/local/lib/include 
-I/opt/httpd-2.0.42/srclib/apr-util/xml/expat/lib  -c apr_dbm.c && touch 
apr_dbm.lo
/bin/sh /opt/httpd-2.0.42/srclib/apr/libtool --silent --mode=compile gcc -g 
-O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   
-I/opt/httpd-2.0.42/srclib/apr-util/include 
-I/opt/httpd-2.0.42/srclib/apr-util/include/private  
-I/opt/httpd-2.0.42/srclib/apr/include  -I/usr/local/lib/include 
-I/opt/httpd-2.0.42/srclib/apr-util/xml/expat/lib  -c apr_dbm_berkeleydb.c && 
touch apr_dbm_berkeleydb.lo
apr_dbm_berkeleydb.c: In function `vt_db_open':
apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function from 
incompatible pointer type
apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function makes 
pointer from integer without a cast
apr_dbm_berkeleydb.c:200: too few arguments to function
***
newest Berkeley DB from sleepycat is installed; I've general problems with 
apr-util compiling a static build with 2.0.42 and 2.0.43dev.
I've just running a Apache/2.0.43-dev with
 mod_authn_dbm.c und  mod_authz_dbm.c etc. as DSO but can't bring it to work 
as a static build.
Well - for me it's only testing, if you urgently need a solution you should 
consider to subscribe to different dev and testers lists, see
http://httpd.apache.org/lists.html

i.t
--

-- 
 . ___
 |  |  Irmund     Thum
 |  |  

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org


Gmane