Need to install libapache2-mod-php onto apache2.2.22

I have to launch old project using apache 2.2.22. (NOT 2.4.x) So I downgraded from 2.4 to 2.2 and this seems to be OK. But then I have to install libapache so I use:

apt-get install libapache2-mod-php5

and this results

The following packages have unmet dependencies:
libapache2-mod-php: Depends: apache2-api-20120211
Depends: apache2 (>=2.4)

Does somebody know how to install libapache2-mod-php to the old apache 2.2.22?

5

1 Answer

Had to set priority of repositories for php* and libapache2-mod-php. Solved.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like