• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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