Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo,

ich habe hier einen Webserver mit Apache 2 und installiertem PHP5. Jetzt brauche ich aber für eine Domain PHP4. Daher meine Frage: was muss man in die Konfiguration von Apache eintragen wenn man nicht php5 sondern lieber php4 nutzen will?

Danke!

du könntest die CGI-Handler so einstellen, dass er bei dateien mit der Endung ".php", ".php4", .. PHP4 verwenden soll und nur bei dateien mit der Endung ".php5" PHP5 verwendet.

So hast du beides auf einmal ;)

  • Autor

Das wird wohl auch die erste Lösung sein die ich versuchen werde, jedoch in der Variante, dass PHP5 als Modul läuft und PHP4 über CGI.

Lieber wäre mir natürlich die Variante PHP4 und PHP5 als Modul.

  • Autor
du könntest die CGI-Handler so einstellen, dass er bei dateien mit der Endung ".php", ".php4", .. PHP4 verwenden soll und nur bei dateien mit der Endung ".php5" PHP5 verwendet.

Wie stellt man bei Apache2 doch gleich wieder den CGI-Händler ein, damit dies funktioniert? Hab's in dessen Doku und der von PHP so auf die Schnelle noch nicht gefunden...

Wie stellt man bei Apache2 doch gleich wieder den CGI-Händler ein, damit dies funktioniert?

http://www.php.net/manual/de/security.cgi-bin.php

  • Autor

Nach denen Ihrer Anleitung erhalte ich immer einen Fehler. Ich hänge ihn mal unten ran.


Warning: Unexpected character in input: '' (ASCII=15) state=1 in /usr/bin/php4/php_4 on line 3652


Warning: Unexpected character in input: '' (ASCII=2) state=1 in /usr/bin/php4/php_4 on line 3652


Parse error: parse error, unexpected T_STRING in /usr/bin/php4/php_4 on line 3652

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.