Server running PHP/GD
I have PHP version 4.0.6 installed , and I need to use a function that requires GD version 2.0 or higher .
Since it's out of the question to upgrade my PHP version , i downloaded GD version 2.0.1 , but didn't install it yet coz i was afraid that it could lead to configuration errors or conflicts of any kinds ...
Have anyone tried it or could tell me if it's safe to upgrade GD without worrying about config errors or conflicts?
I did a search on google and i found and article that says:
"Under Linux you have to compile php again" .
I didn't got it , what did he mean ? how do i compile PHP ?
anytime you need to add a function to PHP you have to recompile php
PHP does have built in support for GD verion 2 but it depends what version of php you have. I don't recall off top of my head when they started including gd2.0 but it was a while ago.
Imagemagick is an alternative taht don't require recompiling gd but is WAY more complex and not easy to setup.