Zum Hauptinhalt springen
Support
0
Kontaktieren Sie uns
English
Nederlands
Español
Dedicated ServersFlexible VPSCloud-TechnologieColocationHerausforderungen in der ITSektorenCareers
Cloud Compute

Mit Cloud Compute haben Sie jederzeit und überall Zugriff auf ein Portal, über das Sie Ihre gesamte IT-Umgebung konfigurieren können – egal wo auf der Welt Sie sich befinden.

Cloud-Speicher

Zuverlässiger Zugriff auf Ihre Dateien, Infrastruktur und Anwendungen zu jeder Zeit – ganz ohne Unterbrechungen oder Verzögerungen. Bei Worldstream bieten wir eine Vielzahl von Speicherlösungen an.

Flexible cloud icon
Flexible Cloud
Private cloud icon
Private Cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Objektspeicher
Hollow cube icon
Dateiablage
Block storage icon
Blockspeicher
Backup storage icon
Sicherungsspeicher
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Dedicated Server

Wählen Sie jetzt Ihren Dedicated Server. Individuelle oder Instant Delivery. Leistungsstarke Server, die perfekt zu Ihrem Anwendungsfall passen.

Use Cases

Ganz gleich, welcher Use Case – wir helfen Ihnen, die ideale Lösung zu finden.

Deal servers icon
Deals
AMD servers icon
AMD-Prozessoren
AI servers icon
Intel-Prozessoren
Hollow cube icon
Virtualisierung, Containerisierung & Orchestrierung
Hollow cube icon
Websites & Applications
Hollow cube icon
Gaming & Streaming Infrastruktur
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Smartes Outsourcing

Bestimmte IT-Lösungen generieren Mehrwert, andere erfüllen eher eine unterstützende Funktion. Denken Sie beim Outsourcing daran.

Kosteneffizienz

IT-Komplettpakete mögen erstmal wie eine sichere Option erscheinen, doch wenn man sich die Kosten genau anschaut, sind andere Lösungen oft sinnvoller.

IT-Flexibilität und Kontrolle

Outsourcing heißt nicht, dass man die Kontrolle verliert; man bekommt sogar mehr Flexibilität und Kontrolle.

Cloud-Repatriierung

Die Cloud ist kein Endziel: Sie sollten Ihre Cloud-Umgebung kontinuierlich prüfen und an die sich ändernden Anforderungen anpassen.

Finanzdienstleistungen
Logistik und Transport
Einzelhandel und E-commerce
Medien und Unterhaltung
Technik und Softwareentwicklung
Sicherheit
Managed Service Provider
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Chatten Sie mit unsKontaktieren Sie uns
Über WorldstreamÜber die TechnologieKundenfälleWissensdatenbank
Über unsLernen Sie unser Team kennenJobsWerden Sie WiederverkäuferZertifizierungenUnsere RechenzentrenUnser NetzwerkDDoS-SchutzAMD EPYC-ServerTechnologiepartnerBetriebssystemeAlle KundenfälleEasyTerraDutch Drone CompanyPerfGridArtikelFAQNachrichten und BlogbeiträgeProdukte und Services
Kontaktieren Sie uns

Rufen Sie an unter +31 (0) 174 – 712 117 Industriestraat 53, Naaldwijk

English
Nederlands
Español
0
Dedicated ServersFlexible VPSCloud-TechnologieColocationHerausforderungen in der ITSektorenCareersÜber WorldstreamÜber die TechnologieKundenfälleWissensdatenbankMy Worldstream
Contact
Support
EnglishNederlandsEspañol
  1. HomeHome
  2. Knowledge Base
  3. Dedicated Servers
  4. Common PHP configuration settings and what they do

Common PHP configuration settings and what they do

Gilt für Dedicated Servers, VPS running PHP applicationsZielgruppe Developer, sysadminZuletzt geprüft September 2026

Kort antwoord

A handful of PHP settings cause most of the support questions: memory_limit, upload_max_filesize, post_max_size, max_execution_time, and display_errors. They're typically set in php.ini, and on some setups can be overridden per site or per directory.

Auf dieser Seite
  • Where these settings live
  • The settings that come up most often
  • Two settings that need to move together
  • Production versus development defaults

