Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to enable a disabled PHP function in cPanel?

The function I want to use is imagettftext().

share|improve this question

migrated from stackoverflow.com Mar 12 '11 at 0:42

This question came from our site for professional and enthusiast programmers.

Which specific function are you talking about? If you don't reply in timely manner question will be closed –  Framework Mar 11 '11 at 15:43
@Shakti imagettftext() –  Pinky Mar 11 '11 at 15:43
Somewhat doubting between offtopic --> serverfault and not a real question. This question is not really programming related. A quick Google search yields a result you'll probably find useful: docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/PhpIni –  Aron Rotteveel Mar 11 '11 at 15:44
@Aron @Surreal I think there is a way this to be done through .htaccess. It is still kind of programming problem! –  Pinky Mar 11 '11 at 15:48

1 Answer 1

You have to enable the GD library with PHP to use these functions and there is nothing in cpanel to enable disable you have to go with php.ini file and enable the GD library and restart apache after updating php.ini that's all.

share|improve this answer
Thanks very much! –  Pinky Mar 11 '11 at 15:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.