How can one disable php functions on a per vhost level? I have added to the vhost.conf file the following: Then I used: But it still allows the fsockopen(); in php for this vhost? Is this possible to do or do I not have the correct syntax? The reason I am doing this is to prevent customers from using thier own php sendmail programs and opening massive amounts of socks which leads to apache crashes with the [crit] too many files open error. I can't disable the functions in php.ini because then webmail cannot send any email. Alternatively, I would appreciate if anyone knows how I can designate a different php path for webmail?