Jump to content
Froxlor Forum
  • 0

unterschiedliche php Versionen unter Froxlor nutzen.


Anfänger

Question

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.
 
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0
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.
 

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...