Most websites, including WordPress, run on PHP. Each new PHP version is faster and more secure, and older ones stop getting security fixes after a few years. You can choose your version yourself, and change it back at any time.
Change the PHP version
- Open DirectAdmin from your service page (one-click login).
- Go to Extra Features → Select PHP Version.
- Choose a version from the list and Set as current.
The change applies straight away to every site on your account. Open your website afterwards and click through a few pages to check it works.
Which version? The newest version your website supports. For WordPress, check Tools → Site Health, which warns you if your PHP is out of date, and update WordPress, your theme and your plugins first, so they're ready for the newer version.
Turn extensions on or off
On the same page, under Extensions, tick the ones your app needs. Most apps list what they need in their installation guide; common ones like mysqli, curl, gd, intl, mbstring and zip are usually on already. Changes save as you tick.
Raise limits (upload size, memory, time)
Choose Options on the same page to change PHP's settings. The ones people change most:
| Setting | What it does | Change it when |
|---|---|---|
upload_max_filesize |
The largest file you can upload | You can't upload a big image, video or plugin |
post_max_size |
The largest form submission | Set it a bit larger than upload_max_filesize |
memory_limit |
Memory a single page can use | You see "Allowed memory size exhausted" |
max_execution_time |
Seconds a page can run for | Imports or backups stop part-way |
max_input_vars |
Fields a form can send | Large menus or theme options don't fully save |
Your plan's limits still apply, so raising a setting beyond what the plan allows won't help. If your site keeps hitting the limits, see Upgrading, downgrading and changing billing.
Something broke after changing version?
Set the previous version again: it takes effect immediately. Then look for updates to your app, theme or plugins that support the newer version, and try again.
You can also see the exact error. In WordPress, add define('WP_DEBUG', true); to wp-config.php for a moment (and remove it when you're done), or check the error log for your domain in DirectAdmin under System Info & Files → Site Summary / Statistics / Logs.
Not sure which version your app needs? Open a ticket and we'll check for you.
Open a ticket and a real person will help you, any time of day.
Open a ticket Other ways to reach us