Disable function mail php

  • yes, put the i-MSCP uses several "php.ini"
    ever did change, however this change will not stand, for it just to make any changes on the client it back to default setting.
    would be very interesting to have the option of disabling direct mail function in the configuration panel.

  • you can edit the php.ini in /var/www/fcgi/domain.tld/php5/


    search "disable_functions =" and add mail. After a update from i-mscp you must new edit the php.ini.

  • I-MSCP v1.1.11


    Code
    1. :/var/www# ls -lh
    2. total 8,0K
    3. drwxr-xr-x 6 root root 4,0K Jun 9 08:49 imscp
    4. drwxr-xr-x 37 root root 4,0K Jun 9 09:19 virtual


    fcgi directory does not exist


    but in
    /etc/php5/fpm/pool.d/domain.tld.conf
    add in
    php_admin_value[disable_functions] = show_source,system,shell_exec,passthru,exec,phpinfo,shell,symlink,proc_open,popen,mail
    Resolved.


    Nuxwin plans to deploy the "mail" at:
    Value for the disable_functions directive ?


    I think very valid!

  • ah, ok. With php-fpm is this the correct path.

  • @remonti


    Sure, I can add this option.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206