Page 2 of 2

Re: Article on how to set up TTRSS with Bluehost

Posted: 28 Mar 2013, 00:37
by Myx.Ostankin
Wow, that was fast! Thanks a lot, it works perfectly now!

Re: Article on how to set up TTRSS with Bluehost

Posted: 03 Apr 2013, 06:28
by j0nson
Aldursil wrote:Using the linked article I was able to get TTRSS working with Bluehost. It requires you to edit the update.php file. Before doing this I had to use the wget method of updating. Now I can use the second option from the update settings recommendation.


Editing update.php is unnecessary... The CLI version of PHP on bluehost works just fine:

Code: Select all

*/30 * * * * /ramdisk/php/53/bin/php5-cli /home/[user]/public_html/tt-rss/update.php --feeds --quiet


edit: added path to php 5.3 on ramdisk

Re: Article on how to set up TTRSS with Bluehost

Posted: 03 Apr 2013, 09:18
by Aldursil
Why use the ramdisk path instead of "/usr/php/53/usr/bin/php"?

I could not get the cron job to work previously. But changing "$options = getopt("", $longopt);" to "$options = array("feeds" => false);" enabled me to use the cron job again. The difference in the commands it looks like is you are using php-5cli instead of just using php to execute update.php. I'll have to try this so I do not have to keep updating update.php.

Thanks!

Re: Article on how to set up TTRSS with Bluehost

Posted: 03 Apr 2013, 21:54
by j0nson
Aldursil wrote:Why use the ramdisk path instead of "/usr/php/53/usr/bin/php"?



Bluehost changes to this path automatically, I assume for the speed of a ramdisk.

However, specific path does not matter. It is more important that you specify the CLI version of php 5.3

Re: Article on how to set up TTRSS with Bluehost

Posted: 06 Mar 2016, 08:36
by sbcadguy
What is the current command for bluehost chron job? I'm trying to get updates running. Bluehost is using 5.4 now and there are a couple of variations on the command in this thread.

Re: Article on how to set up TTRSS with Bluehost

Posted: 06 Mar 2016, 15:18
by id242
sbcadguy wrote:What is the current command for bluehost chron job? I'm trying to get updates running. Bluehost is using 5.4 now and there are a couple of variations on the command in this thread.


for PHP 5.4

Code: Select all

*/30 * * * * /usr/php/54/usr/bin/php-cli /home/[user]/public_html/tt-rss/update.php --feeds --quiet


for PHP 5.6

Code: Select all

*/30 * * * * /usr/php/56/bin/php /home/[user]/public_html/tt-rss/update.php --feeds --quiet

Re: Article on how to set up TTRSS with Bluehost

Posted: 06 Mar 2016, 22:17
by sbcadguy
Thanks!