- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help with Upgrade Apache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:08 AM
08-06-2003 07:08 AM
I'm trying to upgrade Apache from version 1.3.12 to 1.3.27. Is it better to uninstall 1.3.12 first then install 1.3.27?
How do you uninstall?
Thanks in advance!!
-Lory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:17 AM
08-06-2003 07:17 AM
Re: Help with Upgrade Apache
make a copy of httpd.conf and httpd.conf.orig
If you installed of hp depots just swinstall over it.
swinstall -s /path_to_apache_depot \*
I do not believe if you compiled it yourself you need to remove the old version either.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:29 AM
08-06-2003 07:29 AM
Re: Help with Upgrade Apache
I have actually installed Apache version 1.3.12 from source with PHP. So as you said, all I need to do is copy the config files and just install another version and recompile PHP?
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:33 AM
08-06-2003 07:33 AM
Re: Help with Upgrade Apache
there shouldn't be big differences between 1.3.12 and 1.3.27 in the conf file.
I made some upgrade from 1.3.14 to 1.3.19 and later from 1.3.19 to 1.3.27 without changing httpd.conf.
I built it from sources, and to go very quickly, after configure / make, i didn't made the make install.
I stopped apache, copy the httpd binary to httpd.sav (never mind !) , copy the new binary (built from sources) to the httpd production location, start apache.
In fact this is just 10 seconds (time for the 2 cp) without internet, which is
few. Of course by this way, other binaries are not installed (httppasswd, modules....) but if you build a static apache binary, you have no problems..
If you are using the depot , I don't know !
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:38 AM
08-06-2003 07:38 AM
Re: Help with Upgrade Apache
In this case you can follow the way I used .
Did you compile PHP as a module or statically ?
If it's static, then this is exactly what I wrote.
If it's dynamical, you will have to copy also the mod_php.so to the binary directory before starting Apache.
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:39 AM
08-06-2003 07:39 AM
Re: Help with Upgrade Apache
Here you'll find all you need. You just have to stop the previous version before an install, you do not need to remove it.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9415AA132702&oper=install
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:41 AM
08-06-2003 07:41 AM
Re: Help with Upgrade Apache
I am sorry, I am really new to this. How can you tell if you installed it statically or as a module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:55 AM
08-06-2003 07:55 AM
Re: Help with Upgrade Apache
Here's the output from one of my host :
Compiled-in modules:
http_core.c
mod_so.c
mod_php4.c
which mean that the module loader is included (mod_so), but php4 is built-in , which means that it's static.
if you have just mod_so.c, without mod_php4.c, then it's dynamic.
modules are installed in
binaries (httpd) are in
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 09:09 AM
08-06-2003 09:09 AM
Re: Help with Upgrade Apache
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
mod_perl.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 01:26 PM
08-06-2003 01:26 PM
Re: Help with Upgrade Apache
httpd -v
it says it is Apache version 1.3.27
However, when I use info().php and under the Apache configuration, it still says Apache is version 1.3.12. Why is PHP not recognizing Apache has been upgraded?
I have recompiled both the apache and php source code.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 12:20 AM
08-07-2003 12:20 AM
SolutionI already get such a pb.
the best thing to do in your case is to start from scratch...
I.E.
remove your apache source tree (Hope you kept the downloaded tar file).
remove your php source tree (hope you kept the downloaded tar file).
untar the Apache source tree,
untar the PHP source tree,
follow the procedure to build Apache+PHP in the INSTALL text file from the PHP source tree (the static way !).
If i remember the procedure is :
in APAche sources : ./configure
Then in PHP sources :
./configure
make
make install
YOU cd now in the php source tree :
./configure
make
Don't run at this level the make install.
You can run httpd -l to see built-in modules, and httpd -v to see version.
copy your httpd to the binary place,
and run your phpinfo() script.
You should have the proper page.
(I already had such a trouble, and a "make clean" in php sources and apache sources wasn't enough, i had to rebuild from scratch. And I don't know why !).
hth
Benoit