Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | Nächste ÜberarbeitungBeide Seiten der Revision | ||
content:apache_phpfpm [2022/11/22 22:01] – [Manage Database with phpMyAdmin] Daniel | content:apache_phpfpm [2022/11/23 09:01] – [About PHP- Modules] Daniel | ||
---|---|---|---|
Zeile 230: | Zeile 230: | ||
==== About PHP- Modules ==== | ==== About PHP- Modules ==== | ||
- | many modules for PHP are offered in the Distrubution. I **would not recommend using those** | + | many modules for PHP are offered in the Distrubution. I **would not recommend using those** - as all php-modules need to be compiled against your php. If you update PHP and your modules are not copiled to that version, they may brake your PHP! |
Better use pearl / pecl and install modules with it! Here, i have found no other way, than to search for php-pear and php-pecl in the distribution and use them. | Better use pearl / pecl and install modules with it! Here, i have found no other way, than to search for php-pear and php-pecl in the distribution and use them. | ||
Zeile 238: | Zeile 238: | ||
Which can be found in the Repo: [[https:// | Which can be found in the Repo: [[https:// | ||
- | After that, modules can be installed by e.g. "pecl install imagick" | + | After that, modules can be installed by e.g. "pecl install imagick" |
+ | |||
+ | To make pecl/paer alter the ini automagically, | ||
+ | < | ||
+ | |||
+ | pear config-set php_ini / | ||
+ | pecl config-set php_ini / | ||
+ | |||
+ | </ | ||
Restart php-fpm for the changes and check the log of php-fpm (usually in / | Restart php-fpm for the changes and check the log of php-fpm (usually in / | ||
+ | |||
==== Tell Apache to use php-fpm ==== | ==== Tell Apache to use php-fpm ==== |