Your server path is as follows:
/usr/local/www/apache22/data/photopost
So, if your script resides in a directory called 'uploads' the full server path that you would specify in the inc/config.php file is as follows:
/usr/local/www/apache22/data/photopost/uploads/