This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:apache [2026/09/19 16:21] – [Check configuration] Bernard Condrau | deb13:apache [2026/11/15 09:03] (current) – [PHP Extensions] Bernard Condrau | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - If you are migrating from an old server, follow the [[deb11: | - If you are migrating from an old server, follow the [[deb11: | ||
| - Run '' | - Run '' | ||
| + | |||
| ===== Apache Settings ===== | ===== Apache Settings ===== | ||
| - | |||
| - | ==== Harden apache ==== | ||
| - | * change // | ||
| - | * add //Require all granted// to your web space, possibly exclude black listed ip addresses, and restrict access to phpmyadmin etc. Put a respective conf file into / | ||
| - | |||
| - | ==== MaxRequestedWorkers ==== | ||
| - | Modify / | ||
| - | vim / | ||
| - | MaxRequestedWorkers 400 | ||
| - | ServerLimit 400 | ||
| - | $ sudo service apache2 restart</ | ||
| - | |||
| ==== Basic configuration for your web root ==== | ==== Basic configuration for your web root ==== | ||
| * Add your custom configuration file ''/ | * Add your custom configuration file ''/ | ||
| Line 52: | Line 41: | ||
| * Check the configuration and fix errors if you have any:< | * Check the configuration and fix errors if you have any:< | ||
| * Restart the web server:< | * Restart the web server:< | ||
| + | |||
| + | ==== Harden apache ==== | ||
| + | * change // | ||
| + | * add //Require all granted// to your web space, possibly exclude black listed ip addresses, and restrict access to phpmyadmin etc. Put a respective conf file into / | ||
| + | |||
| + | ==== MaxRequestedWorkers ==== | ||
| + | Modify / | ||
| + | vim / | ||
| + | MaxRequestedWorkers 400 | ||
| + | ServerLimit 400 | ||
| + | $ sudo service apache2 restart</ | ||
| ==== Check configuration ==== | ==== Check configuration ==== | ||
| Line 74: | Line 74: | ||
| ===== PHP Extensions ===== | ===== PHP Extensions ===== | ||
| - | * PHP extensions for Joomla:< | + | * PHP extensions for Joomla:< |
| - | * PHP extensions for Wiki:< | + | * PHP extensions for Wiki:< |
| - | * PHP extensions for phpMyAdmin:< | + | * PHP extensions for phpMyAdmin:< |
| - | * PHP extensions for vps:< | + | * PHP extensions for vps:< |
| - | * Required for PHP7:< | + | * Restart the service:< |
| - | * Restart the service | + | |
| - | $ sudo service apache2 restart</ | + | |
| ===== Set or change PHP version ===== | ===== Set or change PHP version ===== | ||
| Line 108: | Line 106: | ||
| ==== php.ini ==== | ==== php.ini ==== | ||
| - | * < | + | * < |
| max_input_vars = 2000 | max_input_vars = 2000 | ||
| memory_limit = 512M | memory_limit = 512M | ||