You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ramakrishna Kuppa <ra...@intruvert.com> on 2002/10/01 01:25:36 UTC
[users@httpd] 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
Re: [users@httpd] Apache on RedHat 7.3
Posted by Robert Andersson <ro...@profundis.nu>.
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache on RedHat 7.3
Posted by Phillip Compton <pc...@proteinmedia.com>.
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache on RedHat 7.3
Posted by Gilles Gros <gi...@whitepj.com>.
Apache.exe generates errors and is closed by Windows.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@optusnet.com.au]
Sent: Monday, September 30, 2002 11:08 PM
To: users@httpd.apache.org
Subject: Re: [users@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 -----
From: Robert Andersson
To: users@httpd.apache.org
Sent: Tuesday, October 01, 2002 3:37 PM
Subject: Re: [users@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
To: users@httpd.apache.org
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users@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
Re: [users@httpd] Apache on RedHat 7.3
Posted by Peter <pg...@optusnet.com.au>.
Apache.exe generates errors and is closed by Windows.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 -----
From: Robert Andersson
To: users@httpd.apache.org
Sent: Tuesday, October 01, 2002 3:37 PM
Subject: Re: [users@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
To: users@httpd.apache.org
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users@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
Re: [users@httpd] Apache on RedHat 7.3
Posted by Robert Andersson <ro...@profundis.nu>.
Apache.exe generates errors and is closed by Windows.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
To: users@httpd.apache.org
Sent: Tuesday, October 01, 2002 7:31 AM
Subject: [users@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
[users@httpd] Apache on RedHat 7.3
Posted by Peter <pg...@optusnet.com.au>.
Apache.exe generates errors and is closed by Windows.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