Article on how to set up TTRSS with Bluehost
-
- 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
Wow, that was fast! Thanks a lot, it works perfectly now!
Re: Article on how to set up TTRSS with Bluehost
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
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!
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
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
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
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
Who is online
Users browsing this forum: No registered users and 1 guest