• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

PHP5.6 in Plesk Onyx 17.8 unter Debian 9?

Hallo,
ich habe auf meinem Debian 9 vServer PHP5.6 Installiert,aber ich bekomme es nicht hin in Plesk Onyx 17.8 unter Komponenten hinzufügen oder entfernen zur Installation
angeboten zu bekommen.

Was muss ich machen um es in Plesk auswählen zu können?
 

Attachments

  • php5.6Debian9.png
    php5.6Debian9.png
    5.3 KB · Views: 235
  • php5.6Plesk.png
    php5.6Plesk.png
    4.7 KB · Views: 335
Hallo ja leider benötige ich die php5.6 version noch bis ich es geschaft habe diese auf php7 an zu passen,dein erster link ist ja gerade mein Problem dort wird es mir nicht angezeigt und ich habe keine ahnung wie ich es da hin bekomme?
 
Danke die Zweite Anleitung habe ich versucht,aber irgendwie geht das bei mir nicht die Pfade von der Anleitung passen bei mir nicht.

Installiert muss es ja schon sein wie man an dem Screen erkennen kann,es muss nur noch in Plesk zu sehen sein.
 

Attachments

  • php5.6Debian9.png
    php5.6Debian9.png
    5.3 KB · Views: 323
die Pfade von der Anleitung passen bei mir nicht.
Also wirklich, wer schon ein extra PHP auf Debian installieren kann sollte auch wissen: Pfade anpassen.
Hast du das gemacht?

habe ich versucht,aber irgendwie geht das bei mir nicht
Würdest du das bitte genauer erklären.
Irgendwelche Meldungen?

Steht doch auf der Seite:
  1. Register the new PHP version in Plesk:
    # /usr/local/psa/bin/php_handler --add -displayname <NN> -path <path to php cgi> -phpini <path to php.ini> -type <php handler> -id <NN-custom> -clipath <path to php cli>
    where
    • -displayname <NN> is the PHP version name that will be shown in the Plesk UI. We recommend that you include the version number in the displayname, for example, you can name the version "5.3.3-custom".
    • -path <path to php cgi> is the location of the PHP CGI binary file. You can find this in the output of the command make install in the line Installing PHP CGI binary. For example, if you see the line Installing PHP CGI binary: /usr/local/bin/, the location you need to specify is /usr/local/bin/php-cgi. Learn more at http://php.net/manual/en/install.unix.commandline.php.
    • -clipath <path to php cli> is the location of the PHP CLI binary file. You can find this in the output of the command make install in the line Installing PHP CLI binary. For example, if you see the line Installing PHP CLI binary: /usr/local/bin/, the location you need to specify is /usr/local/bin/php. Learn more at http://php.net/manual/en/install.unix.commandline.php.
    • -phpini <path to php.ini> is the location of the php.ini file, for example, /some/path/php.ini .
    • -type <php handler> is the type of the PHP handler associated with this version. Learn more about PHP handlers in the section PHP Handlers.
      Note: Important: Either the CGI or FastCGI PHP handler can be set. mod_php is not supported.
    • (Optional) -id <NN-custom> is the identifier that you will use for referring to this PHP version when adjusting or removing it.
After you register the PHP version in Plesk, it will be available for selection in service plan settings (Service Plans > plan name > PHP Settings) and in the PHP settings individual websites (Websites & Domains > PHP Settings).
 
Ich habe versucht die Pfade an zu passen,aber egal wechen Pfad ich angegeben habe bekamm ich "No search or Diretory",ich habe die Pfade über FTP raus gesucht.

*EDIT*
wenn ich den Code so durch Putty laufen lasse.
Code:
/usr/local/psa/bin/php_handler --add -displayname 5.6 -path /usr/lib/cgi-bin/ -phpini /etc/php/5.6/apache2/php.ini -type Apache-Modul -id 5.6-custom -clipath /etc/php/5.6/cli/php.ini
Bekomme ich Folgendes.
Code:
Wrong syntax for command's '-type' parameter. 'Apache-Modul' does not match the pattern '/^(cgi|fastcgi|fpm)$/'.
 
Last edited:
In deiner Kommadozeile sind genügend Fehler drin.
Und liest/verstehst du was ich dir als Link gepostet hatte?

Steht doch in der Fehlermedung was erlaubt ist.
Und du musst doch wissen, hast schließlich PHP 5.6 installiert, in welchem Modus du das PHP laufen lasen willst.
-type <php handler> is the type of the PHP handler associated with this version. Learn more about PHP handlers in the section PHP Handlers.
Note: Important: Either the CGI or FastCGI PHP handler can be set. mod_php is not supported.

Ich werde dir jetzt keine schnelle Lösung liefern, weil ich das Gefühl habe du schaust/verstehst nicht die verlinkten Informationen, und dann lernst du nix wie man das später anwendet.

Viel Erfolg.
 
Last edited:
Back
Top