Temporary and ugly fix; run as root
cd wget http://www.smarty.net/files/Smarty-2.6.27.tar.gz cd /usr/share/php/ tar xzf ~/Smarty-2.6.27.tar.gz chown -R root:root Smarty-2.6.27 cd /usr/share/gallery2/lib rm smarty ln -s /usr/share/php/Smarty-2.6.27/libs smarty
Temporary and ugly fix; run as root
cd www.smarty. net/files/ Smarty- 2.6.27. tar.gz 2.6.27. tar.gz gallery2/ lib php/Smarty- 2.6.27/ libs smarty
wget http://
cd /usr/share/php/
tar xzf ~/Smarty-
chown -R root:root Smarty-2.6.27
cd /usr/share/
rm smarty
ln -s /usr/share/