NAVIGATION
This shows you the differences between two versions of the page.
|
english:installation:install [2010/01/16 14:50] Claus |
english:installation:install [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| **Latest release always available here**\\ | **Latest release always available here**\\ | ||
| - | [[http://code.google.com/p/phpwcms/downloads/list|Stable developer version]]\\ | + | [[http://code.google.com/p/phpwcms/downloads/list|Stable developer version]] **(commended)** \\ |
| -> [[http://code.google.com/p/phpwcms/source/list|Committed Changes]] -> to\\ | -> [[http://code.google.com/p/phpwcms/source/list|Committed Changes]] -> to\\ | ||
| /* ->-> [[http://jgbm.de/checkout.phtml|The actual stable developer version (incl. Committed Changes)]] **(commended)**\\ */ | /* ->-> [[http://jgbm.de/checkout.phtml|The actual stable developer version (incl. Committed Changes)]] **(commended)**\\ */ | ||
| /* ->-> Thanks to Jürgen (DF6IH)\\ */ | /* ->-> Thanks to Jürgen (DF6IH)\\ */ | ||
| - | ->-> [[http://www.phpwcms-docu.de/download-dev-versions.phtml|Docu: DEV - Version ZIP Format]] **(commended)** \\ | + | ->-> [[http://www.phpwcms-docu.de/download-dev-versions.phtml|Docu: DEV - Version ZIP Format]] \\ |
| <note tip>However, I always recommend using the [[http://www.phpwcms-docu.de/download-dev-versions.phtml|Docu: DEV - Version ZIP Format]] as this version is considered stable and includes the latest changes. | <note tip>However, I always recommend using the [[http://www.phpwcms-docu.de/download-dev-versions.phtml|Docu: DEV - Version ZIP Format]] as this version is considered stable and includes the latest changes. | ||
| Line 46: | Line 46: | ||
| * config/phpwcms/conf.indexpage.inc.php | * config/phpwcms/conf.indexpage.inc.php | ||
| * template/inc_css/frontend.css | * template/inc_css/frontend.css | ||
| - | * template/inc_default/startup.html | + | * template/inc_default/startup.php |
| \\ | \\ | ||
| All other files listed above can be set to 644, directories to 755. Sometimes it can help to set the mode to 766 for the following directories: template, inc_css. If you have further access problems try to set all files and directories to 777 **//(not recommend at all)//**. | All other files listed above can be set to 644, directories to 755. Sometimes it can help to set the mode to 766 for the following directories: template, inc_css. If you have further access problems try to set all files and directories to 777 **//(not recommend at all)//**. | ||
| Line 52: | Line 52: | ||
| ===== Start semi-automatic setup process ===== | ===== Start semi-automatic setup process ===== | ||
| - | After you have successful copied phpwcms installation files to your webserver start the first time semi-automatic setup process by using the following link: | + | After haveing copied phpwcms installation files to your webserver successfully you will start the first-time semi-automatic setup process by using the following link: |
| - | http://www.mydomain.com/path_2_phpwcms/setup/index.php | + | %%http://www.example.com/path_2_phpwcms/setup/index.php%% |
| - | On top of the setup index page is an info field that gives information to the system, server software, PHP version and the path in which phpwcms is installed. If you have a PHP version <4.2.1 you should not continue – recommend PHP version >4.3.0. To continue you have to agree the GPL licence – then click button to go to step 1 of phpwcms setup script. | + | On top of the setup index page is an info field displaying information about the system, server software, PHP version and the path where phpwcms is installed. If you have a PHP version <4.2.1 you should not continue – recommended PHP version >4.3.0. To continue you have to agree to the GPL licence – then click the button to go to step 1 of the phpwcms setup script. |
| - | Info: Inside the setup folder is a file "setup.conf.inc.php". All setup value will be stored there. You can also edit this file manually. Look for "phpwcms_init.sql" to setup required db tables manually. | + | Info: Inside the setup folder is a file called "setup.conf.inc.php". All setup values will be stored there. You can also edit this file manually. Look for "phpwcms_init.sql" to setup the required db tables manually. |
| ==== Step 1: MySQL database infos ==== | ==== Step 1: MySQL database infos ==== | ||
| - | Insert your MySQL database infos like the host (default: localhost) or IP address of the MySQL server, your MySQL username/password and db name. Attention! The setup process can create the phpwcms tables only and NOT the MySQL table itself. If you want to separate phpwcms database tables from other tables inside your database you can define a table prefix. This is not really neccessary because phpwcms table names ever start with "phpwcms_". The prefix makes a table named like "myprefix" + "_" + "phpwcms_". If your MySQL server supports persistent database connection let the correspinding mark checked – this speeds up the db queries. Large providers may disallow this feature. In this case uncheck mark "use persistent db con". | + | Insert your MySQL database infos like the host (default: localhost) or IP address of the MySQL server, your MySQL username/password and db name. Attention! The setup process can create the phpwcms tables only and NOT the MySQL table itself. If you want to separate phpwcms database tables from other tables inside your database you can define a table prefix. This is not really neccessary because phpwcms table names do always start with "phpwcms_". The prefix is then generating a table named like "myprefix" + "_" + "phpwcms_". If your MySQL server supports persistent database connection you will let the correspinding mark checked – this is speeding up the db queries. Large providers may disallow this feature. In this case just uncheck mark "use persistent db con". |
| - | If you install phpwcms for the first time and want to let the setup process create all db tables mark "create all db tables" checked. | + | If you are installing phpwcms for the first time and want to let the setup process create all db tables mark "create all db tables" checked. |
| Then click "send db data". If everything is OK let's go on… | Then click "send db data". If everything is OK let's go on… | ||
| Line 70: | Line 70: | ||
| ==== Step 2: create site infos and admin account ==== | ==== Step 2: create site infos and admin account ==== | ||
| - | In normal case you do not have to fill in difficult things here. Insert the base URL ONLY in field site name. Complete the base URL with an ending slash "/". Attention! Do not add any additional path info like …mydomain.com/phpwcms/". This will be defined later. | + | Normally you do not have to fill in difficult things here. Insert the base URL ONLY in field site name. Complete the base URL with an ending slash "/". Attention! Do not add any additional path info like …mydomain.com/phpwcms/". This will be defined later. |
| - | Fill in the login information for admin user and admin email address. phpwcms comes without any predefined user login information. You have define yourself. Do not forget to check "ceate admin account" if setup script should create the given account for you. | + | Fill in the login information for admin user and admin email address. phpwcms comes without any predefined user login information. You have to define it yourself. Do not forget to check "ceate admin account" if the setup script should create the given account for you. |
| ==== Step 3: phpwcms path values ==== | ==== Step 3: phpwcms path values ==== | ||
| - | There is not so many to say about here. Read any field info attentively. You can rename default directories to whatever you want. Attention! Do not add any starting or ending slash "/" to phpwcms path values. | + | There is not so much to say about it here. Read any field info attentively. You can rename default directories to whatever you want. Attention! Do not add any starting or ending slash "/" to phpwcms path values. |
| To use a directory outside phpwcms root use path names like this: "../dir_outside". | To use a directory outside phpwcms root use path names like this: "../dir_outside". | ||
| - | There is a additional directory not listed here. It is "picture". This is the base dir for the {IMAGE.. } replacement tag. It can not be renamed at the moment. So be sure it exists inside the phpwcms root directory. | + | There is an additional directory not listed here. It is "picture". This is the base dir for the {IMAGE.. } replacement tag. It can not be renamed at the moment. So be sure that it is existing inside the phpwcms root directory. |
| ==== Step 4: phpwcms content values ==== | ==== Step 4: phpwcms content values ==== | ||
| - | The most important values are "content width" and "preview image". The content width value is important for rendering image lists. It adjusts the image width. That ensures that your content is rendered very well. The preview image value defines maximum width and height of preview images. Remember that preview images will displayed if an image is click zoomable. If this is to large your site visitor may have problems. This often results in big image file sizes too. | + | The most important values are "content width" and "preview image". The content width value is important for rendering image lists. It adjusts the image width. That ensures that your content is rendered very well. The preview image value defines maximum width and height of preview images. Remember that preview images will be displayed if an image is checked as zoomable. If this is too large your site visitor may have problems. This then will result in big image file sizes too. |
| ==== Step 5: Ready to start phpwcms? ==== | ==== Step 5: Ready to start phpwcms? ==== | ||
| - | Step 5 is to verify defined path values. Check that possibly every directory has OK. Maybe you can ignore RED alerts if you have set access rights as described above. I will test this. If you are unsure set every listed directories to usermode 777. You will get error messages very fast if there is a problem ;-) | + | Step 5 is to verify defined path values. Check that possibly every directory is marked as OK. Maybe you can ignore RED alerts if you have set access rights as described above. I will test this. If you are unsure set every listed directories to usermode 777. You will get error messages very fast if there is a problem ;-) |
| Download the finished configuration file "/setup/setup.conf.inc.php" and put this into "/config/phpwcms/*". If neccessary rename the config file from "setup.conf.inc.php" -> "conf.inc.php". | Download the finished configuration file "/setup/setup.conf.inc.php" and put this into "/config/phpwcms/*". If neccessary rename the config file from "setup.conf.inc.php" -> "conf.inc.php". | ||