Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:misc [2025-09-29 Mon wk40 13:16] – [php packages] baumkphome_server:home_server_setup:other_services:misc [2025-09-29 Mon wk40 13:35] (current) – [php packages] baumkp
Line 32: Line 32:
  
 =====php packages===== =====php packages=====
 +
 +++++Current main used php extenstions:|
 |<38em 28% 36% 12% 12% 12%>| |<38em 28% 36% 12% 12% 12%>|
 ^ package  ^ description  ^  mail server  ^  nextcloud  ^  wiki  ^ ^ package  ^ description  ^  mail server  ^  nextcloud  ^  wiki  ^
Line 72: Line 74:
 | pkg-php-tools  |    ✔  |  ✘  |  ✘  | | pkg-php-tools  |    ✔  |  ✘  |  ✘  |
 | pkg-session  |    ✔1  |    |    | | pkg-session  |    ✔1  |    |    |
 +++++
 ++++Here’s a list of common PHP extensions used for various functionalities, such as handling images, databases, encryption, and performance optimizations:| ++++Here’s a list of common PHP extensions used for various functionalities, such as handling images, databases, encryption, and performance optimizations:|
 +  * It would seem that packages can vary from distribution to distribution and over time?
   - Essential PHP Extensions   - Essential PHP Extensions
-These are commonly required for most web applications: +      *These are commonly required for most web applications: 
- +        *php - includes php-cli and php-fpm 
-    php-cli – Command-line interface for PHP. +        *php-cli – Command-line interface for PHP (used where only php command line interface is required, no fpm) 
-    php-common – Core PHP libraries. +        *php-fpm - serves php onto a web server (Used where only web server integration is required, no cli) 
-    php-json – JSON data handling. +        *php-common – Core PHP libraries 
-    php-opcache – Improves performance via caching. +        *php-json – JSON data handling 
-    php-readline – Enables command-line interaction+        *php-opcache – Improves performance via caching 
 +        *php-readline – Enables command-line interaction
   - Web-Related Extensions   - Web-Related Extensions
- +        *php-curl – Handles HTTP requests (e.g., API calls) 
-    php-curl – Handles HTTP requests (e.g., API calls). +        *php-mbstring – Supports multibyte strings (needed for UTF-8) 
-    php-mbstring – Supports multibyte strings (needed for UTF-8). +        *php-xml – XML parsing and processing 
-    php-xml – XML parsing and processing. +        *php-zip – Handles ZIP archives 
-    php-zip – Handles ZIP archives. +        *php-gd – Image processing 
-    php-gd – Image processing. +        *php-imagick – Alternative image processing (using ImageMagick) 
-    php-imagick – Alternative image processing (using ImageMagick). +        *php-bcmath – Arbitrary precision math (needed for some applications) 
-    php-bcmath – Arbitrary precision math (needed for some applications). +  -Database Support 
- +        *php-mysql – MySQL/MariaDB support 
-3. Database Support +        *php-pgsql – PostgreSQL support 
- +        *php-sqlite3 – SQLite database support 
-    php-mysql – MySQL/MariaDB support. +        *php-redis – Redis caching support 
-    php-pgsql – PostgreSQL support. +        *php-mongodb – MongoDB driver for PHP 
-    php-sqlite3 – SQLite database support. +  -Security and Encryption 
-    php-redis – Redis caching support. +        *php-openssl – SSL/TLS support 
-    php-mongodb – MongoDB driver for PHP. +        *php-mcrypt – Deprecated, but some old applications still need it 
- +        *php-sodium – Modern cryptography 
-4. Security and Encryption +        *php-intl – Internationalization support 
- +  -Performance and Debugging 
-    php-openssl – SSL/TLS support. +        *php-xdebug – Debugging and profiling 
-    php-mcrypt – Deprecated, but some old applications still need it. +        *php-apcu – APCu caching for performance 
-    php-sodium – Modern cryptography. +        *php-memcached – Memcached caching support
-    php-intl – Internationalization support. +
- +
-5. Performance and Debugging +
- +
-    php-xdebug – Debugging and profiling. +
-    php-apcu – APCu caching for performance. +
-    php-memcached – Memcached caching support.+
 ++++ ++++
 ---- ----