Skip to main content
Config

php.ini Generator

Generate a tuned php.ini for your workload.

; Generated by HostingSwift — review before applying
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 60
max_input_time = 60
max_input_vars = 3000
display_errors = Off
log_errors = On
error_reporting = E_ALL & ~E_DEPRECATED
session.gc_maxlifetime = 1440
opcache.enable = 1
opcache.memory_consumption = 128
opcache.max_accelerated_files = 10000

Generated in your browser. Free, nothing is uploaded.

About this tool

Free php.ini generator tool. Generate a tuned php.ini for your workload. No signup, nothing uploaded.

Frequently asked questions

Is the output safe to use?

It is a conservative starting point — always review it before applying.

Do you need access to my server?

No. Paste the config yourself after reviewing.

Can I customise it?

Set domains, ports and paths in the fields, then edit the output.

Need more than a tool?

HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.