Sounds to me like you need LDAP, GD and Sablotron (XSL, XSLT). XML comes built-in with PHP5, i believe.
you should be able to do this to get help:
but, you can configure it like this:
of course you might require more features, but this should do it for what you've asked for. just append the rest to this.
You'll need to store your LDAP, GD and Sablot libs in the appropriate place. on linux, it's in /usr/* (thats the default base install dir for most libraries) which is why in my configure code, i use /usr as my prefix. i'm not sure what sun server structure is like. /usr can even be /home/username/usr on a linux system. it totally depends on your environment variables.
actually, you might not have to specify the path to the gd libraries for GD because it seems as though PHP ships with GD by default so if you're compiling from source, you should have GD there so you can just use --with-gd
you can view details of your required libs in the links below. also, in the links below, there are links to sites where you can download the required libs. please read through it well
and if you still genuinely have a problem with it, let us know.
Sablotron: [a href=\"http://www.php.net/xslt\" target=\"_blank\"]http://www.php.net/xslt[/a]
LDAP: [a href=\"http://www.php.net/ldap\" target=\"_blank\"]http://www.php.net/ldap[/a]
GD: [a href=\"http://www.php.net/gd\" target=\"_blank\"]http://www.php.net/gd[/a]
Installation and configuration: [a href=\"http://www.php.net/manual/en/install.php\" target=\"_blank\"]http://www.php.net/manual/en/install.php[/a]