Tiki is collaborating with Bluehost to make Tiki run as smoothly as possible. This also generates revenue for the Tiki Software Community Association. (if you subscribe via the link below)
http://bluehost.tiki.org/ is used by Tiki developers.
We are in process for the Bluehost Open Source Service (BOSS)
Our main tech contact is: Jared Smith
When running "bash setup.sh" from the command line there will be warnings about not being root or being on a shared server. However, using the [f] option to "fix the file permissions" will work. Just specify your Bluehost account username as the group name when prompted (instead of nobody).
On the other hand, using the [c] option to run Composer will run into issues due to the other issues explained below, however we have some (somewhat complex) workaround solution you can try following.
Installation via Tiki packages from our Download page is the recommended way to install on Bluehosts. Other methods such as Bluehost's installer that users SimpleScripts is not recommended as it offers an outdated version of Tiki (we are in the process of contacting them to rectify it), and installation from an SVN checkout, that requires the use of Composer requires the installation of a separate PHP executable to run Composer, because many of Bluehost's shared servers have command line PHP that runs really old versions, e.g. version 5.2.
Running php -v will show you the current version, you will also likley find a version here: /ramdisk/php/54/bin/php54-cli.
php -v ls /usr/bin/php*
You will find versions such as /usr/bin/php56s which are not the CLI versions. Thus, they are of no help at all.
Therefore, it is NOT possible to install Tiki via the SVN checkout and composer for Bluehost with the pre-installed versions of PHP. There is no point in trying to alias php to a version such as /usr/bin/php56s . If you execute:
[~/www/bluehost/trunk]# sh setup.sh Status: 404 Not Found Content-type: text/html No input file specified. We have failed to obtain the composer executable. NB: Maybe you are behing a proxy, just export https_proxy variable and relaunch setup.sh 1) Download it from http://getcomposer.org 2) Store it in temp/
The solution is to manually download the latest composer.phar and put it in the temp/ folder in your Tiki installation. You can manually get it from the http://getcomposer.org site, probably http://getcomposer.org/Download and then transfer it to the temp folder, or you can execute the following when in your Tiki root folder:
curl https://getcomposer.org/composer.phar > temp/composer.phar
The only way to overcome this issue is to have a Command Line version of PHP 5.5 or higher.
Ask Bluehost to install php 7 for you. This will only work in VPS environments.
Install a copy of PHP5.5+ in your hosting environment:
Navigate to your account directory root with ssh in terminal. On bluehost it might look something like "/home3/username". Note the ~ stands for your home directory, tying it will not work.
cd ~/
Make a bin directory and enter it
mkdir bin cd bin
Fetch a copy of PHP7 (why not?) You can substitute any tar.gz link of PHP7 here.
wget http://ca2.php.net/get/php-7.0.7.tar.gz/from/this/mirror
unpack the archive and move into your new php directory
mv mirror php7.tar.gz tar -xvzf php7.tar.gz cd php-7.0.7
Configure make and install php7. There are 3 places where you need to substitute your homedir and username. We are using the bare basics of options. This php copy will only be used by us for running composer after all.
./configure --with-config-file-path=/homedir/username/etc/php/ --with-config-file-scan-dir=/homedir/username/etc/php/conf.d/ --prefix=/homedir/username/bin/ --with-gd make -j"$(nproc)" make install
Drop down one directory & test if php is running in version 7.
cd .. bin/php -v
Lets drop back into our account home directory at /homedir/username
cd ..
We are now ready to run Composer. Make sure to substitute your website directory name with "public_html/website/" If its the primary account (not a add-on domain) it will be in the public_html directory without the "/website/".
bin/bin/php public_html/website/temp/composer.phar install
The above line uses the new php copy we installed to run composer. Done!
1) |
15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
2) |
19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
3) |
Tiki birthday |
4) |
17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
5) |
21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
6) |
19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting |