Install Apache 2.2 on Ubuntu 14.04.1 LTS - apache

I want to install apache 2.2 on Ubuntu 14.04. I have checked available versions using sudo apt-cache madison ^apache2 but only 2.4.x versions are available.
I want to do and get this done by Anything from adding new repos etc.
I need apache 2.2 for testing some issues, So can not go with Apache 2.4.

Related

Check the version of Apache web server on Suse Linux ES 12

does anyone know how I could check the version of apache2 web server on Linux Suse Enterprise Server 12?
I tried httpd -v and apache2 -v but those options don't work on this version of linux.
I would like to update the apache server, but unfortunately I have not worked with this version of linux until now.
Thanks in advance for your help.
Just check the installed rpm package by
rpm -q -i apache2
and also check the changelog of the package by
rpm -q --changelog apache2
because current security fixes are backported to the originally released version.

How to install specific apache version?

I developed one module for apache 2.4 server, I want to test my module with different apache versions.
I installed apache2.4 using following command.
apt-get -y install apache2
Can I install previous apache versions using apt-get?
You can install the package name with version number
apt-get install <packagename>=<complete version name>
The below command will show the list of versions
apt-cache showpkg <pachagename>

How to setup php-fpm on CentOS 7?

There are a lot of guides out there about setup php-fpm for Apache on CentOS 5x or 6x but none of them are working on Centos 7. I searched for days but can't find any solution.
yum install php-fpm
This command succesfully working.
But then i stuck with this line:
yum install mod_fastcgi
The error is "There is no package as mod_fastcgi"
Is there any mod_fastcgi module compatible with CentOS 7? If so, how can i complete php-fpm setup? Please guide me.
My server have some trouble about memory usage. So i have to optimize Apache. Here is my "top" result.
Deploy PHP with FastCGI
If you are using PHP code with your application, you will need to implement “PHP-FastCGI” in order to allow Nginx to properly handle and parse PHP code. You can install this via YUM from the EPEL repository that was previously installed:
yum install php-cli php spawn-fcgi

How upgrade Apache from 2.2.22 to 2.4 on Debian 7 64bit?

It's possible to upgrade Apache from 2.2.22 to 2.4 on Debian 7 64bit?
I have installed Debian 7 + Apache days ago and it installed Apache 2.2.22..isn't it an old and insecure version?
How can I upgrade to Apache 2.4?
Apache 2.2.22 is the stable distribution for Debian 7
You will need to compile Apache from source code. Debian doesn't automatically update its software in stable (or wheezy); there's a reason why it's the stable distribution but it is possible.
Another way:
deb http://ftp.de.debian.org/debian sid main
onto /etc/apt/sources.list
apt-get update
apt-get -t sid install apache2

update apache 2.2 to apache 2.4 on centos 6.4 - 64bit [duplicate]

This question already has answers here:
Upgrade Apache 2.2 -> 2.4
(5 answers)
Closed 8 years ago.
Hi please tell me process for update apache 2.2 to 2.4
I command yum install httpd and install it 2.2
OS- centos 6.4 Final to 64 bits
The base install of CentOS is built with the idea of stability in mind over getting the latest version. See http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7
For this reason, Apache 2.4 is not available via the standard yum repositories.
However, you can do a manual install (which I try to avoid), or use a repository such as the one created by Jan Kaluza that allows you to install an instance of Apache 2.4 . For more information, see http://developerblog.redhat.com/2013/10/24/apache-httpd-2-4-on-red-hat-enterprise-linux-6/
There may be some other good repositories that you could use to get a clean version of 2.4 installed but this is what I know about.
Do yum list httpd* from the output select the version 2.4 archive and install it using yum install NAME