install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
install [24/08/2018 10:43] – [pHKapa FULL PACK Web Based Installer] phalkaline | install [14/08/2022 18:25] – [Update] phalkaline | ||
---|---|---|---|
Line 3: | Line 3: | ||
This guide provides a step by step installation process, it's important and helpful to have general knowledge about Web servers, PHP and MySQL.\\ | This guide provides a step by step installation process, it's important and helpful to have general knowledge about Web servers, PHP and MySQL.\\ | ||
For those who have no technical knowledge, a new system can be a task full of complex issues. To this end, we offer specialized services and all the necessary knowledge to quickly put this software at your service, contact pHAlkaline for more details on this.\\ | For those who have no technical knowledge, a new system can be a task full of complex issues. To this end, we offer specialized services and all the necessary knowledge to quickly put this software at your service, contact pHAlkaline for more details on this.\\ | ||
- | pHKapa | + | pHKapa comes with its own web-based installer making easy the installation process.\\ |
- | If you dont have the FULL PACK please goto [[install# | + | If you dont have the web-based installer check composer, git or manual instalation.\\ |
Line 11: | Line 11: | ||
- | To install pHKapa, a web server is required, Apache with " | + | To install pHKapa, a web server is required, Apache with " |
If you are unsure whether your server meets these requirements, | If you are unsure whether your server meets these requirements, | ||
You will need one MySQL database with (`utf8_general_ci` collation) , a valid user, password and hostname handy during installation.\\ | You will need one MySQL database with (`utf8_general_ci` collation) , a valid user, password and hostname handy during installation.\\ | ||
Line 20: | Line 20: | ||
- | ===== pHKapa FULL PACK Web Based Installer ===== | + | ===== Web Installer ===== |
- | To use Web Based Installer you should have downloaded the latest pHKapa FULL PACK at https:// | ||
- | If you dont have the FULL PACK please goto [[install# | ||
Uncompress and upload files and directories to a directory of your choice on your server or upload the content zip to your server, and extract the archive.\\ | Uncompress and upload files and directories to a directory of your choice on your server or upload the content zip to your server, and extract the archive.\\ | ||
pHKapa installer needs to be able to write and modify the app/Config , app/files and app/tmp directories .\\ | pHKapa installer needs to be able to write and modify the app/Config , app/files and app/tmp directories .\\ | ||
- | Once all of the above steps are complete, you are ready to run install | + | Once all of the above steps are complete, you are ready to run installer |
You can invoke the installer by simply browsing the pHKapa URL e.g < | You can invoke the installer by simply browsing the pHKapa URL e.g < | ||
- | If you dont have the FULL PACK install Plugin is not available, goto [[install# | + | |
\\ | \\ | ||
pHKapa installation script will attempt to auto-detect paths and any permission issues.\\ | pHKapa installation script will attempt to auto-detect paths and any permission issues.\\ | ||
Please follow the instructions to finish up the installation process.\\ | Please follow the instructions to finish up the installation process.\\ | ||
- | If the script spots any configuration errors | + | If the script spots any configuration errors, will not allow you to continue until the errors are corrected.\\ |
If everything checks out, you will be presented with a form to fill in the information that pHKapa now requires.\\ | If everything checks out, you will be presented with a form to fill in the information that pHKapa now requires.\\ | ||
If any errors occurs, go back and check the data entered.\\ | If any errors occurs, go back and check the data entered.\\ | ||
On valid data the script will create and populate the database and write a configuration file.\\ | On valid data the script will create and populate the database and write a configuration file.\\ | ||
If the setup script has finished running with no errors, then congratulations pHKapa is installed.\\ | If the setup script has finished running with no errors, then congratulations pHKapa is installed.\\ | ||
+ | |||
+ | If you dont have Web Installer please goto [[install# | ||
=== Important === | === Important === | ||
Line 44: | Line 44: | ||
After sucessfull instalation restore default values ( chmod 755) for app/Config directory and ( chmod 644 ) for files in app/Config directory.\\ | After sucessfull instalation restore default values ( chmod 755) for app/Config directory and ( chmod 644 ) for files in app/Config directory.\\ | ||
app/files and app/tmp directories must remain writable.\\ | app/files and app/tmp directories must remain writable.\\ | ||
- | Comment `CakePlugin:: | + | **Comment `CakePlugin:: |
- | at app/ | + | **at app/ |
- | === Resuming | + | === More details |
* Upload the content to your server, Extract the archive. | * Upload the content to your server, Extract the archive. | ||
Line 56: | Line 56: | ||
* restore default permition values, ( chmod 755) for app/Config directory and ( chmod 644 ) for core.php file in app/Config directory | * restore default permition values, ( chmod 755) for app/Config directory and ( chmod 644 ) for core.php file in app/Config directory | ||
* app/tmp and app/files directories remains writable | * app/tmp and app/files directories remains writable | ||
- | * comment `CakePlugin:: | + | |
- | * at app/ | + | |
+ | ** | ||
Note that the installer only performs basic configuration required to get pHKapa up and running.\\ | Note that the installer only performs basic configuration required to get pHKapa up and running.\\ | ||
Check here [[Settings|More Settings]] | Check here [[Settings|More Settings]] | ||
Line 74: | Line 74: | ||
composer create-project -s dev phalkaline/ | composer create-project -s dev phalkaline/ | ||
- | and Read [[install# | + | Use [[install# |
Line 87: | Line 87: | ||
composer update | composer update | ||
- | and Read [[install# | + | Use [[install# |
===== GIT ===== | ===== GIT ===== | ||
Line 97: | Line 97: | ||
cd [phkapa directory] | cd [phkapa directory] | ||
- | git clone -b 2.7.3 http:// | + | git clone -b 2.10.24 http:// |
- | and Read [[install# | + | cd app/ |
+ | |||
+ | git clone -b 2.2 http:// | ||
+ | |||
+ | git clone -b 1.1.0 http:// | ||
+ | |||
+ | Use [[install# | ||
===== Manual Installation ===== | ===== Manual Installation ===== | ||
=== Install === | === Install === | ||
- | * Download the latest version from http:// | + | * Download the latest version from https:// |
* Upload the content to your server, Extract the archive. | * Upload the content to your server, Extract the archive. | ||
* Set app/tmp, app/files directories to writable. | * Set app/tmp, app/files directories to writable. | ||
Line 114: | Line 120: | ||
=== Edit === | === Edit === | ||
* `app/ | * `app/ | ||
+ | * `app/ | ||
| | ||
=== Secure === | === Secure === | ||
Line 123: | Line 130: | ||
* restore default permition values, ( chmod 755) for app/Config directory and ( chmod 644 ) for core.php file in app/Config directory | * restore default permition values, ( chmod 755) for app/Config directory and ( chmod 644 ) for core.php file in app/Config directory | ||
* app/tmp directory remains writable | * app/tmp directory remains writable | ||
- | * at app/ | + | |
+ | * **at app/ | ||
* **you admin access is username: admin , password: admin , please enter pHKapa goto profile and change admin password** | * **you admin access is username: admin , password: admin , please enter pHKapa goto profile and change admin password** | ||
Line 130: | Line 138: | ||
===== After Installation ===== | ===== After Installation ===== | ||
Your next step should be to fully [[settings|configure]] your new pHKapa system for use.\\ | Your next step should be to fully [[settings|configure]] your new pHKapa system for use.\\ | ||
+ | |||
+ | |||
+ | ===== Update ===== | ||
+ | === WARNING === | ||
+ | When you are using a customized version pHAlkaline strongly suggest the use of a diff software, like winmerge , melddiff or similar to see code and db schema changes. \\ | ||
+ | \\ | ||
+ | === Make a full backup. === | ||
+ | Make app/Config directory contents backup. \\ | ||
+ | Make app/files directory contents and database backup. \\ | ||
+ | \\ | ||
+ | === Download Last Version. === | ||
+ | Uncompress and upload files and directories to a directory of your choice on your server or upload the content zip to your server, and extract the archive.\\ | ||
+ | pHKapa installer needs to be able to write and modify the app/Config , app/files and app/tmp directories .\\ | ||
+ | |||
+ | Once all of the above steps are complete, you are ready to run installer in your web browser.\\ | ||
+ | You can invoke the installer by simply browsing the pHKapa URL e.g < | ||
+ | |||
+ | \\ | ||
+ | pHKapa installation script will attempt to auto-detect paths and any permission issues.\\ | ||
+ | Please follow the instructions to finish up the installation process.\\ | ||
+ | |||
+ | If the script spots any configuration errors, will not allow you to continue until the errors are corrected.\\ | ||
+ | If everything checks out, you will be presented with a form to fill in the information that pHKapa now requires.\\ | ||
+ | If any errors occurs, go back and check the data entered.\\ | ||
+ | On valid data the script will create and populate the database and write a configuration file.\\ | ||
+ | If the setup script has finished running with no errors, then congratulations pHKapa is installed.\\ | ||
+ | |||
+ | If you dont have Web Installer please goto [[install# | ||
+ | |||
+ | === Restore === | ||
+ | After fresh install you need to restore app/Config directory files. \\ | ||
+ | Take very special attention to core.php and core_phapp.php , update salt and cipherSeed with your previous values. ( app/Config directory Backup ) \\ | ||
+ | Take very special attention to database.php, | ||
+ | Take very special attention to database schema, also look at app/ | ||
+ | Clear cache , delete all files at app/ | ||
+ | \\ | ||
+ | restore your database \\ | ||
+ | restore you app/files directory with backup \\ | ||
+ | |||
+ |
install.txt · Last modified: 14/08/2022 17:25 (external edit)