I am using the module Image Optimizer and I need to specify the media folder to optimize the pictures.
But I don’t have a media folder for the project, there is only a Symlink to the directory /mnt/MEDIA/media/
relative to the project root. If I specify the path to the media folder in the admin panel, I get an error
project dir: /var/www/vhosts/xxxe.de/httpdocs/
media dir: /mnt/MEDIA/media/
Scanning and reindexing failed.
SplFileInfo::isFile(): open_basedir restriction in effect. File(/var/www/vhosts/xxxe.de/httpdocs/media/..) is not within the allowed path(s): (/var/www/vhosts/xxxe.de/:/tmp/:/mnt/MEDIA/media)
File ownership matches :