To change the status of a function, you can use custom initialization (php5.ini) files. For more information, see What filename does my PHP initialization file need to use?
php5.ini