error while installing php in ubuntucannot upgrade kernel and mysql-server after dist upgradeHow can I resolve package conflicts when installing old version of PHP with apache2?Not able to install, remove or update anything from software centerWhy does libapache2-mod-php5 get removed whenever I upgrade apache2?Apache won't start - PHP issues?MySQL Installation Issues on Ubuntu 15.04mysql-server-5.5 ErrorCannot do php upgrade because dependencies errorUnable to install MariaDB on circleCI ? Problems with dpkg.unable to install libapache2-mod-php5 5.3+ on ubuntu 16.04

Did Nintendo change its mind about 68000 SNES?

Turning a hard to access nut?

Imaginary part of expression too difficult to calculate

Should I be concerned about student access to a test bank?

How can an organ that provides biological immortality be unable to regenerate?

Unable to get newly inserted Product's Id using After Plugin for Catalog Product save controller method

How can a new country break out from a developed country without war?

How old is Nick Fury?

How to find the largest number(s) in a list of elements, possibly non-unique?

If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?

Why is participating in the European Parliamentary elections used as a threat?

How do researchers send unsolicited emails asking for feedback on their works?

PTIJ: Why do we make a Lulav holder?

Asserting that Atheism and Theism are both faith based positions

What are the consequences of changing the number of hours in a day?

Are hand made posters acceptable in Academia?

When should a starting writer get his own webpage?

What favor did Moody owe Dumbledore?

Is VPN a layer 3 concept?

Help with identifying unique aircraft over NE Pennsylvania

Does fire aspect on a sword, destroy mob drops?

Error in master's thesis, I do not know what to do

Is xar preinstalled on macOS?

Pre-Employment Background Check With Consent For Future Checks



error while installing php in ubuntu


cannot upgrade kernel and mysql-server after dist upgradeHow can I resolve package conflicts when installing old version of PHP with apache2?Not able to install, remove or update anything from software centerWhy does libapache2-mod-php5 get removed whenever I upgrade apache2?Apache won't start - PHP issues?MySQL Installation Issues on Ubuntu 15.04mysql-server-5.5 ErrorCannot do php upgrade because dependencies errorUnable to install MariaDB on circleCI ? Problems with dpkg.unable to install libapache2-mod-php5 5.3+ on ubuntu 16.04













0















I am trying to install php in my ubuntu system, I have already installed apache and mysql, but I am not able to install php using the following command



sudo apt install php libapache2-mod-php


I am receiving the following error:



