Installing additional PHP versions to Debian 11

Discussion in 'Installation/Configuration' started by muekno, Apr 18, 2023.

  1. muekno

    muekno Active Member HowtoForge Supporter

    Got update my master and mail server successfuliy to Debian 11. Updated my file server successfully too, but need older PHP 7.3 version
    tried the sugested tutorial what faild at the beginnig
    <code>
    # add-apt-repository -y ppa:eek:ndrej/php
    -bash: add-apt-repository: command not found
    </code>

    at another server I setup on Debian 11 with the automatet script I ha a lot PHP Version.

    need help hint please

    Rainer
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Go to a search engine of your choice, e.g. google.com, enter "add-apt-repository: command not found" and click on the first link. That's way faster, so it saves your and our time and gives you an answer to your question
     
    muekno likes this.
  3. muekno

    muekno Active Member HowtoForge Supporter

    Tried solution from https://itsfoss.com/add-apt-repository-command-not-found/
    the command was successfully added
    but still problem see
    <code>
    # add-apt-repository -y ppa:eek:ndrej/php
    gpg: keybox '/tmp/tmppg5683yo/pubring.gpg' created
    gpg: /tmp/tmppg5683yo/trustdb.gpg: trustdb created
    gpg: key 4F4EA0AAE5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    gpg: no valid OpenPGP data found.
    </code>
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then take this new error and enter it into a search engine of your choice to get an answer how to solve it.
     

Share This Page