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.