@steveballantyne said:

I have not modified any php files.

I had to do some ugly hacks in several PHP files

Did you mean you didn’t modify php.ini files in your first statement? To be able to help you best we need to know exactly if you use the code provided by us or a modified version (which would be a lot harder to debug as I don’t know your modifications). Possibly installing LAMP did modify the php.ini file? Just a wild guess. Take a look and see if it has those options set (on Ubuntu that should be in /etc/php5/apache2/php.ini - restarting apache is needed if you change php.ini settings).

In the past I have connected to a NAS that has all my images on it. To make this work though…

There are a few articles in the wiki on how to connect NASs to your FOG server. Please give that a shoot!

One thing I wanted to ask — when I am installing the Debian/Ubuntu OS, should I NOT check LAMP server?

It’s not needed but should not hurt either as FOG still tries to install those and therefore would update the packages if needed. Although I have to admit that we cannot actually test all those different setups (like pre-installed LAMP). I have done it with pre-installed LAMP a couple of times in my auto installer setup! So I think this should be fine…