PHP5 unmet dependencies when upgrading Announcing the arrival of Valued Associate #679: Cesar...

How does a spellshard spellbook work?

What does Turing mean by this statement?

Sentence with dass with three Verbs (One modal and two connected with zu)

What would you call this weird metallic apparatus that allows you to lift people?

How to write capital alpha?

Why does 14 CFR have skipped subparts in my ASA 2019 FAR/AIM book?

1-probability to calculate two events in a row

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

What makes a man succeed?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

AppleTVs create a chatty alternate WiFi network

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

What is an "asse" in Elizabethan English?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Electrolysis of water: Which equations to use? (IB Chem)

Random body shuffle every night—can we still function?

What is the meaning of 'breadth' in breadth first search?

Misunderstanding of Sylow theory

Drawing spherical mirrors

What is the difference between a "ranged attack" and a "ranged weapon attack"?

macOS: Name for app shortcut screen found by pinching with thumb and three fingers

What does this say in Elvish?

What initially awakened the Balrog?

Why are vacuum tubes still used in amateur radios?



PHP5 unmet dependencies when upgrading



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!PHP not being parsed in apache2, php module is installed and enabledHow do I add php support to apache2 without breaking my current installation?PHP5 package on Linux Mint Debian wont install properlySegmentation Fault with PHP5 on Solaris 10Unable to install python2.7-dev due to unmet dependencies Ubuntu 12.04Apt-get error when upgrading mysql from running out of roomUbuntu 12.04 unmet dependency errorunmet dependencies (held broken packages) can't install php5-gdDebian apache2 is not executing php scripts, instead it's showing the sourceUnable to locate package php





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Trying to upgrade PHP from 5.3 to 5.6 using the following:



sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get install php5-common


When I try this, I run into this error and not sure how to resolve:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libapache2-mod-php5 : Depends: apache2-api-20120211
Depends: apache2 (>= 2.4)
Depends: php5-json
php5-cli : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
php5-common : Breaks: php5-xdebug (< 2.2.2) but 2.1.0-1 is to be installed
php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
php5-gd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
php5-intl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
php5-mysqlnd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


If I try to precede the upgrade by doing sudo apt-get install python-software-properties then I get this error:



The following packages have unmet dependencies:
libapache2-mod-php5 : Depends: apache2-api-20120211
Depends: apache2 (>= 2.4)
Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


If I try sudo apt-get apache2, I get this error:



