• 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

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