Comments on: How to Install Apache, MySQL, PHP (LAMP Stack) on Ubuntu 22.04 https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/ How to guide for System Administrator's and Developers Tue, 11 Oct 2022 17:27:58 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Rahul https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-63971 Mon, 25 Apr 2022 06:28:38 +0000 https://tecadmin.net/?p=9382#comment-63971 Kindly, paste the output of “systemctl status apache2.service”.

]]>
By: Mário Davi https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-63967 Sat, 23 Apr 2022 16:42:42 +0000 https://tecadmin.net/?p=9382#comment-63967 Failed to start The Apache HTTP Server.
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xeu apache2.service” for details.

]]>
By: Anh Tran https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-4898 Fri, 26 Jan 2018 04:45:58 +0000 https://tecadmin.net/?p=9382#comment-4898 To install the latest version of PHP, use “php-fpm” instead of “php7.0-fpm”.

]]>
By: malik https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-4212 Fri, 01 Sep 2017 11:36:24 +0000 https://tecadmin.net/?p=9382#comment-4212 Thanx a lot it helped me to set up my site at AWS…

]]>
By: Bhagirath https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-4129 Fri, 11 Aug 2017 05:26:44 +0000 https://tecadmin.net/?p=9382#comment-4129 Reading state information… Done
E: Unable to locate package php7.0
E: Couldn’t find any package by regex ‘php7.0’

got this error,

]]>
By: franciscorenef https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-3648 Sat, 29 Apr 2017 22:14:38 +0000 https://tecadmin.net/?p=9382#comment-3648 gracias amigo

]]>
By: Xabi Tortilla https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-3448 Mon, 27 Feb 2017 17:55:00 +0000 https://tecadmin.net/?p=9382#comment-3448 How can i solve this problem ?
The following packages have unmet dependencies:
mysql-server-5.6 : Depends: mysql-common (>= 5.6.22-1~) but 5.5.54-0ubuntu0.14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

]]>
By: Who https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-3171 Sun, 30 Oct 2016 17:22:07 +0000 https://tecadmin.net/?p=9382#comment-3171 sudo apt-get -f install

]]>
By: adelval https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-3111 Wed, 21 Sep 2016 21:03:20 +0000 https://tecadmin.net/?p=9382#comment-3111 I followed the instructions, and while running info.php (with the phpinfo command) from the shell gave a version number of 7.0.11, accessing this file from the browser displayed php 5.x.

You need to disable the module php5 and enable php7 for apache, with the following commands:

$ sudo a2dismod php5
$ sudo service apache2 restart
$ sudo service a2enmod php7.0
$ sudo service apache2 restart

After running these commands, apache uses php7, as shown by accesing test.php from the browser.

]]>
By: Azatrie https://tecadmin.net/how-to-install-lamp-stack-on-ubuntu-22-04/#comment-2972 Wed, 27 Jul 2016 18:28:46 +0000 https://tecadmin.net/?p=9382#comment-2972 I try to insttall php7 using above mentioned command and i automatically end up installing apache2 from offical ubuntu repo.

Should i install apache2 before php?

]]>