Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
content:apache_phpfpm [2020/04/05 19:32] – [Howto setup a LAMP-Server in 2018] Danielcontent:apache_phpfpm [2020/04/06 08:49] – [About PHP- Modules] Daniel
Zeile 182: Zeile 182:
 Which can be found in the Repo: [[https://build.opensuse.org/project/show/devel:languages:php|https://build.opensuse.org/project/show/devel:languages:php]] Which can be found in the Repo: [[https://build.opensuse.org/project/show/devel:languages:php|https://build.opensuse.org/project/show/devel:languages:php]]
  
-After that, modules can be installed by e.g. "pecl install imagick". They also need to be loaded in php.conf. I would make an new config named /etc/php7/conf.d/pear_pecl.conf and include they modules there. E.g. "extension=imagick.so"+After that, modules can be installed by e.g. "pecl install imagick". They also need to be loaded in php.conf. I would make an new config named /etc/php7/conf.d/pear_pecl.ini and include they modules there. E.g. "extension=imagick.so"
  
 Restart php-fpm for the changes and check the log of php-fpm (usually in /var/log/php-fpm.log) for errors when loading modules. Restart php-fpm for the changes and check the log of php-fpm (usually in /var/log/php-fpm.log) for errors when loading modules.
Zeile 233: Zeile 233:
 <code> <code>
 sudo systemctl start apache2 sudo systemctl start apache2
-sudo systemctl enable php-fpm+sudo systemctl enable apache2
  
 </code> </code>
Zeile 239: Zeile 239:
 check if the modules have beend loaded: check if the modules have beend loaded:
  
 +<code>
 apache2ctl -M apache2ctl -M
 +
 +</code>
  
 This should include proxy_fcgi_module now. This should include proxy_fcgi_module now.
 +
  
 ==== Create a PHP- Test- File ==== ==== Create a PHP- Test- File ====
  • content/apache_phpfpm.txt
  • Zuletzt geändert: 2023/10/01 10:24
  • von Daniel