How to install apxs module on apache 2.4.6

41,634

Solution 1

to install apxs on ubuntu, install theapache2-dev package.

sudo apt install apache2-dev

Solution 2

To install apxs on Oracle Linux run:

yum install httpd-devel

Solution 3

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

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

Share:
41,634
user26
Author by

user26

Updated on August 01, 2022

Comments

  • user26
    user26 almost 2 years

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

    i want to install apxs for compiling 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 that

  • Admin
    Admin over 6 years
    APXS is not APC. They aren't even related. (APXS is a tool used to build and install Apache modules, and APC is a PHP extension.)
  • geisterfurz007
    geisterfurz007 over 6 years
    A link to a solution is welcome, but please ensure your answer is useful without it: add context around the link so your fellow users will have some idea what it is and why it’s there, then quote the most relevant part of the page you're linking to in case the target page is unavailable. Answers that are little more than a link may be deleted.
  • Isin Altinkaya
    Isin Altinkaya almost 5 years
    sudo apt install apache2-dev for newer versions