HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   De-/Activate div. php-modules for certain sites (http://www.howtoforge.com/forums/showthread.php?t=62536)

sighns 14th July 2013 03:22

De-/Activate div. php-modules for certain sites
 
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

sighns 28th August 2013 21:46

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

till 29th August 2013 08:47

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).


All times are GMT +2. The time now is 21:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.