[Phpslash-commit] CVS: phpslash-ft/doc/html phpslash.sgml,1.66,1.67
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-01-31 19:36:38
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory sc8-pr-cvs1:/tmp/cvs-serv31273/phpslash-ft/doc/html Modified Files: phpslash.sgml Log Message: quick install Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** phpslash.sgml 22 Jan 2003 19:12:34 -0000 1.66 --- phpslash.sgml 31 Jan 2003 19:36:32 -0000 1.67 *************** *** 16,20 **** <author> <url url="http://phpslash.sourceforge.net/" name="The phpSlash Group"> ! <date>v0.4, March 19, 2002 <abstract> --- 16,20 ---- <author> <url url="http://phpslash.sourceforge.net/" name="The phpSlash Group"> ! <date>v0.5, January 31, 2003 <abstract> *************** *** 210,218 **** <item><url url="http://phplib.sourceforge.net/" name="PHPLIB"> <itemize> ! <item>Suggested version 7.4-pre1 and higher. <item>If you have PHP4, you *must* run at least 7.2c because of a bug in the template library. </itemize> </itemize> <sect1> Installation when you have administrative access to the server <p> --- 210,318 ---- <item><url url="http://phplib.sourceforge.net/" name="PHPLIB"> <itemize> ! <item>Suggested version 7.4-pre2 and higher. <item>If you have PHP4, you *must* run at least 7.2c because of a bug in the template library. </itemize> </itemize> + <sect1> Quick Install + <p>This section details a quick installation method. It does not contain exhaustive direction or details. It is geared for those that are already familiar with configuration of php scripts. + + <sect2> Unpack the distribution outside the webserver's DocumentRoot. + <p> + <tscreen><verb> + tar xzvf phplash-0.7.tar.gz + cd phpslash-0.7 + </verb></tscreen> + + + <sect2> Install the database schema and data. This is contained in the file tables/0.7/slash-all.sql. Example command lines: + <p> + <tscreen><verb> + mysqladmin -u username -p create database_name + mysql -u username -p database_name < tables/0.7/slash-all.sql + </verb></tscreen> + + <sect2> Copy the files in the public_html directory to a directory that the webserver can access. Example: + <p> + <tscreen><verb> + mkdir ~/public_html + cp -R public_html/* ~/public_html/ + </verb></tscreen> + + <sect2> Copy the distributed config-dist.ini.php3 to a local version. + <p> + <tscreen><verb> + cd ~/public_html/ + cp config-dist.ini.php3 config.ini.php3 + </verb></tscreen> + + <sect2> Change the configuration variables by editing the ini file (config.ini.php3). + <p> + <itemize> + <item> Enter the filesystem path to the web documents + <tscreen><verb> + ;; The complete filesystem path to the pages + basedir = "/home/username/public_html" + </verb></tscreen> + <item> Enter the filesystem path to the class files + <tscreen><verb> + ;; The complete filesystem path to the class directory + classdir = "/home/username/phpslash-0.7/class" + </verb></tscreen> + <item> The webserver address of the web documents. + <tscreen><verb> + ;; The base URL for the phpslash site + rooturl = "http://localhost/~username" + </verb></tscreen> + <item> The database variables. + <tscreen><verb> + DB_Host = "localhost" + DB_Database = "phpslash" + DB_User = "phpslash" + DB_Password = "phpslash" + </verb></tscreen> + <item> Site name and owner. + <tscreen><verb> + ;; Name of the site. This appears for example on the titlebar of + ;; browser windows. + site_name = "PHPSlash" + ;; + ;; Email address to reach a human. + site_owner = "in...@ph..." + ;; + ;; A catch phrase for your site. + site_slogan = "Slash for you, Slash for me" + ;; + ;; A Longer version of the title. + site_title = "PHPSlash: The Web Stops Here" + </verb></tscreen> + <item> Unique local identifier. Change to a unique string for this installation. + <tscreen><verb> + magic = "ChangeThisToSomethingUnique" + </verb></tscreen> + </itemize> + + <sect2> Visit the test page for possible errors. + <p> + <tscreen><verb> + http://localhost/~username/test.php3 + </verb></tscreen> + + <sect2> Installation should be complete. + <p> + <tscreen><verb> + http://localhost/~username/index.php3 + </verb></tscreen> + + <sect2> Troubleshooting + <p> + <itemize> + <item> Timezone Options may need to be adjusted. + <item> Windows installations probably have to apply the Timezone Option name. These strings are documented online at http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_431.html. Example for Eastern Daylight Time: + <tscreen><verb> + name = "EST+5EDT,M4.1.0/2,M10.5.0/2"; + </verb></tscreen> + </itemize> + <sect1> Installation when you have administrative access to the server <p> *************** *** 1066,1072 **** <item> section_id = show only the comments in this section <item> section = show only the comments in this section ! <item> number = [10] show this number of comments ! <item> length = [30] cut off the text after this number of characters ! <item> tpl = [commentblock] alternate template ( no .tpl). </itemize> <tag/HTML/ Just put some HTML in the "DATA" field and that's pretty --- 1166,1172 ---- <item> section_id = show only the comments in this section <item> section = show only the comments in this section ! <item> number = show this number of comments. (default: 10) ! <item> length = cut off the text after this number of characters. (default 30) ! <item> tpl = alternate template ( no .tpl). (default: commentblock) </itemize> <tag/HTML/ Just put some HTML in the "DATA" field and that's pretty |