How to install apxs module on apache 2.4.6

I just used apt-get update , and my apache has been updated to 2.4.6 .

I want to install apxs to compile modules and I get this error

 The following packages have unmet dependencies: apache2-prefork-dev : Depends: apache2.2-common (= 2.2.22-1ubuntu1.4) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

How can i fix it

+7
linux ubuntu apache apache2
source share
4 answers

To install apxs on ubuntu, install the apache2-dev package.

 sudo apt-get install apache2-dev 
+18
source share

To install apxs on Oracle Linux, run:

yum install httpd-devel

+1
source share

You cannot install httpd-devel on cpanel. You will need to install ea-apache24-devel

https://forums.cpanel.net/threads/install-httpd-devel.594631/

-one
source share

APC is currently incompatible with the version. Try adding your own operation cache code to it.

-2
source share

All Articles