Hi Joel,
I have a feeling that you put the php script into the primary directory and not an ibay. By default, php (or perl, etcl) is not enabled for the primary directory. You have a couple of choices.
1. Create an ibay that has scripting enabled and place the script in the html directory of the ibay.
2. Enable php in the primary directory. There is an rpm out there that you can install in believe to do this, but I can't remeber where exactly its located so you will need to do a little searching around in the e-smith rpm's.
Hope this helps,
John Goodwin