0

I'm using Rasbian VERSION="8 (jessie)" Linux raspberrypi 4.14.73-v7+ which the Apache/2.4.10 PHP 5.6.38-0+deb8u1 has been installed.

How can I upgrade the PHP package to PHP 7.3 that is compatible with Apache or Nginx version?
Also, I don't want to do sudo upgrade because the system has a lot of old packages in which the system does not have enough space and it will be broken.

Update with info from comment:
I would like to build a new sd card with Raspbian Buster, but I do not have physical access to the device, only ssh.

  • 1
    Jessie is out of date. Build a new sd card with Raspbian Buster. – CoderMike Dec 25 '19 at 11:24
  • @CoderMike This is what I wanted to do, but I do not have physical access to the device. Only ssh – user7752471 Dec 25 '19 at 11:35
  • Sounds like it needs a larger sd card anyway. Why have you only got ssh access? – CoderMike Dec 25 '19 at 11:38
  • @CoderMike The device is not in my city. And I need to install the latest version of laravel lumen on it. And for it need php> = 7.3. 32 gb flash drive – user7752471 Dec 25 '19 at 11:51
  • Did you test THIS link? – M. Rostami Dec 25 '19 at 15:06
1

Building a new SD Card with Raspbian Buster is the right way I would also do it. All other things doing only remotely on a deprecated Raspbian version Jessie it too risky. You risk to lose connection or have a system that isn't working anymore. I would build and test the new SD Card with Buster at home and send it to the remote place so someone there can just swap the SD Card. If it doesn't work you can always revert to the running system. Even better is to configure a complete second Raspberry Pi at home and send it to the remote place.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.