Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| os_nextcloud [2025/04/14 08:06] – [Optimized PHP-FPM Configuration] Júne Park | os_nextcloud [2026/02/20 06:35] (current) – [Required packages] Júne Park | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code bash> | <code bash> | ||
| sudo apt install php8.x php8.x-common php8.x-gmp php8.x-mbstring php8.x-readline php8.x-xmlrpc php8.x-bcmath php8.x-curl php8.x-igbinary php8.x-mcrypt php8.x-redis php8.x-zip php8.x-bz2 php8.x-fpm php8.x-imagick php8.x-mysql php8.x-soap php8.x-cli php8.x-gd php8.x-intl php8.x-opcache php8.x-xml | sudo apt install php8.x php8.x-common php8.x-gmp php8.x-mbstring php8.x-readline php8.x-xmlrpc php8.x-bcmath php8.x-curl php8.x-igbinary php8.x-mcrypt php8.x-redis php8.x-zip php8.x-bz2 php8.x-fpm php8.x-imagick php8.x-mysql php8.x-soap php8.x-cli php8.x-gd php8.x-intl php8.x-opcache php8.x-xml | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt install php8.3-bcmath php8.3-common php8.3-gd php8.3-imagick php8.3-mcrypt php8.3-readline php8.3-xml php8.3 php8.3-bz2 php8.3-curl php8.3-gmp php8.3-intl php8.3-mysql php8.3-redis php8.3-xmlrpc php8.3-apcu php8.3-cli php8.3-fpm php8.3-igbinary php8.3-mbstring php8.3-opcache php8.3-soap php8.3-zip | ||
| </ | </ | ||
| Line 188: | Line 192: | ||
| ; | ; | ||
| opcache.interned_strings_buffer = 16 | opcache.interned_strings_buffer = 16 | ||
| + | opcache.memory_consumption = 256 | ||
| </ | </ | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ---- | ||
| ==== Nextcloud-Specific Tweaks ==== | ==== Nextcloud-Specific Tweaks ==== | ||
| Line 276: | Line 284: | ||
| ---- | ---- | ||
| + | ===== Alter datadirectory after installation ===== | ||
| + | |||
| + | <code ini> | ||
| + | ncdir='/ | ||
| + | olddata='/ | ||
| + | newdata='/ | ||
| + | </ | ||
| + | |||
| + | Turn maintenance mode on | ||
| + | |||
| + | <code bash> | ||
| + | sudo -u www-data php " | ||
| + | </ | ||
| + | |||
| + | Move / Copy datadirectory for your purpose. | ||
| + | |||
| + | Change '' | ||
| + | |||
| + | <code bash> | ||
| + | sudo sed -i " | ||
| + | </ | ||
| + | |||
| + | Before change database dataset, backup database for your safety. | ||
| + | |||
| + | Adjust '' | ||
| + | |||
| + | <code mysql> | ||
| + | mysql -u" | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| ===== Solved Problems ===== | ===== Solved Problems ===== | ||