Installing gallery2 on Ubuntu Hardy 64, support for GD (graphic stuff) was missing:
[SOLUTION]Critical GD functions are not available. Please ask your system
administrator for help.
- Install the package "php5-gd" (or php4-gd if you're using php4)
- Reload apache's configuration
Here's the 2 commandlines for that:
Code: Select all
apt-get install php5-gd
/etc/init.d/apache2 reload
In case GD should still be unavailable, make sure that it was really loaded by looking at the output of "phpinfo()":
1) Create a file called "info.php"
2) put the following code into it:
Code: Select all
<?php phpinfo(); ?>
You should see some row labeled:
containing a reference to:additional .ini files parsed
If that's the case, php's gd module was successfully loaded./etc/php5/apache2/conf.d/gd.ini