Magento systeemeisen: PHP, geheugen en configuratie
Magento 2 is een krachtig maar veeleisend platform. In dit artikel bespreken we de systeemeisen en hoe je je hosting optimaliseert voor Magento.
Minimale systeemeisen Magento 2.4
| Component | Minimum | Aanbevolen |
|---|---|---|
| PHP | 8.1 | 8.2 |
| MySQL | 8.0 | 8.0 |
| MariaDB | 10.4 | 10.6 |
| RAM | 2GB | 4GB+ |
| Schijfruimte | 5GB | 10GB+ |
| Elasticsearch | 7.17 | 8.x |
PHP extensies
Magento vereist deze PHP extensies:
- bcmath
- ctype
- curl
- dom
- gd
- hash
- iconv
- intl
- mbstring
- openssl
- pdo_mysql
- simplexml
- soap
- xsl
- zip
- sockets
Bij Theory7 zijn alle benodigde extensies standaard geïnstalleerd.
PHP instellingen aanpassen
Optimale PHP instellingen voor Magento:
memory_limit = 2G
max_execution_time = 18000
max_input_vars = 10000
upload_max_filesize = 64M
post_max_size = 64M
Instellingen wijzigen
- Ga naar PHP Selector in DirectAdmin
- Klik op "Options of "php.ini Editor
- Pas de waardes aan
- Klik op "Save
Composer
Magento gebruikt Composer voor package management. Dit is beschikbaar via SSH:
composer --version
Elasticsearch / OpenSearch
Magento 2.4+ vereist Elasticsearch of OpenSearch voor zoekfunctionaliteit. Neem contact op met support voor installatie op VPS.
Aanbevolen hostingpakket
| Webshop grootte | Aanbevolen pakket |
|---|---|
| < 1000 producten | Premium Hosting |
| 1000-5000 producten | VPS Basic |
| > 5000 producten | VPS Pro of hoger |
Performance tips
- Gebruik PHP 8.2 - Snelste PHP versie voor Magento
- Enable OPcache - Standaard ingeschakeld
- Gebruik LiteSpeed Cache - Zie ons LiteSpeed artikel
- Minimaliseer extensies - Alleen wat je nodig hebt
- Overweeg een CDN - Voor afbeeldingen en statische bestanden
Hulp nodig?
Vragen over Magento systeemeisen? Neem contact op met onze support.
Was dit artikel nuttig?
0 van 0 vonden dit nuttig