I have a new account on a Plesk managed server with PHP FastCGI. The main php.ini for all the accounts has many functions disabled via disable_functions.
In particular mail() and socket related functions are disabled.
I am able to set values via .htaccess but I am unclear on how to re-enable the functions I need and so far I have not succeeded in Googling an answer.
Can someone give an example or direct me to documentation on re-enabling PHP mail() in this situation?
2
Answers
You can’t do it in htaccess. Only in php.ini: http://us1.php.net/manual/en/ini.core.php#ini.disable-functions
More over you can do it directly in Plesk GUI as per domain option starting with version 11.0.
Just find for “PHP settings” in domain’s hosting settings.