De-/Activate div. php-modules for certain sites

Discussion in 'Installation/Configuration' started by sighns, Jul 14, 2013.

  1. sighns

    sighns New Member

    Hi there,

    i'm using ispconfig 3 on debian 6 with an apache.
    Is it possible to de-/activate div. php-modules for a certain site?
    In my example i want to disable curl for a subdomain(vhost) and not for the complete server.

    Cheers,

    sighn
     
  2. sighns

    sighns New Member

    So many people and no one have an idea? :\
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    as far as I know, you can not dosable modules on a per site basis in php. But what you can do is to diable the php functions that the curl module offers. See

    disable_functions

    in php.ini. You cann add the line to dsable the functions in the custom php.ini field of the website (ensure that you use php mode php-fcgi, php-fpm or php-cgi).
     

Share This Page