Thanks as always. Lenny was pre installed on this virtual server, from that point the perfect Lenny with mydns guide was followed. It missed a couple of packages off mostly to do with open bsd and FTP. I checked the sources list and it only had one listed so I added those that are on my custom made Lenny server at it all seemed to resolve. I've not installed any additional packages.
No, I was just explaining the setup I had gone through. Php was installed using the perfect Lenny guide after the base system installation. It is still reporting that id compiled php using different repositories.
GD is enabled but not those libraries needen by Drupal. Drupal will work without them beacuse those are functions for effects and rotating images. Debian Lenny does not come with those GD libraries enabled. You need to reinstall GD with updated packages. Here is the guide: http://drupal.org/node/134331#comment-1120427 I have done it many times and it works for ME. After those updated packages, this is what Drupal7 status reports: