I was using sme 6.5 for long time. But when I did the upgrade to 7.2 I forgot that I made changes in php.ini directly, in that time I did now know how to use the custom templates. The problem now is that I really don't know what do I need to put the gallery v1.5.7 integrated with phpnuke as a module. If I used the openbase_dir in php.ini I can upload photos with no problem, but this affect the webmail. I did use the smeserver-gallery2 rpm to compare what changes does in the php.ini but it does not change anything in the php.ini, the change that the rpm did was in the httpd.conf. it adds a <Directory /opt/gallery2/html> and instruction php_admin_value open_basedir /opt/gallery2/html/:/opt/gallery2/g2data very similar of what I tried in the php.ini. what I'm doing wrong????