🔬
Documentation
  • 👋Development Documentation
  • Overview
    • 💡What we do
    • ✨Our Features
  • Product Guides
    • 📪Making a post
    • 📎Understanding Projects
  • Fundamentals
    • 🛠️Getting set up
      • 📝Setting permissions
      • 🧑Inviting Members
  • Use Cases
    • 🎨For Designers
    • Page 1
    • 🖥️For Developers
      • Example of .gitignore
      • Cusotm Theme File Sync script for specified directories with auto git commit
    • ◀️List of Plugins
    • 👨‍💻Tips and Tricks
      • CLI schedule task and consume service
      • ♻️Automatic database backup (Updated)
      • 🛠️Execute a command from host to docker using terminal
      • 📋Shopware 6 commands
      • 😀Activate all plugins via CLI
      • ☠️Kill a process on a port [Linux]
      • 📄How do you import the database using CLI
      • 👨‍🔧Change PHP Configuration [Terminal]
      • 👁️Access to PHP Path Aixspro
      • 🌐Manage Apache services [Linux]
    • 📄SQL Tips & Tricks (shopware 6)
Powered by GitBook
On this page
  • How to execute php memory limit change commands with different memory_limit
  • Change PHP Configuration [Terminal]
  1. Use Cases
  2. Tips and Tricks

Change PHP Configuration [Terminal]

easiest method i know

How to execute php memory limit change commands with different memory_limit

php -d memory_limit=-1 bin/console

use for changing the memory limit as the default memory limit exhausted

Change PHP Configuration [Terminal]

sudo service apache2 restart

you must restart the apache service for applying the change by using

you can change any .ini file if you replace ‘ ‘ field

sed -i 's,^memory_limit =.*$,memory_limit = 1G,' /etc/php/8.1/apache2/php.ini

for example, if you would like to change upload_max_filesize

grep '^memory_limit' /etc/php/8.1/apache2/php.ini

Check what version you are currently using:

php -v
PreviousHow do you import the database using CLINextAccess to PHP Path Aixspro

Last updated 2 years ago

👨‍💻
👨‍🔧