To clarify further, if I open an ssh terminal to my server and copy/
paste the line on the command line it works as I would hope. If I
create a PHP script and execute that from the command line "php
temp.php" it works as I would hope. If I hit the file from a browser
(
www.mysite.com/temp.php) that is when it does not work.
The only thing that I can guess that is different is that there is
something about the user permissions between my login and what the php
"user" has. I am exporting all of the paths in the php file and since
it works when I run it from the command line I don't think I am
setting any of the environment variables incorrectly.
I just need a little more information on what else to look at.