Our blog
Ubuntu + PHP + GD + Solution
If you are using PHP5 on Ubuntu and are having strange issues with missing functions including imagerotate() then you have come up against the problems created by the Ubuntu/Debian packagers decision not to include the GD library included with PHP5 but instead include a more purist version of the GD library which unfortunatley has some missing components.
Check out this blog story for the solution
More Reading:
One Comments
|
another solution which I found a bit easier but might not be OK with Ubuntu purists is to add the dotdeb repositories to your sources. They are running a much more up to date version of PHP and with a full fat version of GD first you need to add the sources: CODE:
to edit your sources you can use CODE:
and paste those two lines somewhere at the bottom. Once that's done, run these commands one after the other: CODE:
It will ask you if you want to overwrite your existing configuration files. I chose to overwrite them as I know that my edits are pretty small and can easily be redone, its more important to me to have an up to date config file that fits the version I am running. I think its a real shame that Ubuntu has made this decision to not support such a core piece of the PHP puzzle. |
RSS Feed
admin
September 2nd, 2009