PhpPaket: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:ServerApplikation == Links == * PhpDebugger * PHP == Error-Logging == * php.ini: ** error_log = /var/log/php/php.log ** log_errors = on…“)
 
Zeile 5: Zeile 5:
* [[PHP]]
* [[PHP]]


== Installation ==
<pre>add-apt-repository ppa:ondrej/php
apt-get install nginx php-fpm php-cli php-json php-curl php-imap php-gd php-mysql php-xml \
  php-zip php-intl php-mcrypt php-imagick php-mbstring
apt-get install php-memcached memcached php-xdebug
apt-get install php5.6-cli php5.6-common php5.6-curl php5.6-fpm php5.6-gd php5.6-imap \
  php5.6-intl php5.6-json php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-opcache \
  php5.6-readline php5.6-sqlite3 php5.6-xml php5.6-zip
# oder
apt-get install php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-imap \
  php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache \
  php7.0-readline php7.0-sqlite3 php7.0-xml php7.0-zip
# oder
apt-get install php7.1-cli php7.1-common php7.1-curl php7.1-fpm php7.1-gd php7.1-imap \
  php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache \
  php7.1-readline php7.1-sqlite3 php7.1-xml php7.1-zip
</pre>
== Error-Logging ==
== Error-Logging ==
* php.ini:
* php.ini:

Version vom 25. Mai 2018, 06:35 Uhr


Links

Installation

add-apt-repository ppa:ondrej/php
apt-get install nginx php-fpm php-cli php-json php-curl php-imap php-gd php-mysql php-xml \
   php-zip php-intl php-mcrypt php-imagick php-mbstring 
apt-get install php-memcached memcached php-xdebug

apt-get install php5.6-cli php5.6-common php5.6-curl php5.6-fpm php5.6-gd php5.6-imap \
   php5.6-intl php5.6-json php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-opcache \
   php5.6-readline php5.6-sqlite3 php5.6-xml php5.6-zip 
# oder 
apt-get install php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-imap \
   php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache \
   php7.0-readline php7.0-sqlite3 php7.0-xml php7.0-zip 
# oder
apt-get install php7.1-cli php7.1-common php7.1-curl php7.1-fpm php7.1-gd php7.1-imap \
   php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache \
   php7.1-readline php7.1-sqlite3 php7.1-xml php7.1-zip 

Error-Logging

  • php.ini:
    • error_log = /var/log/php/php.log
    • log_errors = on
  • im Programm:
    • error_reporting(E_ALL);
    • error_log("=== start");

Konfiguration ausgeben

php -i