Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
content:apache_phpfpm [2022/11/22 20:17] – [Install MariaDB (MySql)] 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 ==== | ||
Zeile 333: | Zeile 342: | ||
==== Manage Database with phpMyAdmin ==== | ==== Manage Database with phpMyAdmin ==== | ||
- | To manage your local Database, it would be nice to have phpMyAdmin installed first (via Package-manager). After that, copy the config.sample.inc.php to config.inc.php under / | + | To manage your local Database, it would be nice to have phpMyAdmin installed first (via Package-manager). After that, copy the config.sample.inc.php to config.inc.php under / |
- | < | + | |
You can finish the setup of your phpMyAdmin by visiting [[http:// | You can finish the setup of your phpMyAdmin by visiting [[http:// | ||
+ | |||
+ | Hint: phpMyAdmin in Opensuse seems to be reduced in functionality. For example generating config.inc.php with [[http:// | ||
+ | |||
==== About security of your WEB- Page (Scripts) ==== | ==== About security of your WEB- Page (Scripts) ==== |