[TESTING] LAMP stack on OSMC

I believe it will still work – but it’s not yet in the app store.

Thank you for answer. Is there an estimate when it could be?

Thanks for your work!

We probably won’t add it to be honest, as there hasn’t been any real demand for it. You can follow the instructions in the first post however.

This is really a shame, I tried to follow the first post, but there was an access problem, I was getting ERR_CONNECTION_REFUSED.

I’ll try again later with a clean installation, thank you

@sam_nazarko can you help me with this?

osmc@osmc [09:48:41] [~] 
-> % sudo -s
osmc# export DEBIAN_FRONTEND=noninteractive
osmc# apt-get update
Ign:1 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.debian.org/debian stretch Release 
Hit:2 http://ftp.fau.de/osmc/osmc/apt stretch InRelease 
Reading package lists... Done                           
osmc# apt-get install lamp-app-osmc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lamp-app-osmc 

I am using standard OSMC verion with the latest updates

BTW - I need only PHP, so if this package is no working anymore, how can I install php itself? PHP 5 will be enough

sudo apt-get install php

OK, i have installed php 7. with:

osmc@osmc [10:53:14 AM] [~] 
-> % sudo -i
root@osmc:~# apt-get install php


root@osmc:~# php -v
PHP 7.0.27-0+deb9u1 (cli) (built: Jan  5 2018 13:51:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

@sam_nazarko

Hi Sam,

I know this post was from 3 years ago so it’s likely that it’s no longer applicable but what happened to the lamp-app-osmc package. Did something replace it?

Cheers

Hi,

I didn’t get much attention.
IIRC, it’s still there. It was just a basic meta-package.

Sam

@sam_nazarko

Oh okay. Well, like qweluke, I get:

root@vero:/# apt-get install lamp-app-osmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lamp-app-osmc

Has the install method changed?

Cheers

Another thing to think about: you might want to switch MySQL for MariaDB. Since it’s a 1-1 switch, there should be few (if any) headaches, and MariaDB optimization is better. Particularly given that most HTPC systems aren’t built to be servers, optimization is important!

Maria should automatically be chosen now

Awesome! My build I wasn’t aware there was a LAMP stack already provided so I built it myself. Oh well.