Smarty HOWTO

Install Smarty (and Pear):

aptitude install smarty php-pear php-db

Configure your PHP include path and open_basedir setting:

open_basedir = /var/www/example.com:/usr/share/php:/usr/share/php/smarty/libs
include_path = ".:/var/www/example.com/inc:/usr/share/php:/usr/share/php/smarty/libs"

Discussion

Enter your comment:

Subscribe to the RSS feed for Andy's Debian HOWTOs

Article from Andy's Debian HOWTOs (http://www.besy.co.uk/debian/debian)

 
debian/how_to_setup_smarty_the_php_template_engine.txt · Last modified: 2008/08/01 22:56 (external edit) · [Old revisions]
Recent changes RSS feed Powered by Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki