I am currently trying to get my image class to upload all images to within a subdomain after reading some research on the speed benefits.
The problem is im running into basedir restrictions.
Code:
Warning: imagejpeg() [function.imagejpeg]: open_basedir restriction in effect. File(/var/www/virtualhosts/MYDOMAIN.com.co.uk/subdomains/images/httpdocs/img_48bbc3c32d9365.34029533_thumb.jpg) is not within the allowed path(s): (/var/www/virtualhosts/MYDOMAIN/httpdocs:/tmp) in /var/www/virtualhosts/MYDOMAIN/httpdocs/includes/class_image.php on line 121
safe mode is disabled.
/var/www/virtualhosts/MYDOMAIN.com.co.uk/subdomains/images/httpdocs/ permissions are set to 777.
I have also added php_value open_basedir /var/www/virtualhosts/MYDOMAIN/subdomains/images/httpdocs/ to the htaccess just as an extra check.
The owner of the site and subdomain are the same user.
could someone please shed some light on whats happening.
Thanks in advance.