Article on how to set up TTRSS with Bluehost

Howtos, instructions and links to related software. Do not ask questions here.
Myx.Ostankin
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 25 Mar 2013, 12:56
Location: Saint Petersburg, Russia
Contact:

Re: Article on how to set up TTRSS with Bluehost

Postby Myx.Ostankin » 28 Mar 2013, 00:37

Wow, that was fast! Thanks a lot, it works perfectly now!

j0nson
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 16 Mar 2013, 04:41

Re: Article on how to set up TTRSS with Bluehost

Postby j0nson » 03 Apr 2013, 06:28

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

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: Article on how to set up TTRSS with Bluehost

Postby Aldursil » 03 Apr 2013, 09:18

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!

j0nson
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 16 Mar 2013, 04:41

Re: Article on how to set up TTRSS with Bluehost

Postby j0nson » 03 Apr 2013, 21:54

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

sbcadguy
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 07 Aug 2015, 02:16

Re: Article on how to set up TTRSS with Bluehost

Postby sbcadguy » 06 Mar 2016, 08:36

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.

User avatar
id242
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 25 Mar 2013, 14:04
Location: Los Angeles, CA
Contact:

Re: Article on how to set up TTRSS with Bluehost

Postby id242 » 06 Mar 2016, 15:18

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

sbcadguy
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 07 Aug 2015, 02:16

Re: Article on how to set up TTRSS with Bluehost

Postby sbcadguy » 06 Mar 2016, 22:17

Thanks!


Return to “Knowledge Base”

Who is online

Users browsing this forum: No registered users and 3 guests