The following message prompts when you just simply do: sudo apt-get install php, which basically installs all of the related php packages, I believe:  libapache2-mod-php7.2 php-common php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline   Do I need to install all of these? My server Ubuntu prompted me to perform sudo apt install php7.2-cli. Most Sources online don't specify what the difference between the packages is?
120832
How do I get the prosaic description of a package using apt? I tried both apt-cache show and apt-cache showpkg but no luck.  Using synaptic it's easy as typing the package name and the description is given by the standard view, but sometimes I'd prefer to just use apt-cache, for example from terminal.
106457
The whole update process seems somewhat confusing to me.  I can understand the need to run sudo apt-get update prior to installing another package, but, what is the difference in running update from the command-line and using the Synaptic package manager for updates and/or the the Auto-updater.  If there is no difference, why do we have all three?
71435
I've got problems with installing PHP 5.5.13 (last stable build) on a CentOS 6.5 (64 bit) machine, through yum.   It is not a part of the CentOS, EPEL or REMI repos as far as I can see. I get 5.4.29 with either of those repositories.
108576
I am working with Laravel but i have installed all on my own (php, mysql, composer, nginx) and now i need to install Redis and configure it so i could use it for queue driver in Laravel.  How to install it, because it cannot be installed through apt-get install redis  i get this error:  ubuntu@ubuntu:~$ sudo apt-get install redis [sudo] password for ubuntu:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package redis
74448
I need to upgrade php from 5.3 to 5.4. I've installed it with rpm. I want clean install: delete all 5.3 packages, and install all necessary 5.4. Here is the command to see all installed packages:  rpm -qa |grep php   It prints out a list of packages, and I want to remove all them with:  rpm -e *pakage.name*   Can I iterate over all matches in grep results and use each match in:   rpm -e *grep.match*
102858
Somehow my Ubuntu install can't find what I believe to be very common packages....  E: Unable to locate package php5-curl E: Unable to locate package php5-gd   I know this has something to do with my sources, however, I am not sure which source I need or which source these packages would be included in.  These are the commands I ran  sudo apt-get install php5-curl sudo apt-get install php5-gd   Here's the content of /etc/apt/sources.list:  # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/  # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution.  ## Major bug fix updates produced after the final release of the ## distribution.  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team.  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team.  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team.   ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu oneiric partner # deb-src http://archive.canonical.com/ubuntu oneiric partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu oneiric main # deb-src http://extras.ubuntu.com/ubuntu oneiric main  # deb http://repository.spotify.com stable non-free
50859
I installed Ubuntu 15.04, but I need to use PHP 5.5 and in 15.04 the standard is PHP 5.6  I added the PPA:  sudo add-apt-repository ppa:ondrej/php5   But when I tried to install, I got:  The following packages have unmet dependencies:       php5-mcrypt : Depends: phpapi-20121212 Depends: php5-common (= 5.5.24+dfsg-1+deb.sury.org~vivid+1)  but 5.6.4+dfsg-4ubuntu6 is to be installed   How should I proceed?
3695
I've done the following:  sudo add-apt-repository ppa:ondrej/php5-5.6 sudo apt-get update sudo apt-get upgrade sudo apt-get install php5 sudo apt-get install libapache2-mod-php5.6 sudo add-apt-repository ppa:ondrej/apache2   When I try to disable the old version of php5 with:  sudo phpdismod php5   I get the error: WARNING: Module php5 ini file doesn't exist under /etc/php/5.6/mods-available  Even if I move the ini file under this directory it gives me the same error.  I don't know what I'm missing??  In general, can someone explain to me how to get my instance to use the newly installed version, as I still seem to have both php directory trees on my instance.  php5/.. and php/5.6
89561
I recently downloaded OpenSUSE OS version 11.4 from the site to use it as a server..In order to do that I downloaded the server edition that has Apache/2.2.17 and PHP5 downloaded by default.....Ok till now it is fine  Now I started the Apache successfully and put a test.php file in the documentRoot directory. test.php contain only &lt;?php phpinfo() ?&gt;  Then using my browser I typed http://localhost/test.php and here was the problem  the browser didn't display what phpinfo() should display, instead it asked me whether I want to open or save test.php...which is driving me crazy.... I googled a lot but no solution  THis is /etc/apache2/conf.d/php5.conf  &lt;IfModule mod_php5.c&gt;     AddHandler application/x-httpd-php .php4     AddHandler application/x-httpd-php .php5     AddHandler application/x-httpd-php .php     AddHandler application/x-httpd-php-source .php4s     AddHandler application/x-httpd-php-source .php5s     AddHandler application/x-httpd-php-source .phps     DirectoryIndex index.php4     DirectoryIndex index.php5     DirectoryIndex index.php &lt;/IfModule&gt;
6975
I read about the new fancy progress bar which was added to apt 1.0 in  and how to enable it . However on running sudo apt-get update, I did not see the fancy progress bars. On reading the second link again, the solution explicitly requires you to use sudo apt update.  Hence my question is the difference between apt and apt-get. I thought they were one and the same.
106989
I've upgraded from UBUNTU 13.04 to 13.10 but I can not work with PHP pages or phpmyadmin . I've tried this way to install lamp on Ubuntu sudo apt-get install lamp-server^ phpmyadmin and I've done all of the configuration correctly after installation I've added this line  Include /etc/phpmyadmin/apache.conf to  /etc/apache2/apache2.conf then I restarted apache2   Now I have two problems:   In phpmyadmin on the bottom of the page is this error : The mcrypt extension is missing. Please check your PHP configuration  I've check  and mcrypt was in it , but in phpmyadmin it gives me error of missing .   The other problem is on PHP pages it seems like there is no PHP and it's all html because lots of PHP lines are printed in textbox's like : &lt;? echo $row['details']; ?&gt; Can anybody tell me what should I do ?
109381
I'm pretty sure I know what the problem is i just dont know how to fix it.  Im trying to install mcrypt "yum install php-mcrypt" and i get the following error  Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)   I can see that el6 is the error. I have php el7 installed already. How can i get the el7 version instead of el6?  I checked the current repolist and i dont see any el6 repos there. The current active repos are   CentOS-7 - Base  Extra Packages for Enterprise Linux 7 - x86_64      CentOS-7 - Extras     MySQL Connectors Community     MySQL Tools Community - Source   MySQL 5.6 Community Server   CentOS-7 - Updates    Yum error when running yum install php-mcrypt  --&gt; Finished Dependency Resolution Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)    Requires: php(api) = 20090626    Installed: php-common-5.4.16-23.el7_0.3.x86_64 (@base)        php(api) = 20100412-64 Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)    Requires: php(zend-abi) = 20090626    Installed: php-common-5.4.16-23.el7_0.3.x86_64 (@base)    php(zend-abi) = 20100525-64
88863
Is there any difference between     sudo apt-get purge &lt;package-name&gt;   and    sudo apt-get remove &lt;package-name&gt;     ?  I often see people recommend one or the other.  In other words, what does apt-get purge remove that apt-get remove doesn't?
18273
I tried mysql in my command line :   I get:  The program 'mysql' is currently not installed.  You can install it by typing: sudo apt-get install mysql-client-core-5.5   But when I do:  sudo apt-get install mysql-client-core-5.5   But I get:  Reading package lists... Done Building dependency tree        Reading state information... Done mysql-client-core-5.5 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.   How should I proceed?
17509
dam@ubuntu:~$ sudo apt-get update   W: Failed ....  adam@ubuntu:~$ sudo apt-get install fetch   Reading package lists... Done   Building dependency tree          Reading state information... Done   E: Unable to locate package fetch
3727
When I try to install any package through the command line, I get an error.   $ sudo apt-get install &lt;package&gt; Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package &lt;package&gt;   Can anyone help me on this?
22057
I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to .   I tried to install it from , however when It try to install it with apt I always get similar errors.  $ sudo apt-get install php5-cli Cependant les paquets suivants le remplacent :   php7.0-cli:i386 php7.0-cli`   Which means it's obsolete. How can I install PHP 5.6 on Xenial?