Allow to switch allow_url_include parameter by .user.ini.
I found the similar KB here
https://support.plesk.com/hc/en-us/articles/213954385-Not-possible-to-set-allow-url-fopen-parameter-in-Plesk-12-5
but "allowuriinclude" this time. I think this directive is not good to enable globally, so I tried to set it by .user.ini base but the parameter stayed unchanged.
With only 3 votes in 5 years this request has not become popular enough to be included in future updates. Instead, a very easy option is already available today: Simply add the required setting into the "Additional PHP Directives" section on the PHP configuration page of a domain.
-- PD
-
Anonymous commented
Yes, that's what I meant. Thank you for your breakdown and perfect explanation.
-
Pavel Vasilevich commented
Returning to your original request: allow_uri_include parameter (according to official PHP documentation) http://php.net/manual/en/filesystem.configuration.php is PHP_INI_SYSTEM parameter. This means that it cannot be modified at .user.ini level as well as allow_url_fopen parameter.
So, your request is to add management of this option in Plesk. Am I right?
Right now you can manage this option in Plesk inside section "Additional directives" at PHP Settings page. -
Anonymous commented
I am using Plesk for Linux.
-
Pavel Vasilevich commented
Are you using Plesk for Windows, or Plesk for Linux?
-
Anonymous commented
Thank you for your reply. I may have had a wrong question for this forum. Please tell me if this doesn't not concern any Plesk original server setting.
We have a hosting plan for shared server which allows the users only to swicth php version but not allows to change the php parameters in their plesk panel. We suggest users to configure parameters on their site by putting .user.ini at thier DocumentRoot or the sub directories.
As for the directives like memory_limit, post_maxsize, mbstring.http_input an others, they can customize by .user.ini.
* Of course, as Plesk administrator, we can edit a certain domain's PHP parameters by editing additional directives at PHP setting of the website.Thank you.