You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bob Cohen <bc...@bpecreative.com> on 2004/06/05 18:36:37 UTC

[users@httpd] Upgrading from 1.3x to 2.x

I've looked at the documentation on the apache web site.  But there
doesn't seem to be a cook-book-style how-to document, and being a
novice, sys admin, I require such documents.  Will I have to reconfigure
EVERYTHING as if setting up an installation from scratch?  Or is there
something available that will look at my current 1.3x set up and take
the steps necessary to insure a smooth transition?  In the alternative,
is it possible to run both 1.3x and 2.x simultaneously so that I can
make sure that everything is working before going live?

--Bob


---------------------------------------------------------------------
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] Upgrading from 1.3x to 2.x

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 6 Jun 2004, Bob Cohen wrote:

> Thank you Joshua and Jim.  One last question.  Will I have to recompile
> my PHP & MySQL?

PHP, certainly.  As I mentioned, all modules need to be upgraded to be
used in 2.0.  The module API has changed.

You are probably using MySQL via PHP, and not directly through apache, so
whether you need to recompile that depends on the process you need to
recompile PHP.  (In other words, I don't know.)

Joshua.

---------------------------------------------------------------------
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] Upgrading from 1.3x to 2.x

Posted by Patrick Boutilier <bo...@ednet.ns.ca>.

Bob Cohen wrote:
> Thank you Joshua and Jim.  One last question.  Will I have to recompile
> my PHP & MySQL?

You will have to compile PHP as a DSO module for Apache 2. You can't 
build PHP directly into Apache 2 like you could with Apache 1.

> 
> Bob
> 
> 
> ---------------------------------------------------------------------
> 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
> 

---------------------------------------------------------------------
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] Upgrading from 1.3x to 2.x

Posted by Bob Cohen <bc...@bpecreative.com>.
Will the questions ever end???  Before running the compile, I need to
make sure that all the necessary modules for my installation are
accounted for.  I did a httpd -l and discovered the following modules
compiled in my 1.3.x version:

  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_setenvif.c
  mod_php4.c

My recollection is that some of are there by default.  I remember
explicitly adding the php4 module but it's been a while.  Also, I want
to add https and DSO support so that means including the mod_ssl and
mod_so, right?  Are there other modules worthwhile to add that I haven't
thought about?

Will this configure statement get me the module set specified above
along with rewrite and spelling?

./configure --prefix=/usr/local/apache2 \
> --enable-rewrite=shared \
> --enable-spelling=shared \
> --enable-mod_php4
> --enable-mod_ssl

Thank you?

--Bob


---------------------------------------------------------------------
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] Upgrading from 1.3x to 2.x

Posted by Bob Cohen <bc...@bpecreative.com>.
Thank you Joshua and Jim.  One last question.  Will I have to recompile
my PHP & MySQL?

Bob


---------------------------------------------------------------------
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] Upgrading from 1.3x to 2.x

Posted by Joshua Slive <jo...@slive.ca>.


On Sat, 5 Jun 2004, Bob Cohen wrote:

> I've looked at the documentation on the apache web site.  But there
> doesn't seem to be a cook-book-style how-to document, and being a
> novice, sys admin, I require such documents.  Will I have to reconfigure
> EVERYTHING as if setting up an installation from scratch?  Or is there
> something available that will look at my current 1.3x set up and take
> the steps necessary to insure a smooth transition?

You can try here:
http://www.covalent.net/resource/Wc431569fea136.htm
(I've never tried these Covalent docs/tools myself, but they say that they
help with this.)

In general, I can suggest a couple things:
- It is probably easiest to start with the new default config file from
apache 2, and then make the adjustments you need to get back to the
configuration you were using in 1.3.  The config format is almost exactly
the same, but there are enough tiny changes to mean it is probably easier
starting from scratch and copying over.  You've probably already seen this
doc:
http://httpd.apache.org/docs-2.0/upgrading.html
which lists most, but not all, config changes.
- The trickiest thing in the upgrade is making sure you have all the
modules you need.  All modules need to be upgraded when you make the
switch.

Joshua.

---------------------------------------------------------------------
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