Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions source/content/guides/php/03-settings-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ integration: [--]
tags: [site, database]
showtoc: true
permalink: docs/guides/php/settings-php
reviewed: "2022-12-13"
reviewed: "2025-12-08"
---

This section provides information on how to configure the `settings.php` file for a Drupal site. Refer to [Configure Your wp-config.php File](/guides/php/wp-config-php) if you have a WordPress site.
Expand Down Expand Up @@ -255,18 +255,6 @@ Drupal 7 sites that plan to use [Drush](/guides/drush) should have a `settings.p

No. `settings.pantheon.php` is for Pantheon's use only and you should only modify the `settings.php` file. The `settings.pantheon.php` file might change in future updates, and modifying it would cause conflicts.

### How do I enable ionCube Decoder support?

1. Verify that you are running [PHP 7.1](/guides/php/php-versions) if you are using a licensed plugin that requires ionCube Decoder support. Please note that later PHP versions do not currently support ionCube.

1. Enable ionCube Decoder support site-wide by adding this line to `settings.php`:

```php:title=settings.php
ini_set('ioncube.loader.encoded_paths', '/');
```

More information can be found in our [PHP 7.1 & ionCube Decoder Now Available for All Sites on Pantheon](https://pantheon.io/blog/php-71-ioncube-decoder-now-available-all-sites-pantheon) blog post.

## Troubleshooting

### Request to a remote API does not return expected response
Expand Down
12 changes: 0 additions & 12 deletions source/content/guides/php/04-wp-config-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,6 @@ You don't need to specify database credentials. Pantheon automatically injects
- [Pantheon WordPress](https://github.com/pantheon-systems/WordPress/blob/default/wp-config.php)
- [WordPress Core](https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php)

### How do I enable ionCube Decoder support?

1. Verify that you are running [PHP 7.1](/guides/php/php-versions) if you are using a licensed plugin that requires ionCube Decoder support. Please note that later PHP versions do not currently support ionCube.

1. Enable ionCube Decoder support site-wide by adding this line to `settings.php`:

```php:title=settings.php
ini_set('ioncube.loader.encoded_paths', '/');
```

More information can be found in our [PHP 7.1 & ionCube Decoder Now Available for All Sites on Pantheon](https://pantheon.io/blog/php-71-ioncube-decoder-now-available-all-sites-pantheon) blog post.

### Can I increase the memory limit of my WordPress site?

WordPress installations have a core PHP memory limit of 40MB for single sites and 64MB for WordPress Multisites by default.
Expand Down
10 changes: 4 additions & 6 deletions source/content/php-runtime-generation-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ Once the Dev environment for a site has been upgraded to Generation 2, deploying
| **Apache Tika** | 1.18, 1.21 | 1.18, 1.21, [3.2](/external-libraries#apache-tika) |
| **PhantomJS** | 1.7.0, 2.1.1 available | Not available |

<sup>1</sup> Support for this OS Package will be added after the platform-wide rollout begins. If you depend on this OS Package, we recommend you <a href="#q-how-do-i-opt-out-of-php-runtime-generation-2">opt out of Runtime Generation 2</a> for now. <br /><br />
<sup>1</sup> Support for this OS Package will be added soon. If you depend on this OS Package, <a href="#q-how-do-i-opt-out-of-php-runtime-generation-2">opt out of Runtime Generation 2</a> for now. <br /><br />

### PHP Extensions

| Extension | Gen 1 | Gen 2 |
|-----------|---------|---------|
| **ioncube** | Available for PHP 7.1 only | Not available <sup>1</sup> |
| **pdo_sqlsrv** | Available for PHP 7.2 only<br/>5.2.0 | Not available <sup>1</sup> |
| **ioncube** | Available for PHP 7.1 only | Not available |
| **pdo_sqlsrv** | Available for PHP 7.2 only<br/>5.2.0 | Coming soon for PHP 8.2+ |
| **curl** | v7.61.1 | 7.88.1 |
| **gd** | 2.1.0 | 2.3.3 |
| **iconv** | 2.28 | 2.36 |
Expand All @@ -100,8 +100,6 @@ Once the Dev environment for a site has been upgraded to Generation 2, deploying
| **redis** | 5.3.7<br/>Compression types: zstd | 6.2.0<br/>Compression types: zstd, lzf, lz4 |
| **sqlite3** | 3.26.0 | 3.40.1 |

<sup>1</sup> Does your application require an OS package or PHP extension that is no longer available? Please reach out to us to discuss compatibility by contacting your Customer Success Manager or creating a support ticket.

### Networking

| Protocol | Gen 1 | Gen 2 |
Expand Down Expand Up @@ -144,7 +142,7 @@ You may opt-out of the platform rollout by setting the following in your `panthe
php_runtime_generation: 1
```

Note: All sites will be auto-upgraded in early 2026 if they haven't already, including sites that specify the opt-out above.
Note: All sites will be auto-upgraded starting April 6, 2026, if they haven't already, including sites that specify the opt-out above.

### Q: Can I switch back to the previous PHP runtime if I encounter issues?

Expand Down
11 changes: 11 additions & 0 deletions source/releasenotes/2025-12-08-ioncube-removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "ionCube will be removed from the platform on March 8, 2026"
published_date: "2025-12-08"
categories: [infrastructure, action-required]
---

We are removing [ionCube](https://www.ioncube.com/) support from the platform on March 8, 2026. This PHP extension was prevously only available for PHP 8.1 on PHP Runtime Generation 1.

Pantheon continually reviews our PHP runtime and explores opportunities to optimize performance and build times.

If your application uses ionCube, please [contact support](/guides/support/contact-support) or your Customer Success Manager to explore options for your use case.