PHP Extensions and Settings¶
Plesk gives you the ability to enable or disable specific PHP extensions, and also to manually configure a wide range of PHP settings. These settings can be configured for every PHP version independently of all others (for example, you can set up a list of enabled extensions for PHP 5.3 that is entirely different to that of PHP 5.4) and are applied to every PHP handler type (for example, if you enable the xdebug extension for PHP 5.3, it will be enabled for all domains using PHP 5.3, whether they use CGI, FastCGI, or PHP-FPM handler).
To change the PHP settings for an individual PHP version, go to Tools & Settings > PHP Settings and click the name of any of the PHP version + handler type combinations whose PHP version matches that whose settings you want to change. For example, if you want to change settings for PHP 5.3, you can click either 5.3.3 Apache module or 5.3.3 FastCGI application. You can manage the following PHP settings here:
- Enable or disable PHP extensions from a predefined list.
- Configure the desired PHP settings by editing the
php.ini
file.
Any changes you make will be in effect for all websites using that PHP version. Note that customers who have the permission to manage PHP settings are able to configure certain PHP settings for their domains and subdomains. Settings they configure on the domain level will override server-wide settings.