- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- check the apache version running.
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-17-2003 08:08 PM
тАО07-17-2003 08:08 PM
Can anyone tell me how I can find out the version of apache running.Also is it difficult to upgrade the apache ( any hints ).
Thanks, I would appreciate any information.
Mille
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 08:14 PM
тАО07-17-2003 08:14 PM
Re: check the apache version running.
Locate to the bin directory that you install the apache, e.g. /opt/hpws/apache/bin, then type "./apachectl -v" and it will show your the version just like the follows,
> ./bin/apachectl -v
Server version: HP-UX_Apache-based_Web_Server/2.0.46
Server built: Jun 26 2003 04:41:28
I don't think it's difficult to upgrade. In my practice, I prefer uninstall the apache and install the new version again. But, of course, you have to backup the httpd.conf file so that you can keep the same setting in the new apache.
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 08:17 PM
тАО07-17-2003 08:17 PM
SolutionIf you isntalled off depot.
swlist -l product | grep -i apache
With the browser.
http://hostname/page_that_is_not_there
Displays the version of the web server.
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
тАО07-17-2003 08:18 PM
тАО07-17-2003 08:18 PM
Re: check the apache version running.
Use the following command
# httpd -v
You might need to give the full path to httpd
eg /opt/apache/bin/httpd -v.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 08:20 PM
тАО07-17-2003 08:20 PM
Re: check the apache version running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 08:23 PM
тАО07-17-2003 08:23 PM
Re: check the apache version running.
for lover versions best to use
httpd -v
even if its compiled apache or swinstalled apache httpd -v will help
Also upgrading is not difficult, backup your root doc default ~apache/htdocs and ~apache/conf
uninstall current version and install new versions. Check the path in your webpages coz if you upgrade to 2.X using the swinstall it will take /opt/apache2 as default path.
Use the source code and compile your won using gcc there you can prefix the path.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 03:23 AM
тАО07-18-2003 03:23 AM
Re: check the apache version running.
Create a file in the root html directory called phpinfo.php containing the following code.
phpinfo();
?>
This will display alot of information about your configuration including the Apache version, Release, API Version, Hostname:Port etc.
Also Apache Environment Details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 09:27 AM
тАО07-18-2003 09:27 AM
Re: check the apache version running.
in your browser's Location box.
http://myserver.mydomain.com/a_bad_url
You'll get a message like:
Not Found
The requested URL /a_bad_url was not found on this server.
Apache/1.3.27 Server at myserver.mydomain.com Port 80
I don't believe there's an Apache "upgrade" in the sense of
"upgrade" vs. "cold install". You normally just remove the
old version and "cold install" the new version. Installing
Apache 1.x is quite easy. I installed Apache 2.x a while
back but went back to 1.x. Perhaps 2.x has improved
since then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 09:30 AM
тАО07-18-2003 09:30 AM
Re: check the apache version running.
Apache on HP-UX, Squid on HP-UX, Bind on HP-UX, DNS on HP-UX, and FTP on HP-UX. Ahhh, what a day.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 09:46 AM
тАО07-18-2003 09:46 AM
Re: check the apache version running.
Do the following:
cd apache/bin
./httpd -v
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 11:08 PM
тАО07-22-2003 11:08 PM
Re: check the apache version running.
Many thanks for all these responses, they are much appreciated - I can now determine that my "apachectl -v" ( which I did not mention ) did not work as I was on a pre 2.0 version namely 1.3.9 .
Cheers and good luck,
Regards,
Mille