dienste:bytecluster0002:wordpress-technikkultur

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
dienste:bytecluster0002:wordpress-technikkultur [13.01.2021 22:14] – IP-Rewrite für Proxy IP mape2kdienste:bytecluster0002:wordpress-technikkultur [05.08.2023 14:38] (aktuell) – Upgrade PHP 8.2 mape2k
Zeile 23: Zeile 23:
  
   - NGINX und PHP-FPM installieren   - NGINX und PHP-FPM installieren
-    * **sudo apt-get install php7.3 php7.3-cli php7.3-fpm php7.3-gd php7.3-xml php7.3-zip php7.3-mbstring php7.3-mysql php7.3-imagick php7.3-curl nginx**+    * **sudo apt-get install php8.2 php8.2-cli php8.2-fpm php8.2-gd php8.2-xml php8.2-zip php8.2-mbstring php8.2-mysql php8.2-imagick php8.2-curl nginx**
   - Default-Konfiguration anpassen<file|/etc/nginx/sites-available/default>   - Default-Konfiguration anpassen<file|/etc/nginx/sites-available/default>
 server { server {
Zeile 62: Zeile 62:
  include fastcgi_params;  include fastcgi_params;
  fastcgi_intercept_errors on;  fastcgi_intercept_errors on;
- fastcgi_pass unix:/run/php/php7.3-fpm.sock;+ fastcgi_pass unix:/run/php/php8.2-fpm.sock;
  #The following parameter can be also included in fastcgi_params file  #The following parameter can be also included in fastcgi_params file
  fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;  fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
Zeile 73: Zeile 73:
 } }
 </file>  </file> 
-  - PHP-Konfiguration für Upload anpassen<file|/etc/php/7.3/fpm/php.ini> +  - PHP-Konfiguration für Upload anpassen<file|/etc/php/8.2/fpm/conf.d/99-local.ini>
-... +
-; Maximum size of POST data that PHP will accept. +
-; Its value may be 0 to disable the limit. It is ignored if POST data reading +
-; is disabled through enable_post_data_reading. +
-; http://php.net/post-max-size+
 post_max_size = 20M post_max_size = 20M
-... 
-; Maximum allowed size for uploaded files. 
-; http://php.net/upload-max-filesize 
 upload_max_filesize = 20M upload_max_filesize = 20M
-... 
 </file> </file>
   - Dienste aktivieren und neustarten   - Dienste aktivieren und neustarten
-    * **sudo systemctl enable nginx.service php7.3-fpm.service** +    * **sudo systemctl enable nginx.service php8.2-fpm.service** 
-    * **sudo systemctl restart nginx.service php7.3-fpm.service**+    * **sudo systemctl restart nginx.service php8.2-fpm.service**
  
 ==== Wordpress ==== ==== Wordpress ====
  • dienste/bytecluster0002/wordpress-technikkultur.txt
  • Zuletzt geändert: 05.08.2023 14:38
  • von mape2k