Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

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.

[HowTo] Debian-Lenny: PHP 5.3 parallel installieren

Featured Replies

Hallo,

 

da ich bei froxlor4all.de vermehrt Anfragen zu einem Parallelbetrieb von PHP 5.3 erhalte und die dotdeb-Quellen die alte PHP 5.2 Version ersetzen anstatt sie zu erg?nzen, ver?ffentliche ich hier ein kleines Howto. Voraussetzung ist eine funktionierende Froxlor Umgebung inklusive fcgi. Diese Variante ersetzt die bisherige PHP-Version nicht - wie im configure ersichtlich ist, werden zus?tzliche Ordner (php53) angelegt. Alle Angaben nat?rlich ohne Gew?hr, die Schritte bitte zun?chst vollst?ndig lesen und verstehen.

 

Also, los gehts:

1. Quellen von php.net herunterladen und entpacken:

http://de3.php.net/get/php-5.3.8.tar.gz/from/a/mirror

 

 

2. Entpacken

tar xvfz php-5.3*.tar.gz

 

3. Verzeichnis wechseln

cd php-5.3*

 

4. Configure ausf?hren - hier habe ich nur eine Minimalumgebung inkl. MySQL gew?hlt

./configure \
--prefix=/usr/share/php53 \
--with-config-file-path=/etc/php53/cgi \
--with-config-file-scan-dir=/etc/php53/cgi/conf.d  \
--datadir=/usr/share/php53 \
--mandir=/usr/share/man \
--bindir=/usr/bin/php53 \
--with-libdir=lib64 \
--includedir=/usr/include \
--enable-libxml \
--enable-session \
--enable-xml \
--enable-simplexml \
--enable-filter \
--disable-debug \
--enable-inline-optimization \
--disable-rpath \
--disable-static \
--enable-shared \
--with-pic \
--with-gnu-ld \
--with-mysql \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--with-mysqli \
--with-pdo-mysql

 

5. make und make install ausf?hren

make && make install

 

6. In Froxlor einloggen und eine neue php.ini anlegen. Dort dann /usr/bin/php53/php-cgi als Pfad zum Binary angeben. Au?erdem die php.ini anpassen - da gibt es unter PHP 5.3 ein paar kleine ?nderungen

Anschlie?end k?nnt ihr eure Software schnell und einfach auf Kompatibilit?t mit PHP 5.3 testen. Bei Fragen oder Anregungen: info@froxlor4all.de

 

Gr??e aus Hamburg

Carsten

Edited by arnoldB
Debugged configure params

  • 2 months later...

denk hierbei, dass es mit nicht mit dem "mod_php" funktioniert... sondern mit suEXEC...

 

Dieser Hinweis fehlt hier ^^

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

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.