Where these settings live

PHP reads its configuration from a file called php.ini when it starts. On a typical Linux server there's often more than one copy, for example a separate one for the command-line interface and one for whatever runs PHP for the web server (PHP-FPM or an Apache module), so a change in the wrong file can look like it had no effect. Some hosting setups also allow overriding a subset of these settings per site or per directory, through an .htaccess file, a pool configuration file for PHP-FPM, or settings exposed in a control panel. Which method applies depends on how the server is set up, see Choosing a control panel: cPanel vs. DirectAdmin vs. no panel if a panel is involved. After changing php.ini directly, the web server or PHP-FPM service usually needs a restart before the new value takes effect.

The settings that come up most often

SettingWhat it controlsWhat happens if it's too low
memory_limitThe maximum amount of memory a single PHP script is allowed to use before PHP kills it.A script fails partway through with a fatal "Allowed memory size exhausted" error. This is a common cause of a large operation, such as a big file import or an image-processing job, failing partway rather than at the start.
upload_max_filesizeThe largest single file a script can accept through a file upload.An upload larger than this limit is rejected before the script even gets to process it.
post_max_sizeThe largest total size of an entire HTTP POST request, which includes the uploaded file plus any other form fields sent alongside it.The whole request is rejected, including any files within it, regardless of how upload_max_filesize is set.
max_execution_timeHow long, in seconds, a script is allowed to run before PHP forcibly stops it.A long-running operation, such as an import, export, or report generation, appears to hang and then fails partway through with no useful output.
display_errorsWhether PHP prints error messages, including file paths and stack traces, directly onto the page.Turned on: useful for spotting problems while developing locally. Left on for a public production site: a real information-disclosure risk, since error output can reveal file paths, database details, or other internals to anyone who triggers an error.

Two settings that need to move together

upload_max_filesize and post_max_size are frequently misunderstood as independent settings, but they work together. post_max_size caps the entire request, not just the file within it, so it needs to be equal to or larger than upload_max_filesize for a raised upload limit to actually take effect. Raising upload_max_filesize to allow a 50 MB file while leaving post_max_size at a smaller value simply means the request gets rejected at the post_max_size stage instead, with an error that can look confusingly unrelated to file size.

A typical pairing in php.ini looks like this:

upload_max_filesize = 64M post_max_size = 72M memory_limit = 256M max_execution_time = 300 Setting post_max_size slightly above upload_max_filesize gives a small amount of headroom for the other form fields sent alongside the file, which is a reasonable default when in doubt.

Production versus development defaults

display_errors deserves particular care because the right setting is different depending on the environment. On a local development machine, seeing the full error output on the page is genuinely useful, it's the fastest way to spot what broke. On a public-facing production site, that same behaviour hands anyone who can trigger an error a look at internal file paths, database queries, or other details that shouldn't be public. The usual production approach is to turn display_errors off and instead log errors to a file (via log_errors and error_log), so the information is still available to whoever is debugging the issue, without being shown to visitors.

Related articles

  • Hosting WordPress and WooCommerce on a dedicated server
  • Choosing a control panel: cPanel vs. DirectAdmin vs. no panel
War dieser Artikel hilfreich?

Solide IT. Keine Überraschungen

Sparringspartner für IT-Reife
Wir räumen die Hindernisse aus dem Weg, damit Sie freie Bahn haben
Vorhersehbare und transparente Kosten

Kontakt

  • Industriestraat 53, Naaldwijk
  • Zahlungsmöglichkeiten
  • Missbrauch
  • Ressourcen für Entwickler
  • Network Operations Center
  • Über uns
  • Lernen Sie unser Team kennen
  • Jobs
  • Werden Sie Wiederverkäufer
  • Zertifizierungen
  • Unsere Rechenzentren
  • Unser Netzwerk
  • DDoS-Schutz
  • AMD EPYC-Server
  • Technologiepartner
  • Betriebssysteme
  • Übersicht
  • FAQ
  • Kundenfälle
  • Nachrichten und Blogbeiträge
  • Use Cases
English
Nederlands
Español
English
Nederlands
Español
  • Rechtliches
  • Transparenzhinweis