(Reading database ... 489 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-php_2%3a7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3_all.deb ...
Unpacking libapache2-mod-php (2:7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3) ...
Setting up php7.3-common (7.3.3-1+ubuntu18.10.1+deb.sury.org+1) ...
dpkg: error processing package php7.3-common (--configure):
installed php7.3-common package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of php7.3-opcache:
php7.3-opcache depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
Package php7.3-common is not configured yet.

dpkg: error processing package php7.3-opcache (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php7.3:
libapache2-mod-php7.3 depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
Package php7.3-common is not configured yet.
libapache2-mod-php7.3 depends on php7.3-opcache; however:
Package php7.3-opcache is not configured yet.

dpkg: error processing package libapache2-mod-php7.3 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of php7.3-cli:
php7.3-cli depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
Package php7.3-common is not configured yet.
php7.3-cli depends on php7.3-opcache; however:
Package php7.3-opcache is not configured yet.

dpkg: error processing package php7.3-cli (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of php7.3-readline:
php7.3-readline depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
Package php7.3-common is not configured yet.

dpkg: error processing package php7.3-readline (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of php7.3:
php7.3 depends on libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi; however:
Package libapache2-mod-php7.3 is not configured yet.
Package php7.3-fpm is not installed.
Package php7.3-cgi is not installed.
php7.3 depends on php7.3-common; however:
Package php7.3-common is not configured yet.

dpkg: error processing package php7.3 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of php7.3-json:
php7.3-json depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
Package php7.3-common is not configured yet.

dpkg: error processing package php7.3-json (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libapache2-mod-php:
libapache2-mod-php depends on libapache2-mod-php7.3; however:
Package libapache2-mod-php7.3 is not configured yet.

dpkg: error processing package libapache2-mod-php (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of php:
php depends on php7.3; however:
Package php7.3 is not configured yet.

dpkg: error processing package php (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
php7.3-common
php7.3-opcache
libapache2-mod-php7.3
php7.3-cli
php7.3-readline
php7.3
php7.3-json
libapache2-mod-php
php
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question


























    0















    I am trying to install php in my ubuntu system, I have already installed apache and mysql, but I am not able to install php using the following command



    sudo apt install php libapache2-mod-php


    I am receiving the following error:



    (Reading database ... 489 files and directories currently installed.)
    Preparing to unpack .../libapache2-mod-php_2%3a7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3_all.deb ...
    Unpacking libapache2-mod-php (2:7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3) ...
    Setting up php7.3-common (7.3.3-1+ubuntu18.10.1+deb.sury.org+1) ...
    dpkg: error processing package php7.3-common (--configure):
    installed php7.3-common package post-installation script subprocess returned error exit status 10
    dpkg: dependency problems prevent configuration of php7.3-opcache:
    php7.3-opcache depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
    Package php7.3-common is not configured yet.

    dpkg: error processing package php7.3-opcache (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libapache2-mod-php7.3:
    libapache2-mod-php7.3 depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
    Package php7.3-common is not configured yet.
    libapache2-mod-php7.3 depends on php7.3-opcache; however:
    Package php7.3-opcache is not configured yet.

    dpkg: error processing package libapache2-mod-php7.3 (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    No apport report written because the error message indicates its a followup error from a previous failure.
    dpkg: dependency problems prevent configuration of php7.3-cli:
    php7.3-cli depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
    Package php7.3-common is not configured yet.
    php7.3-cli depends on php7.3-opcache; however:
    Package php7.3-opcache is not configured yet.

    dpkg: error processing package php7.3-cli (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of php7.3-readline:
    php7.3-readline depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
    Package php7.3-common is not configured yet.

    dpkg: error processing package php7.3-readline (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of php7.3:
    php7.3 depends on libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi; however:
    Package libapache2-mod-php7.3 is not configured yet.
    Package php7.3-fpm is not installed.
    Package php7.3-cgi is not installed.
    php7.3 depends on php7.3-common; however:
    Package php7.3-common is not configured yet.

    dpkg: error processing package php7.3 (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of php7.3-json:
    php7.3-json depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
    Package php7.3-common is not configured yet.

    dpkg: error processing package php7.3-json (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of libapache2-mod-php:
    libapache2-mod-php depends on libapache2-mod-php7.3; however:
    Package libapache2-mod-php7.3 is not configured yet.

    dpkg: error processing package libapache2-mod-php (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of php:
    php depends on php7.3; however:
    Package php7.3 is not configured yet.

    dpkg: error processing package php (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    php7.3-common
    php7.3-opcache
    libapache2-mod-php7.3
    php7.3-cli
    php7.3-readline
    php7.3
    php7.3-json
    libapache2-mod-php
    php
    E: Sub-process /usr/bin/dpkg returned an error code (1)









    share|improve this question
























      0












      0








      0








      I am trying to install php in my ubuntu system, I have already installed apache and mysql, but I am not able to install php using the following command



      sudo apt install php libapache2-mod-php


      I am receiving the following error:



      (Reading database ... 489 files and directories currently installed.)
      Preparing to unpack .../libapache2-mod-php_2%3a7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3_all.deb ...
      Unpacking libapache2-mod-php (2:7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3) ...
      Setting up php7.3-common (7.3.3-1+ubuntu18.10.1+deb.sury.org+1) ...
      dpkg: error processing package php7.3-common (--configure):
      installed php7.3-common package post-installation script subprocess returned error exit status 10
      dpkg: dependency problems prevent configuration of php7.3-opcache:
      php7.3-opcache depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-opcache (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libapache2-mod-php7.3:
      libapache2-mod-php7.3 depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.
      libapache2-mod-php7.3 depends on php7.3-opcache; however:
      Package php7.3-opcache is not configured yet.

      dpkg: error processing package libapache2-mod-php7.3 (--configure):
      dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
      No apport report written because the error message indicates its a followup error from a previous failure.
      dpkg: dependency problems prevent configuration of php7.3-cli:
      php7.3-cli depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.
      php7.3-cli depends on php7.3-opcache; however:
      Package php7.3-opcache is not configured yet.

      dpkg: error processing package php7.3-cli (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3-readline:
      php7.3-readline depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-readline (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3:
      php7.3 depends on libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi; however:
      Package libapache2-mod-php7.3 is not configured yet.
      Package php7.3-fpm is not installed.
      Package php7.3-cgi is not installed.
      php7.3 depends on php7.3-common; however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3 (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3-json:
      php7.3-json depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-json (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of libapache2-mod-php:
      libapache2-mod-php depends on libapache2-mod-php7.3; however:
      Package libapache2-mod-php7.3 is not configured yet.

      dpkg: error processing package libapache2-mod-php (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php:
      php depends on php7.3; however:
      Package php7.3 is not configured yet.

      dpkg: error processing package php (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      Errors were encountered while processing:
      php7.3-common
      php7.3-opcache
      libapache2-mod-php7.3
      php7.3-cli
      php7.3-readline
      php7.3
      php7.3-json
      libapache2-mod-php
      php
      E: Sub-process /usr/bin/dpkg returned an error code (1)









      share|improve this question














      I am trying to install php in my ubuntu system, I have already installed apache and mysql, but I am not able to install php using the following command



      sudo apt install php libapache2-mod-php


      I am receiving the following error:



      (Reading database ... 489 files and directories currently installed.)
      Preparing to unpack .../libapache2-mod-php_2%3a7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3_all.deb ...
      Unpacking libapache2-mod-php (2:7.3+69+ubuntu18.10.1+deb.sury.org+2+php7.3) ...
      Setting up php7.3-common (7.3.3-1+ubuntu18.10.1+deb.sury.org+1) ...
      dpkg: error processing package php7.3-common (--configure):
      installed php7.3-common package post-installation script subprocess returned error exit status 10
      dpkg: dependency problems prevent configuration of php7.3-opcache:
      php7.3-opcache depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-opcache (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libapache2-mod-php7.3:
      libapache2-mod-php7.3 depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.
      libapache2-mod-php7.3 depends on php7.3-opcache; however:
      Package php7.3-opcache is not configured yet.

      dpkg: error processing package libapache2-mod-php7.3 (--configure):
      dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
      No apport report written because the error message indicates its a followup error from a previous failure.
      dpkg: dependency problems prevent configuration of php7.3-cli:
      php7.3-cli depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.
      php7.3-cli depends on php7.3-opcache; however:
      Package php7.3-opcache is not configured yet.

      dpkg: error processing package php7.3-cli (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3-readline:
      php7.3-readline depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-readline (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3:
      php7.3 depends on libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi; however:
      Package libapache2-mod-php7.3 is not configured yet.
      Package php7.3-fpm is not installed.
      Package php7.3-cgi is not installed.
      php7.3 depends on php7.3-common; however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3 (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php7.3-json:
      php7.3-json depends on php7.3-common (= 7.3.3-1+ubuntu18.10.1+deb.sury.org+1); however:
      Package php7.3-common is not configured yet.

      dpkg: error processing package php7.3-json (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of libapache2-mod-php:
      libapache2-mod-php depends on libapache2-mod-php7.3; however:
      Package libapache2-mod-php7.3 is not configured yet.

      dpkg: error processing package libapache2-mod-php (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      dpkg: dependency problems prevent configuration of php:
      php depends on php7.3; however:
      Package php7.3 is not configured yet.

      dpkg: error processing package php (--configure):
      dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
      Errors were encountered while processing:
      php7.3-common
      php7.3-opcache
      libapache2-mod-php7.3
      php7.3-cli
      php7.3-readline
      php7.3
      php7.3-json
      libapache2-mod-php
      php
      E: Sub-process /usr/bin/dpkg returned an error code (1)






      apache2 mysql php






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 12 mins ago









      Sugumar VenkatesanSugumar Venkatesan

      1064




      1064




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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%2faskubuntu.com%2fquestions%2f1126823%2ferror-while-installing-php-in-ubuntu%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1126823%2ferror-while-installing-php-in-ubuntu%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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»