March 2, 20205 yr Hallo ich möchte unterschiedliche php Versionen unter Froxlor nutzen. Ich habe es versucht mit apt-get install php-5.5-opt Fehlermeldung: apt-get install php-5.5-opt Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php-5.5-opt E: Couldn't find any package by glob 'php-5.5-opt' E: Couldn't find any package by regex 'php-5.5-opt' was muß ich ändern ? Vielen Dank für die Hilfe im voraus.
March 3, 20205 yr Also ich nehme dafür immer das sury repository, hier wäre eine Anleitung: https://tecadmin.net/install-multiple-php-version-with-apache-on-debian/ Php 5.5 wirst du da aber auch nicht mehr bekommen, 5.6 ist glaub noch da...
March 4, 20205 yr Author Ich bin nach der Anleitung gegangen. Bei der Eingabe von sudo apt install php5.6 php5.6-fpm hatte ich dann diese Fehlermeldung. N: Ignoring file 'php.listpassendes' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Unable to locate package php5.6-fpm E: Couldn't find any package by glob 'php5.6-fpm' E: Couldn't find any package by regex 'php5.6-fpm' ich habe keinen Fehler in der Datei php.listpassendes gefunden. Was muß ich da ändern?
March 4, 20205 yr Author Danke der Fehler ist weg. Warum kann das Paket nicht gefunden werden? Kann ich das abfragen welche Pakete vorhanden sind? Paketlisten lesen ... Fertig Abhängigkeitsbaum erstellen Statusinformationen lesen ... Fertig Beachten Sie, dass Sie 'php5.6-json' für den regulären Ausdruck 'php5.6' auswählen. Beachten Sie, dass Sie 'php5.6-common' für Regex 'php5.6' auswählen. E: Paket php5.6-fpm konnte nicht gefunden werden E: Es konnte kein Paket von glob 'php5.6-fpm' gefunden werden. E: Es konnte kein Paket mit dem regulären Ausdruck 'php5.6-fpm' gefunden werden.
March 4, 20205 yr Die Pakete sind alle da, siehe https://packages.sury.org/php/pool/main/p/php5.6/ - da hast du wohl das repository nicht korrekt eingebunden oder dir fehlt ein "apt-get update" um alle Quellen zu durchsuchen.
March 4, 20205 yr Folge doch einfach der offiziellen anleitung: https://packages.sury.org/php/README.txt
March 5, 20205 yr Author Am 3.3.2020 um 06:41 schrieb d00p: Also ich nehme dafür immer das sury repository, hier wäre eine Anleitung: https://tecadmin.net/install-multiple-php-version-with-apache-on-debian/ Php 5.5 wirst du da aber auch nicht mehr bekommen, 5.6 ist glaub noch da... Habe jetzt alles gemacht wie hier beschrieben. Die Apache Installation und Konfiguration habe ich übersprungen, weil ich Apache 2 schon habe. Jetzt läst sich Apache nicht starten. Wo ist da der Fehler? systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Thu 2020-03-05 21:51:35 CET; 28min a Process: 32712 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILUR Process: 960 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILUR Main PID: 446 (code=exited, status=0/SUCCESS) Mar 05 21:51:35 bizz-hosting.com systemd[1]: Starting The Apache HTTP Server... Mar 05 21:51:35 bizz-hosting.com apachectl[960]: AH00526: Syntax error on line 1 Mar 05 21:51:35 bizz-hosting.com apachectl[960]: Invalid command 'FcgidIdleTimeo Mar 05 21:51:35 bizz-hosting.com apachectl[960]: Action 'start' failed. Mar 05 21:51:35 bizz-hosting.com apachectl[960]: The Apache error log may have m Mar 05 21:51:35 bizz-hosting.com systemd[1]: apache2.service: Control process ex Mar 05 21:51:35 bizz-hosting.com systemd[1]: apache2.service: Failed with result Mar 05 21:51:35 bizz-hosting.com systemd[1]: Failed to start The Apache HTTP Ser ESCOC er pache2.service; enabled; vendor preset: enabled) ervice.d nce Thu 2020-03-05 21:51:35 CET; 28min ago hectl stop (code=exited, status=1/FAILURE) ectl start (code=exited, status=1/FAILURE) CCESS) [1]: Starting The Apache HTTP Server... tl[960]: AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/29_froxl tl[960]: Invalid command 'FcgidIdleTimeout', perhaps misspelled or defined by a tl[960]: Action 'start' failed. tl[960]: The Apache error log may have more information. [1]: apache2.service: Control process exited, code=exited status=1 [1]: apache2.service: Failed with result 'exit-code'. [1]: Failed to start The Apache HTTP Server.
March 5, 20205 yr Na was nun, fcgid oder php-fpm? Sorry, aber bitte besorg dir einen Linux Admin, deine Probleme, auch in den anderen Threads zeigen leider fehlende Grunkdenntnisse die man zum Betreiben eines Servers haben sollte.
Archived
This topic is now archived and is closed to further replies.