User Tools

Site Tools


install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install [24/08/2018 10:43] – [pHKapa FULL PACK Web Based Installer] phalkalineinstall [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
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 FULL PACK comes with its own web-based installer making easy the installation process.\\ +pHKapa comes with its own web-based installer making easy the installation process.\\ 
-If you dont have the FULL PACK please goto [[install#Manual Installation]].\\+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 "`mod_rewrite` or similar" and must have PHP 5.(or better) and MySQL 5.1 (or better) installed.\\ +To install pHKapa, a web server is required, Apache with "`mod_rewrite` or similar" and must have PHP 5.(or better) and MariaDB or MySQL 5.1 (or better) installed.\\ 
 If you are unsure whether your server meets these requirements, please check with your host or webmaster before proceeding with the installation.\\  If you are unsure whether your server meets these requirements, please check with your host or webmaster before proceeding with the installation.\\ 
 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://gumroad.com/l/phkapa \\ 
-If you dont have the FULL PACK please goto [[install#Manual Installation]].\\ 
 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 in web browser.\\ +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 <nowiki>http://{your-url-for-pHKapa}/install</nowiki> \\  You can invoke the installer by simply browsing the pHKapa URL e.g <nowiki>http://{your-url-for-pHKapa}/install</nowiki> \\ 
-If you dont have the FULL PACK install Plugin is not available, goto [[install#Manual Installation]].\\+
 \\  \\ 
 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 then it will not allow you to continue until the errors are corrected.\\ +If the script spots any configuration errorswill 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#Manual Installation]].\\
  
 === 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::load('Install', array('bootstrap' => false, 'routes' => false));` line at app/Config/bootstrap_phapp.php.\\ +**Comment `CakePlugin::load('Install', array('bootstrap' => false, 'routes' => false));` line at app/Config/bootstrap_phapp.php.**\\ 
-at app/Controllers alter InstallController.php to safe name InstallController.php.savename.\\+**at app/Controllers alter InstallController.php to safe name InstallController.php.savename.**\\
  
-=== 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::load('Install', array('bootstrap' => false, 'routes' => false));` line at app/Config/bootstrap_phapp.php +  * **comment `CakePlugin::load('Install', array('bootstrap' => false, 'routes' => false));` line at app/Config/bootstrap_phapp.php** 
-  * at app/Controllers alter InstallController.php to safe name InstallController.php.savename. +  * **at app/Controllers alter InstallController.php to safe name InstallController.php.savename. 
 +**
 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/phkapa [phkapa_directory] composer create-project -s dev phalkaline/phkapa [phkapa_directory]
  
-and Read [[install#Manual Installation]]+Use [[install#Web Installer]] method or [[install#Manual Installation]]
  
  
Line 87: Line 87:
 composer update composer update
  
-and Read [[install#Manual Installation]]+Use [[install#Web Installer]] method or [[install#Manual Installation]]
  
 ===== GIT ===== ===== GIT =====
Line 97: Line 97:
 cd [phkapa directory] cd [phkapa directory]
  
-git clone -b 2.7.http://github.com/cakephp/cakephp.git vendor/cakephp/cakephp+git clone -b 2.10.24 http://github.com/cakephp/cakephp.git vendor/cakephp/cakephp
  
-and Read [[install#Manual Installation]]+cd app/Plugin 
 + 
 +git clone -b 2.2 http://github.com/cakephp/debug_kit.git DebugKit  
 + 
 +git clone -b 1.1.0 http://github.com/ceeram/clear_cache.git ClearCache 
 + 
 +Use [[install#Web Installer]] method or [[install#Manual Installation]]
  
 ===== Manual Installation ===== ===== Manual Installation =====
  
 === Install === === Install ===
-  * Download the latest version from http://phkapa.net , or using composer or git , see above.+  * Download the latest version from https://phkapa.net , or using composer or git , see above.
   * 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/Config/database.php.install`, change the details for your database connection and save as `database.php`     * `app/Config/database.php.install`, change the details for your database connection and save as `database.php`
 +    * `app/Config/bootstrap_phapp.php.install`, change the settings and save as `bootstrap_phapp.php`
      
 === 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/Controllers alter InstallController.php back to safe name InstallController.php.savename.+    * **comment `CakePlugin::load('Install', array('bootstrap' => false, 'routes' => false));` line at app/Config/bootstrap_phapp.php** 
 +    * **at app/Controllers alter InstallController.php back to safe name InstallController.php.savename.**
     * **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 <nowiki>http://{your-url-for-pHKapa}/install</nowiki> \\ 
 +
 +\\ 
 +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#Manual Installation]].\\
 +
 +=== 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, email.php, bootstrap_phapp.php and email.php files, edit and with your previous values. ( app/Config directory Backup ) \\
 +Take very special attention to database schema, also look at app/Config/Schema for schema updates. \\
 +Clear cache , delete all files at app/tmp/cache subdirectories except empty file. \\
 +\\
 +restore your database \\
 +restore you app/files directory with backup \\
 +
 +
install.1535100228.txt.gz · Last modified: 24/08/2018 09:43 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki