Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
|
fortgeschrittene:apache-php [2017/03/29 20:28] ingo_wichmann [php-fpm] |
fortgeschrittene:apache-php [2018/11/12 23:23] (aktuell) |
||
|---|---|---|---|
| Zeile 45: | Zeile 45: | ||
| ===== mod_php ===== | ===== mod_php ===== | ||
| - | Pakete: libapache2-mod-php5 | + | Pakete: |
| + | * Debian (8): libapache2-mod-php5 | ||
| + | * CentOS (7): php | ||
| <code php /var/www/html/phpinfo.php> | <code php /var/www/html/phpinfo.php> | ||
| Zeile 88: | Zeile 90: | ||
| # do not use me in production | # do not use me in production | ||
| phpinfo(); | phpinfo(); | ||
| - | phpinfo(INFO_MODULES); | + | #phpinfo(INFO_MODULES); |
| ?> | ?> | ||
| </code> | </code> | ||
| Zeile 128: | Zeile 130: | ||
| # do not use me in production | # do not use me in production | ||
| phpinfo(); | phpinfo(); | ||
| - | phpinfo(INFO_MODULES); | + | #phpinfo(INFO_MODULES); |
| ?> | ?> | ||
| </code> | </code> | ||
| Zeile 147: | Zeile 149: | ||
| cp /etc/php5/fpm/pool.d/{www,phpinfo-app}.conf | cp /etc/php5/fpm/pool.d/{www,phpinfo-app}.conf | ||
| - | <file txt /etc/php5/fpm/pool.d/phpinfo-app.conf | + | <file txt /etc/php5/fpm/pool.d/phpinfo-app.conf> |
| [phpinfo-app] | [phpinfo-app] | ||
| … | … | ||