home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / xamp / xampp-win32.exe / xampp / INSTALL < prev    next >
Encoding:
Text File  |  2004-03-24  |  1.2 KB  |  27 lines

  1. REQUIREMENTS:
  2.  
  3. Smarty requires PHP 4.0.6 or later.
  4. See the on-line documentation for complete install instructions.
  5.  
  6. INSTALLATION (quick):
  7.  
  8. * copy the files under the libs/ directory to a directory that is in your PHP
  9.   include_path, or set the SMARTY_DIR constant and put them in this directory.
  10.  
  11. * for each application using Smarty, create a "templates", "configs", and a
  12.   "templates_c" directory, be sure to set the appropriate directory settings in
  13.   Smarty for them. If they are located in the same directory as your
  14.   application, they shouldn't need to be modified. Be sure the "templates_c"
  15.   directory is writable by your web server user (usually nobody). chown
  16.   nobody:nobody templates_c; chmod 700 templates_c You can also chmod 777 this
  17.   directory, but be aware of security issues for multi-user systems. If you are
  18.   using Smarty's built-in caching, create a "cache" directory and also chown
  19.   nobody:nobody.
  20.  
  21. * setup your php and template files. A good working example is in the on-line
  22.   documentation.
  23.  
  24. * TECHNICAL NOTE: If you do not have access to the php.ini file, you can change
  25.   non-server settings (such as your include_path) with the ini_set() command.
  26.   example: ini_set("include_path",".:/usr/local/lib/php");
  27.