I've been trying to integrate Gallery2 into WordPress because of the great facilities it gives me, which no WordPress plugin can give me.
But I get the error
file /opt/gallery2/embed.php is restricted by PHP open_basedir
I've been reading about open_basedir on this page
http://wiki.contribs.org/PHP#Open_basedir_restriction but it doesnt make it understandable for me.
Since I'm not familiar with this and I certainly don't want to open my server for everybody, I was wondering if someone could tell me what I should do.
This is the code in the template 92gallery2:
# Gallery2
Alias /gallery2 /opt/gallery2/html
<Directory /opt/gallery2/html>
AddType application/x-httpd-php .php .php3 .phtml
php_admin_value open_basedir /opt/gallery2/html/:/opt/gallery2/g2data
Options None
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /opt/gallery2/g2data>
SetHandler Gallery_Security_Do_Not_Remove
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
<IfModule mod_access.c>
order deny,allow
deny from all
</IfModule>
</Directory>