James Miller wrote:
I hope this request for help isn't too
'off-list'. I have setup a LAMP
server in a chrooted environment and mediawiki (latest release) is working
except it can not find the GD libraries (which I have in the chrooted
environment).
1) Check phpinfo() output for the config options and GD module presence
2) Check Apache error log for errors on PHP startup
3) Use ldd on the PHP libraries to check that they are linked.
4) Check configure & compilation logs for PHP to make sure they were actually
compiled in.
Here's my configure line for php-4.4.1
./configure --with-zlib --with-jpeg --with-png --with-gd \
--with-mysql=/usr/local/mysql --with-apache=../apache_1.3.34 \
--enable-safe-mode
Don't forget that a lot of these configure options are really *suggestions*. If
it doesn't find some library you asked for, it'll just print a one-line notice
about it (hidden among the other thousand lines) and configure without it. If
you have any trouble, you should to review the configure output and the log to
make sure that everything you asked for got enabled.
-- brion vibber (brion @
pobox.com)