[TESTING] LAMP stack on OSMC


#21

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


#22

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

Thanks for your work!


#23

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.


#24

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


#25

@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


#26

sudo apt-get install php


#28

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

#29

@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


#30

Hi,

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

Sam


#31

@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