[Phpslash-commit] CVS: phpslash-dev/doc/html phpslash.sgml,1.5,1.6
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2004-10-21 16:37:28
|
Update of /cvsroot/phpslash/phpslash-dev/doc/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12480 Modified Files: phpslash.sgml Log Message: updated to reflect new psl_*.sql files in tables Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/doc/html/phpslash.sgml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** phpslash.sgml 1 Sep 2004 18:59:58 -0000 1.5 --- phpslash.sgml 21 Oct 2004 16:37:18 -0000 1.6 *************** *** 16,20 **** <author> <url url="http://phpslash.sourceforge.net/" name="The phpSlash Group"> ! <date>v0.5, January 31, 2003 <abstract> --- 16,20 ---- <author> <url url="http://phpslash.sourceforge.net/" name="The phpSlash Group"> ! <date>v0.8, 2004-10-21 12:14 EDT <abstract> *************** *** 190,195 **** <item> Webserver Software (We like to use <url url="http://www.apache.org/" name="the Apache webserver">) <itemize> ! <item> Apache has been tested on 1.3.6 and above. ! <item> No reports on Apache 2 yet, as php tends to be broken with the 2.0-alphas. </itemize> --- 190,194 ---- <item> Webserver Software (We like to use <url url="http://www.apache.org/" name="the Apache webserver">) <itemize> ! <item> Apache has been tested on 1.3.6 and above (including apache2). </itemize> *************** *** 218,227 **** <p>This section details a browser based wizard style installation method. It does not contain exhaustive direction or details. It is geared for those that want to get started with minimal configuration. ! <sect2> 1. Decompress the phpslash-0.8.x.tar.gz files into your web directory. <p> It is critical that the files in public_html are in a public location on your web server. It is more secure to have the class directory parallel to the public_html directory so that the files are not visible to your visitors. <tscreen><verb> ! tar xzvf phplash-0.8.tar.gz ! cd phpslash-0.8 </verb></tscreen> --- 217,226 ---- <p>This section details a browser based wizard style installation method. It does not contain exhaustive direction or details. It is geared for those that want to get started with minimal configuration. ! <sect2> 1. Decompress the phpslash-VER.x.tar.gz files into your web directory. <p> It is critical that the files in public_html are in a public location on your web server. It is more secure to have the class directory parallel to the public_html directory so that the files are not visible to your visitors. <tscreen><verb> ! tar xzvf phplash-VER.tar.gz ! cd phpslash-VER </verb></tscreen> *************** *** 231,241 **** <tscreen><verb> cd public_html ! chmod 777 config.ini.php </verb></tscreen> ! <sect2> 3. Browse to the directory where you installed the public_html files and follow the configure screens to set up phpSlash (this assumes that you either have a MySQL database configured or have the permissions to set up a new database. <p> ! <sect2> 4. For security delete the config_setup.php file and set the write permissions on the config.ini.php file: <p> <tscreen><verb> --- 230,240 ---- <tscreen><verb> cd public_html ! chmod 0666 config.ini.php </verb></tscreen> ! <sect2> 3. Using a browser, browse to the directory where you installed the public_html (example: http://localhost/phpslash/public_html) files and follow the configure screens to set up phpSlash. You might need a username/password for a SQL server user who can create or modify databases.The configuration wizard will try to decide what's best. <p> ! <sect2> 4. After completion of all configuration screens, you must delete the config_setup.php file and you must set the write permissions on the config.ini.php file: <p> <tscreen><verb> *************** *** 244,248 **** </verb></tscreen> ! <sect2> 5. Follow the login instructions. <p> --- 243,247 ---- </verb></tscreen> ! <sect2> 5. Then follow to the login instructions. <p> *************** *** 253,266 **** <p> <tscreen><verb> ! tar xzvf phplash-0.8.tar.gz ! cd phpslash-0.8 </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> --- 252,267 ---- <p> <tscreen><verb> ! tar xzvf phplash-VER.tar.gz ! cd phpslash-VER </verb></tscreen> ! <sect2> Install the database schema and data. This is contained in the file tables/VER/psl_core.sql and if desired tables/VER/psl_example.sql right after. Example command lines: <p> <tscreen><verb> mysqladmin -u username -p create database_name ! mysql -u username -p database_name < tables/VER/psl_core.sql ! # optionally: ! mysql -u username -p database_name < tables/VER/psl_example.sql </verb></tscreen> *************** *** 268,271 **** --- 269,273 ---- <p> <tscreen><verb> + # for your own $HOME folder's public_html: mkdir ~/public_html cp -R public_html/* ~/public_html/ *************** *** 275,280 **** <p> <tscreen><verb> ! cd ~/public_html/ ! cp config-dist.ini.php config.ini.php </verb></tscreen> --- 277,281 ---- <p> <tscreen><verb> ! cp config-dist.ini.php ~/public_html/config.ini.php </verb></tscreen> *************** *** 290,294 **** <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. --- 291,295 ---- <tscreen><verb> ;; The complete filesystem path to the class directory ! classdir = "/home/username/phpslash-VER/class" </verb></tscreen> <item> The webserver address of the web documents. *************** *** 299,302 **** --- 300,304 ---- <item> The database variables. <tscreen><verb> + ;; modify this as needed: DB_Host = "localhost" DB_Database = "phpslash" *************** *** 403,411 **** Once that's done, in the PHPSlash archive, in the tables directory, ! you'll find the slash-all.sql script. Execute that in your new database so install all the default tables: <tscreen><code> ! mysql -u username -p password database name < slash-all.sql </code></tscreen> --- 405,413 ---- Once that's done, in the PHPSlash archive, in the tables directory, ! you'll find the psl_core.sql schema. Execute that in your new database so install all the default tables: <tscreen><code> ! mysql -u username -p password databasename < psl_core.sql </code></tscreen> |