1.1. Install Tiki directly from the SVN repository | |
This method requires a. a server with shell (command line) access and b. a running SVN instance on this server. For the SVN part please review the page Get Code on dev.tiki.org. There and if necessary on the related pages you find notes about the SVN commands and the particular paths you need to use in the command line to automatically checkout or upgrade the Tiki into the intended installation directory (= tikiroot folder). Example for a fresh checkout (recommended also for major upgrades) Method 1 Copy to clipboard
Method 2 Copy to clipboard
Example for a minor upgdate: Do not forget to switch into the tikiroot of the Tiki you want to update Copy to clipboard
After SVN has downloaded the Tiki files, the Tiki is not yet complete. You have to run the composer Start setup.sh, after having switched into the tikiroot (in case you are not there anyway): Copy to clipboard
For more information on using setup.sh see also the section 4.1 Troubleshooting below. In this section we treat only the composer part, which is only applicable when you use an installation from the repository. To start the composer you have to confirm the option "c" after starting the setup.sh script: Copy to clipboard
or Copy to clipboard
FAQ: On my server the composer script is not starting. What can I do, when I get the following error message? Copy to clipboard
The problem is, that many shared hosting providers keep the setting of the default local PHP version of the shell (command-line) to an outdated PHP version which does not match the PHP requirements of Tiki or of the composer. Alternativ PHP settings in the .htaccess or in the php.ini file or in the user.ini file have no effect to the PHP version in the shell (command line). However most of these servers have newer PHP versions available in the shell (command line), which can be used alternatively. Another issue to be addressed is, that the providers have different naming conventions how to distinguish their available PHP versions. To address this issue we implemented the option "-p" for our setup.sh script to provide the option to manually change the PHP version used by the script: Copy to clipboard
In a first step, the setup.sh script automatically guesses three typically used namings of up-to-date versions, commonly used on many servers and uses the first one that matches: Copy to clipboard
If the script finds one of these, you should get the following message prior to an autostarting composer: Copy to clipboard
Now you are done. Problem solved. But if none of these options work out, you will get the following error message: Copy to clipboard
This should be quite self explaining. Example: Copy to clipboard
How to use this information: Copy to clipboard
And swoooosh the setup.sh will start the composer with php 5.5 after the following message: Copy to clipboard
Now you need only to follow the setup.sh dialog to fix directory permissions (option f is reasonably secure works on most average servers. If you need a more secure setting or if your server needed a less restrictive setting (better change the server then), you can use another option. To find out which permission option is best n your server, you can use Permission Check. You are done now and can go to your website to run the installer. |