The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
Depends: apache2-utils (>= 2.4)
Depends: apache2-data (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
Conflicts: apache2.2-bin but 2.2.22-1ubuntu1.10 is to be installed
Conflicts: apache2.2-common but 2.2.22-1ubuntu1.10 is to be installed
libapache2-mod-php5 : Depends: apache2-api-20120211
Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


I tried doing sudo apt-get -f install as suggested, but does not resolve problem. Instead, I get this:



The following extra packages will be installed:
apache2 apache2-bin apache2-data apache2-utils dh-php5 libedit2 libgd3 libmemcached11 libvpx1 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-json php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug pkg-php-tools
Suggested packages:
www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom libgd-tools php5-user-cache dh-make
Recommended packages:
php5-readline
The following packages will be REMOVED:
apache2-mpm-prefork apache2.2-bin apache2.2-common
The following NEW packages will be installed:
apache2-bin apache2-data dh-php5 libgd3 libmemcached11 libvpx1 php5-json pkg-php-tools
The following packages will be upgraded:
apache2 apache2-utils libedit2 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug
13 upgraded, 8 newly installed, 3 to remove and 10 not upgraded.
8 not fully installed or removed.
Need to get 0 B/7,060 kB of archives.
After this operation, 3,685 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 149017 files and directories currently installed.)
Unpacking apache2-bin (from .../apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2.2-common 2.2.22-1ubuntu1.10
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Also tried doing just sudo apt-get install php5 but get essentially the same error.



What is the correct way to resolve these dependencies issues?










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    Trying to upgrade PHP from 5.3 to 5.6 using the following:



    sudo add-apt-repository ppa:ondrej/php5-5.6
    sudo apt-get update
    sudo apt-get install php5-common


    When I try this, I run into this error and not sure how to resolve:



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libapache2-mod-php5 : Depends: apache2-api-20120211
    Depends: apache2 (>= 2.4)
    Depends: php5-json
    php5-cli : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
    php5-common : Breaks: php5-xdebug (< 2.2.2) but 2.1.0-1 is to be installed
    php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
    php5-gd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
    php5-intl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
    php5-mysqlnd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    If I try to precede the upgrade by doing sudo apt-get install python-software-properties then I get this error:



    The following packages have unmet dependencies:
    libapache2-mod-php5 : Depends: apache2-api-20120211
    Depends: apache2 (>= 2.4)
    Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    If I try sudo apt-get apache2, I get this error:



    The following packages have unmet dependencies:
    apache2 : Depends: apache2-bin (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
    Depends: apache2-utils (>= 2.4)
    Depends: apache2-data (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
    Conflicts: apache2.2-bin but 2.2.22-1ubuntu1.10 is to be installed
    Conflicts: apache2.2-common but 2.2.22-1ubuntu1.10 is to be installed
    libapache2-mod-php5 : Depends: apache2-api-20120211
    Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    I tried doing sudo apt-get -f install as suggested, but does not resolve problem. Instead, I get this:



    The following extra packages will be installed:
    apache2 apache2-bin apache2-data apache2-utils dh-php5 libedit2 libgd3 libmemcached11 libvpx1 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-json php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug pkg-php-tools
    Suggested packages:
    www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom libgd-tools php5-user-cache dh-make
    Recommended packages:
    php5-readline
    The following packages will be REMOVED:
    apache2-mpm-prefork apache2.2-bin apache2.2-common
    The following NEW packages will be installed:
    apache2-bin apache2-data dh-php5 libgd3 libmemcached11 libvpx1 php5-json pkg-php-tools
    The following packages will be upgraded:
    apache2 apache2-utils libedit2 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug
    13 upgraded, 8 newly installed, 3 to remove and 10 not upgraded.
    8 not fully installed or removed.
    Need to get 0 B/7,060 kB of archives.
    After this operation, 3,685 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 149017 files and directories currently installed.)
    Unpacking apache2-bin (from .../apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb (--unpack):
    trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2.2-common 2.2.22-1ubuntu1.10
    dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
    dpkg-deb: error: subprocess <decompress> returned error exit status 2
    Processing triggers for man-db ...
    Errors were encountered while processing:
    /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Also tried doing just sudo apt-get install php5 but get essentially the same error.



    What is the correct way to resolve these dependencies issues?










    share|improve this question
















    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      Trying to upgrade PHP from 5.3 to 5.6 using the following:



      sudo add-apt-repository ppa:ondrej/php5-5.6
      sudo apt-get update
      sudo apt-get install php5-common


      When I try this, I run into this error and not sure how to resolve:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: apache2 (>= 2.4)
      Depends: php5-json
      php5-cli : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-common : Breaks: php5-xdebug (< 2.2.2) but 2.1.0-1 is to be installed
      php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-gd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-intl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-mysqlnd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      If I try to precede the upgrade by doing sudo apt-get install python-software-properties then I get this error:



      The following packages have unmet dependencies:
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: apache2 (>= 2.4)
      Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      If I try sudo apt-get apache2, I get this error:



      The following packages have unmet dependencies:
      apache2 : Depends: apache2-bin (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
      Depends: apache2-utils (>= 2.4)
      Depends: apache2-data (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
      Conflicts: apache2.2-bin but 2.2.22-1ubuntu1.10 is to be installed
      Conflicts: apache2.2-common but 2.2.22-1ubuntu1.10 is to be installed
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      I tried doing sudo apt-get -f install as suggested, but does not resolve problem. Instead, I get this:



      The following extra packages will be installed:
      apache2 apache2-bin apache2-data apache2-utils dh-php5 libedit2 libgd3 libmemcached11 libvpx1 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-json php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug pkg-php-tools
      Suggested packages:
      www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom libgd-tools php5-user-cache dh-make
      Recommended packages:
      php5-readline
      The following packages will be REMOVED:
      apache2-mpm-prefork apache2.2-bin apache2.2-common
      The following NEW packages will be installed:
      apache2-bin apache2-data dh-php5 libgd3 libmemcached11 libvpx1 php5-json pkg-php-tools
      The following packages will be upgraded:
      apache2 apache2-utils libedit2 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug
      13 upgraded, 8 newly installed, 3 to remove and 10 not upgraded.
      8 not fully installed or removed.
      Need to get 0 B/7,060 kB of archives.
      After this operation, 3,685 kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      (Reading database ... 149017 files and directories currently installed.)
      Unpacking apache2-bin (from .../apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb (--unpack):
      trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2.2-common 2.2.22-1ubuntu1.10
      dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
      dpkg-deb: error: subprocess <decompress> returned error exit status 2
      Processing triggers for man-db ...
      Errors were encountered while processing:
      /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Also tried doing just sudo apt-get install php5 but get essentially the same error.



      What is the correct way to resolve these dependencies issues?










      share|improve this question
















      Trying to upgrade PHP from 5.3 to 5.6 using the following:



      sudo add-apt-repository ppa:ondrej/php5-5.6
      sudo apt-get update
      sudo apt-get install php5-common


      When I try this, I run into this error and not sure how to resolve:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: apache2 (>= 2.4)
      Depends: php5-json
      php5-cli : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-common : Breaks: php5-xdebug (< 2.2.2) but 2.1.0-1 is to be installed
      php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-gd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-intl : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      php5-mysqlnd : Depends: php5-common (= 5.3.10-1ubuntu3.21) but 5.6.18+dfsg-1+deb.sury.org~precise+1 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      If I try to precede the upgrade by doing sudo apt-get install python-software-properties then I get this error:



      The following packages have unmet dependencies:
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: apache2 (>= 2.4)
      Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      If I try sudo apt-get apache2, I get this error:



      The following packages have unmet dependencies:
      apache2 : Depends: apache2-bin (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
      Depends: apache2-utils (>= 2.4)
      Depends: apache2-data (= 2.4.16-4+deb.sury.org~precise+4) but it is not going to be installed
      Conflicts: apache2.2-bin but 2.2.22-1ubuntu1.10 is to be installed
      Conflicts: apache2.2-common but 2.2.22-1ubuntu1.10 is to be installed
      libapache2-mod-php5 : Depends: apache2-api-20120211
      Depends: php5-common (= 5.6.18+dfsg-1+deb.sury.org~precise+1) but 5.3.10-1ubuntu3.21 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      I tried doing sudo apt-get -f install as suggested, but does not resolve problem. Instead, I get this:



      The following extra packages will be installed:
      apache2 apache2-bin apache2-data apache2-utils dh-php5 libedit2 libgd3 libmemcached11 libvpx1 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-json php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug pkg-php-tools
      Suggested packages:
      www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom libgd-tools php5-user-cache dh-make
      Recommended packages:
      php5-readline
      The following packages will be REMOVED:
      apache2-mpm-prefork apache2.2-bin apache2.2-common
      The following NEW packages will be installed:
      apache2-bin apache2-data dh-php5 libgd3 libmemcached11 libvpx1 php5-json pkg-php-tools
      The following packages will be upgraded:
      apache2 apache2-utils libedit2 php5-cli php5-common php5-curl php5-dev php5-gd php5-intl php5-mcrypt php5-memcached php5-mysqlnd php5-xdebug
      13 upgraded, 8 newly installed, 3 to remove and 10 not upgraded.
      8 not fully installed or removed.
      Need to get 0 B/7,060 kB of archives.
      After this operation, 3,685 kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      (Reading database ... 149017 files and directories currently installed.)
      Unpacking apache2-bin (from .../apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb (--unpack):
      trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2.2-common 2.2.22-1ubuntu1.10
      dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
      dpkg-deb: error: subprocess <decompress> returned error exit status 2
      Processing triggers for man-db ...
      Errors were encountered while processing:
      /var/cache/apt/archives/apache2-bin_2.4.16-4+deb.sury.org~precise+4_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Also tried doing just sudo apt-get install php5 but get essentially the same error.



      What is the correct way to resolve these dependencies issues?







      php apache-2.4 ubuntu-12.04






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 14 '16 at 20:12







      eComEvo

















      asked Feb 14 '16 at 3:58









      eComEvoeComEvo

      45611227




      45611227





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          You must install too the Apache server in 2.4 version minimum. I don't think the PPA will provide you this package. So it break the dependancy. Then you will be able to install the php-common package.






          share|improve this answer
























          • Tried to install latest Apache server, but more conflicts. See edit to OP.

            – eComEvo
            Feb 14 '16 at 19:37











          • Could you remove all the apache packages before installing the new version ?

            – Dom
            Feb 15 '16 at 7:35



















          0














          You can Give try with:



           sudo apt-get update && sudo apt-get install python-software-properties


          Then Add by typing:



           sudo add-apt-repository ppa:ondrej/php5-5.6


          Then update by typing:



           sudo apt-get update && sudo apt-get dist-upgrade


          Then install by typing:



           sudo apt-get install php5


          Check PHP Verision:



           php --version


          Still getting please error please try :



          Download libapache2-mod-php5 http://packages.ubuntu.com/trusty/libapache2-mod-php5



          Architecture    Package Size    Installed Size  Files

          amd64 2,158.6 kB 9,669.0 kB [list of files]

          i386 2,093.8 kB 9,027.0 kB [list of files]


          Install by Typing:



          sudo dpkg -i /path/to/deb/file.deb  

          sudo apt-get install -f


          Enjoy!






          share|improve this answer


























          • This doesn't work. Please see my latest edits to OP.

            – eComEvo
            Feb 14 '16 at 4:53












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f756078%2fphp5-unmet-dependencies-when-upgrading%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You must install too the Apache server in 2.4 version minimum. I don't think the PPA will provide you this package. So it break the dependancy. Then you will be able to install the php-common package.






          share|improve this answer
























          • Tried to install latest Apache server, but more conflicts. See edit to OP.

            – eComEvo
            Feb 14 '16 at 19:37











          • Could you remove all the apache packages before installing the new version ?

            – Dom
            Feb 15 '16 at 7:35
















          0














          You must install too the Apache server in 2.4 version minimum. I don't think the PPA will provide you this package. So it break the dependancy. Then you will be able to install the php-common package.






          share|improve this answer
























          • Tried to install latest Apache server, but more conflicts. See edit to OP.

            – eComEvo
            Feb 14 '16 at 19:37











          • Could you remove all the apache packages before installing the new version ?

            – Dom
            Feb 15 '16 at 7:35














          0












          0








          0







          You must install too the Apache server in 2.4 version minimum. I don't think the PPA will provide you this package. So it break the dependancy. Then you will be able to install the php-common package.






          share|improve this answer













          You must install too the Apache server in 2.4 version minimum. I don't think the PPA will provide you this package. So it break the dependancy. Then you will be able to install the php-common package.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 14 '16 at 8:29









          DomDom

          5,66311422




          5,66311422













          • Tried to install latest Apache server, but more conflicts. See edit to OP.

            – eComEvo
            Feb 14 '16 at 19:37











          • Could you remove all the apache packages before installing the new version ?

            – Dom
            Feb 15 '16 at 7:35



















          • Tried to install latest Apache server, but more conflicts. See edit to OP.

            – eComEvo
            Feb 14 '16 at 19:37











          • Could you remove all the apache packages before installing the new version ?

            – Dom
            Feb 15 '16 at 7:35

















          Tried to install latest Apache server, but more conflicts. See edit to OP.

          – eComEvo
          Feb 14 '16 at 19:37





          Tried to install latest Apache server, but more conflicts. See edit to OP.

          – eComEvo
          Feb 14 '16 at 19:37













          Could you remove all the apache packages before installing the new version ?

          – Dom
          Feb 15 '16 at 7:35





          Could you remove all the apache packages before installing the new version ?

          – Dom
          Feb 15 '16 at 7:35













          0














          You can Give try with:



           sudo apt-get update && sudo apt-get install python-software-properties


          Then Add by typing:



           sudo add-apt-repository ppa:ondrej/php5-5.6


          Then update by typing:



           sudo apt-get update && sudo apt-get dist-upgrade


          Then install by typing:



           sudo apt-get install php5


          Check PHP Verision:



           php --version


          Still getting please error please try :



          Download libapache2-mod-php5 http://packages.ubuntu.com/trusty/libapache2-mod-php5



          Architecture    Package Size    Installed Size  Files

          amd64 2,158.6 kB 9,669.0 kB [list of files]

          i386 2,093.8 kB 9,027.0 kB [list of files]


          Install by Typing:



          sudo dpkg -i /path/to/deb/file.deb  

          sudo apt-get install -f


          Enjoy!






          share|improve this answer


























          • This doesn't work. Please see my latest edits to OP.

            – eComEvo
            Feb 14 '16 at 4:53
















          0














          You can Give try with:



           sudo apt-get update && sudo apt-get install python-software-properties


          Then Add by typing:



           sudo add-apt-repository ppa:ondrej/php5-5.6


          Then update by typing:



           sudo apt-get update && sudo apt-get dist-upgrade


          Then install by typing:



           sudo apt-get install php5


          Check PHP Verision:



           php --version


          Still getting please error please try :



          Download libapache2-mod-php5 http://packages.ubuntu.com/trusty/libapache2-mod-php5



          Architecture    Package Size    Installed Size  Files

          amd64 2,158.6 kB 9,669.0 kB [list of files]

          i386 2,093.8 kB 9,027.0 kB [list of files]


          Install by Typing:



          sudo dpkg -i /path/to/deb/file.deb  

          sudo apt-get install -f


          Enjoy!






          share|improve this answer


























          • This doesn't work. Please see my latest edits to OP.

            – eComEvo
            Feb 14 '16 at 4:53














          0












          0








          0







          You can Give try with:



           sudo apt-get update && sudo apt-get install python-software-properties


          Then Add by typing:



           sudo add-apt-repository ppa:ondrej/php5-5.6


          Then update by typing:



           sudo apt-get update && sudo apt-get dist-upgrade


          Then install by typing:



           sudo apt-get install php5


          Check PHP Verision:



           php --version


          Still getting please error please try :



          Download libapache2-mod-php5 http://packages.ubuntu.com/trusty/libapache2-mod-php5



          Architecture    Package Size    Installed Size  Files

          amd64 2,158.6 kB 9,669.0 kB [list of files]

          i386 2,093.8 kB 9,027.0 kB [list of files]


          Install by Typing:



          sudo dpkg -i /path/to/deb/file.deb  

          sudo apt-get install -f


          Enjoy!






          share|improve this answer















          You can Give try with:



           sudo apt-get update && sudo apt-get install python-software-properties


          Then Add by typing:



           sudo add-apt-repository ppa:ondrej/php5-5.6


          Then update by typing:



           sudo apt-get update && sudo apt-get dist-upgrade


          Then install by typing:



           sudo apt-get install php5


          Check PHP Verision:



           php --version


          Still getting please error please try :



          Download libapache2-mod-php5 http://packages.ubuntu.com/trusty/libapache2-mod-php5



          Architecture    Package Size    Installed Size  Files

          amd64 2,158.6 kB 9,669.0 kB [list of files]

          i386 2,093.8 kB 9,027.0 kB [list of files]


          Install by Typing:



          sudo dpkg -i /path/to/deb/file.deb  

          sudo apt-get install -f


          Enjoy!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 14 '16 at 13:03

























          answered Feb 14 '16 at 4:50









          Ramesh ChandRamesh Chand

          216110




          216110













          • This doesn't work. Please see my latest edits to OP.

            – eComEvo
            Feb 14 '16 at 4:53



















          • This doesn't work. Please see my latest edits to OP.

            – eComEvo
            Feb 14 '16 at 4:53

















          This doesn't work. Please see my latest edits to OP.

          – eComEvo
          Feb 14 '16 at 4:53





          This doesn't work. Please see my latest edits to OP.

          – eComEvo
          Feb 14 '16 at 4:53


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f756078%2fphp5-unmet-dependencies-when-upgrading%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...