In a fashion you should already have packages like PHP installed, you can install apt packages through the ‘notroot’ method
Tutorial: How to install any package from apt-get on Glitch