full path when using symlink??

coryc

Verified User
Joined
Aug 5, 2008
Messages
9
I'm using a script that requires the absolute path to the folder that is set for uploaded files to be uploaded to. I have used this script many times without problem, but for this particular account i am using a symbolic link for the public/private folders. The absolute path that i would normally use causes the script to throw an error. The error seems to be directly related to this absolute path.

The absolute path's i have tried:
/home/andre*****/domains/andre*****.com/public_html/images/upload/
/usr/home/andre*****/domains/andre*****.com/public_html/images/upload/

the first absolute path works fine for other accounts running this script without a symlink (different domain name of course)

I'm wondering if there is anything else i can try? suggestions? i'm no server admin wiz so any help appreciated.

Thanks
 
i was able to solve this by going into the custom httpd configurations for the particular domain and changed the |?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/usr/local/lib/php/| setting to the appropriate path
 
Back
Top