Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

PHP function imageline on localhost works, but on VPS cloud hosting doesn't. I guess I have download something, but I don't know what. Could you give me a hand?

P.S. PHP GD is already downloaded.

share|improve this question
add comment

1 Answer 1

Downloaded or installed?

It isn't enough to just download it, you need to install and enable it. You didn't provide what OS is there on your VPS, so I can't say how exactly. In CentOS/RHEL/Fedora you can do it by using yum install php-gd (which will also add an INI file in /etc/php.d), restarting your web server and making sure that GD is now listed as enabled in phpinfo().

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.