Gepostet 25.09.2017 · Aktualisiert am 15.10.2019
1&1 IONOS now has native PHP 7.1 & 7.3 CLI support. Continue only if you want to play around with PHP 7.4 CLI.

1&1 IONOS has been a fairly early adopter to PHP 7 in their Shared Webhosting and provides regular updates to the latest version in every 7.x branch. However, for some reason the latest version available in the shell is runnning behind. This could get you into trouble, for example when using composer, where your desired package has a requirement higher than the version available. This article delivers a solution.

Login to your environment with ssh and follow these steps:

  • PHP 7.4
    wget --content-disposition
    tar xjf php74.tar.bz2
    echo "alias php='LD_LIBRARY_PATH=~/bin/lib ~/bin/php74-cli'" >> ~/.bashrc

You can either log out and log back in, or run . ~/.bashrc in order to run php on the command line.

Gepostet 03.09.2016

Installing the Android SDK might give some headaches when it comes to permissions. The commands below set the correct permissions to run the tools without further root requirements.

sudo chown -R root:root android-sdk-linux/
sudo chmod -R a+r android-sdk-linux/
sudo chmod a+x android-sdk-linux/
sudo chmod a+x android-sdk-linux/*/