Simon Nuttall
December 5th, 2005, 09:04 PM
Hi this is my first post to these forums.
Presumably because I'm new I can't me post a new thread to what I thought was the right forum for this topic, so apologies if the question below may seem a bit out of place.
I've really enjoyed spending the past 2 or 3 weeks with ubuntu and learned far more about linux with this distro than all the others I've previously battled with (including suse9.1, fedora 3, and even xebian 1.0.3!) I've managed to solve most of the problems I've had with getting it to run on a compaq evo N400c laptop, including even getting the stubborn winmodem to work) and I was pleased that the sound card and wireless LAN worked without much tweaking. Since then I've setup a LAMP server and am developing my websites farily efficiently with emacs.
And now to my question, any help appreciated!
apache2 reports:
PHP Fatal error: Call to undefined function: imagerotate()
I have php 4.4.0-3 and the GD section reports that GD "version 2.0 or higher" is loaded. Other image functions, such as imagefilledellipse() are working.
Synaptic says I have libgd1-noxpm, libgd2-xpm and php4-gd installed.
http://uk.php.net/manual/en/function.imagerotate.php suggests that
Note: This function is only available if PHP is compiled with the bundled version of the GD library.
which implies I have to compile php.
I'm not sure that I already have the required modules to enable imagerotate, and compiling php sounds like quite a big task, and I don't know if that would fix the problem. I'd be happy to switch to php5 if I knew that would solve it. Any ideas?
Presumably because I'm new I can't me post a new thread to what I thought was the right forum for this topic, so apologies if the question below may seem a bit out of place.
I've really enjoyed spending the past 2 or 3 weeks with ubuntu and learned far more about linux with this distro than all the others I've previously battled with (including suse9.1, fedora 3, and even xebian 1.0.3!) I've managed to solve most of the problems I've had with getting it to run on a compaq evo N400c laptop, including even getting the stubborn winmodem to work) and I was pleased that the sound card and wireless LAN worked without much tweaking. Since then I've setup a LAMP server and am developing my websites farily efficiently with emacs.
And now to my question, any help appreciated!
apache2 reports:
PHP Fatal error: Call to undefined function: imagerotate()
I have php 4.4.0-3 and the GD section reports that GD "version 2.0 or higher" is loaded. Other image functions, such as imagefilledellipse() are working.
Synaptic says I have libgd1-noxpm, libgd2-xpm and php4-gd installed.
http://uk.php.net/manual/en/function.imagerotate.php suggests that
Note: This function is only available if PHP is compiled with the bundled version of the GD library.
which implies I have to compile php.
I'm not sure that I already have the required modules to enable imagerotate, and compiling php sounds like quite a big task, and I don't know if that would fix the problem. I'd be happy to switch to php5 if I knew that would solve it. Any ideas?