• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Additional Directives - PHP Extension

Ian Cunningham

New Pleskian
I'm running PP 11.0.9 on Windows 2008 R2 and I've tried to add a PHP extension to the additional directives box of the PHP settings page (domain), however this has no effect on PHP. If I add the extension manually to PHP.ini then it works fine, but adding it to the "additional directives" box does nothing - I've confirmed this on 3 different servers, it does the same on all of them.

I did some searching and it looks like others have this problem too:

http://stackoverflow.com/questions/12741931/loading-php-extensions-using-plesk

Is this a bug?
 
Sorry for the slow reply, I have just revisited this issue.

According to the documentation it isn't possible to load an extension via the additional directives box, as the link to the PHP.net docs says it's only available by editing php.ini.

However, the description for the additional directives box says:

Use the same syntax as you use for php.ini. For example, if you want to automatically load the mSQL extension, add the line: extension=msql.so.

So that implies that it is indeed possible?
 
Back
Top