Installationsanleitung PHP: Unterschied zwischen den Versionen

Aus SiteparkWiki
Zur Navigation springen Zur Suche springen
 
(8 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
==PHP Setzungen für Sitepark Module==
 
==PHP Setzungen für Sitepark Module==
 
===InfoSite 6 Enterprise-Installationen===
 
===InfoSite 6 Enterprise-Installationen===
Stand: 10/2018
+
Stand: 09/2022
  
PHP >= 7.2
+
PHP >= 7.4
* libapache2-mod-php7.2
+
* libapache2-mod-php7.4
 
* libapache2-mod-xsendfile
 
* libapache2-mod-xsendfile
* php7.2 php7.2-mbstring
+
* php7.4
* php7.2-opcache
+
* php7.4-opcache
* php7.2-xml
+
* php7.4-xml
* php7.2-fileinfo
+
* php7.4-fileinfo
* php7.2-curl
+
* php7.4-curl
* php7.2-gd
+
* php7.4-gd
* php7.2-zip
+
* php7.4-zip
* php-apcu
+
* php7.4-intl
 +
* php7.4-apcu
 +
* php7.4-mbstring
  
 
Liste der installierten PHP-Extensions:
 
Liste der installierten PHP-Extensions:
  php -r "print_r(get_loaded_extensions());"
+
  php -m
  
 
<source lang="text">
 
<source lang="text">
    [0] => Core
+
[PHP Modules]
    [1] => date
+
apc
    [2] => libxml
+
apcu
    [3] => openssl
+
calendar
    [4] => pcre
+
Core
    [5] => zlib
+
ctype
    [6] => filter
+
curl
    [7] => hash
+
date
    [8] => pcntl
+
dom
    [9] => Reflection
+
exif
    [10] => SPL
+
fileinfo
    [11] => sodium
+
filter
    [12] => session
+
ftp
    [13] => standard
+
gd
    [14] => PDO
+
gettext
    [15] => xml
+
hash
    [16] => apcu
+
iconv
    [17] => calendar
+
intl
    [18] => ctype
+
json
    [19] => curl
+
libxml
    [20] => dom
+
mbstring
    [21] => mbstring
+
openssl
    [22] => fileinfo
+
pcntl
    [23] => ftp
+
pcre
    [24] => gd
+
PDO
    [25] => gettext
+
Phar
    [26] => iconv
+
posix
    [27] => json
+
readline
    [28] => exif
+
Reflection
    [29] => apc
+
session
    [30] => posix
+
shmop
    [31] => readline
+
SimpleXML
    [32] => shmop
+
sockets
    [33] => SimpleXML
+
sodium
    [34] => sockets
+
SPL
    [35] => sysvmsg
+
standard
    [36] => sysvsem
+
sysvmsg
    [37] => sysvshm
+
sysvsem
    [38] => tokenizer
+
sysvshm
    [39] => wddx
+
tokenizer
    [40] => xmlreader
+
wddx
    [41] => xmlwriter
+
xdebug
    [42] => xsl
+
xml
    [43] => zip
+
xmlreader
    [44] => Phar
+
xmlwriter
    [45] => Zend OPcache
+
xsl
    [46] => xdebug (für Entwicklungsysteme)
+
Zend OPcache
 +
zip
 +
zlib
 +
 
 +
[Zend Modules]
 +
Xdebug (für Entwicklungsysteme)
 +
Zend OPcache
 
</source>
 
</source>
 +
 +
Bei Bestands-System sollte beachtet werden, dass bei PHP 7.0 Stabilitäts-Probleme beobachtet wurden.
  
 
===Ältere InfoSite 6 Installationen===
 
===Ältere InfoSite 6 Installationen===
Zeile 92: Zeile 102:
 
* iconv
 
* iconv
 
* json
 
* json
 +
* intl
 
* libxml
 
* libxml
 
* mbstring
 
* mbstring

Aktuelle Version vom 19. September 2022, 09:15 Uhr

PHP Setzungen für Sitepark Module

InfoSite 6 Enterprise-Installationen

Stand: 09/2022

PHP >= 7.4

  • libapache2-mod-php7.4
  • libapache2-mod-xsendfile
  • php7.4
  • php7.4-opcache
  • php7.4-xml
  • php7.4-fileinfo
  • php7.4-curl
  • php7.4-gd
  • php7.4-zip
  • php7.4-intl
  • php7.4-apcu
  • php7.4-mbstring

Liste der installierten PHP-Extensions:

php -m
[PHP Modules]
apc
apcu
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Xdebug (für Entwicklungsysteme)
Zend OPcache

Bei Bestands-System sollte beachtet werden, dass bei PHP 7.0 Stabilitäts-Probleme beobachtet wurden.

Ältere InfoSite 6 Installationen

  • Werden Sitepark-Module verwendet, die den RequestDispatcher verwenden, sind für die entsprechenden Hosts folgende Setzungen notwendig:
php_admin_value arg_separator.input &;
php_admin_value suhosin.post.max_name_length 200
php_admin_value suhosin.request.max_varname_length 200

Empfohlene PHP-Version, PHP-Module, PHP-Frameworks in Webservern

Stand: 10/2013

PHP Version >= 5.3

  • bcmath
  • calendar
  • ctype
  • curl
  • date
  • dom
  • exif
  • fileinfo
  • gd
  • geoip
  • hash
  • iconv
  • json
  • intl
  • libxml
  • mbstring
  • mcrypt
  • mhash
  • mysql
  • mysqli
  • openssl
  • pcre
  • PDO
  • pdo_mysql
  • Reflection
  • session
  • SimpleXML
  • soap
  • sockets
  • SQLite
  • standard
  • suhosin
  • sysvmsg
  • tidy
  • wddx
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • xsl
  • zip
  • zlib

TCPDF-Erweiterung für PDF-Generierung:

Auf einem IES-System (Linux) kann die Installation im $SITEPARK_HOME unter tcpdf installiert werden. Alternativ kann man den Ordner parallel zum DocumenRoot anlegen.

PHP-Erweiterung für htalyze:

  • PHP-Pear-DB