Upon installation you are asked a bunch of stuff like url and paths to the install. The script comes back with what the server suggests.
Now php configured as a cgi can do some whacky things.
You must always upon install double check to ensure what the server is telling you the correct things.
Rerun install and place the correct url to the photopost directory where it asks etc.
would be the correct url it looks like to me