I'm looking to install PHP on my desktop Ubuntu installation to be able to develop locally without uploading my files.
What packages would I need to install to do so?
Last time I tried to install packages for a LAMP stack locally it ended up uninstalling gnome-desktop
, rendering my machine useless. I'd like to avoid that, hence why this question.
to be clear I don't need an entire LAMP stack locally, I just need to be able to run PHP files.
Try with this command. Note the dash
-
at the end of the unwanted packages: