Subseven Posted March 22, 2017 Share Posted March 22, 2017 So we have a new update. I'm getting the following at the bottom of my passed system check: You are running PHP version 5.6.30. While this version is compatible, we recommend version 7.0.0 or above. For those of you using the latest version with 7 or above, how's that working for you? Link to comment Share on other sites More sharing options...
opentype Posted March 22, 2017 Share Posted March 22, 2017 Fine and fast. Link to comment Share on other sites More sharing options...
Linguica Posted March 22, 2017 Share Posted March 22, 2017 It works fine. PHP7 is *significantly* faster than 5.x: http://talks.php.net/froscon15#/drupalbench so I would recommend making the switch. Link to comment Share on other sites More sharing options...
nodle Posted March 22, 2017 Share Posted March 22, 2017 Fine running 7.1.3 Link to comment Share on other sites More sharing options...
Subseven Posted March 22, 2017 Author Share Posted March 22, 2017 Thanks a lot guys. Is there anything I should do after changing my php version? I already did the latest IPB upgrade today. Link to comment Share on other sites More sharing options...
sweethoney Posted March 22, 2017 Share Posted March 22, 2017 running ok for me Link to comment Share on other sites More sharing options...
nodle Posted March 22, 2017 Share Posted March 22, 2017 2 minutes ago, Subseven said: Thanks a lot guys. Is there anything I should do after changing my php version? I already did the latest IPB upgrade today. Here is something that you will need to do, make sure to update your CRON if your running it. I have switched to a new version and forgot to change that. I wish IPB would put a small reminder in red or something letting you know to make sure to update it after a change or it will not run. Link to comment Share on other sites More sharing options...
Subseven Posted March 22, 2017 Author Share Posted March 22, 2017 Thanks. I killed my cron because SG only allows it to run once per minute...what a crock that is. Link to comment Share on other sites More sharing options...
opentype Posted March 22, 2017 Share Posted March 22, 2017 2 minutes ago, nodle said: Here is something that you will need to do, make sure to update your CRON if your running it. I have switched to a new version and forgot to change that. I wish IPB would put a small reminder in red or something letting you know to make sure to update it after a change or it will not run. There is no direct connection between CRONs and the PHP version. But regarding the reminder: the ACP will indeed tell you after a while when the background task don’t run anymore. Link to comment Share on other sites More sharing options...
Subseven Posted March 22, 2017 Author Share Posted March 22, 2017 Thanks Opentype! Link to comment Share on other sites More sharing options...
nodle Posted March 22, 2017 Share Posted March 22, 2017 15 minutes ago, opentype said: There is no direct connection between CRONs and the PHP version. But regarding the reminder: the ACP will indeed tell you after a while when the background task don’t run anymore. There actually is: /opt/alt/php71/usr/bin/php 19 minutes ago, Subseven said: Thanks. I killed my cron because SG only allows it to run once per minute...what a crock that is. I think CRON is set for one minute by default. From the ACP. You should set the cron to run the following command every minute:/opt/alt/php71/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 Link to comment Share on other sites More sharing options...
ASTRAPI Posted March 22, 2017 Share Posted March 22, 2017 Using latest 7.1.x with no issues about 54% faster than 5,6.x ! Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 18 hours ago, nodle said: I think CRON is set for one minute by default. From the ACP. You should set the cron to run the following command every minute:/opt/alt/php71/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 What exactly will that cron do and how often? I am updated on my PHP to 7.1.2. Seems snappy. Link to comment Share on other sites More sharing options...
nodle Posted March 23, 2017 Share Posted March 23, 2017 3 hours ago, Subseven said: What exactly will that cron do and how often? I am updated on my PHP to 7.1.2. Seems snappy. If you setup your site in the ACP under > Advanced Configuration > if you setup to use CRON it will give you a command line to setup your CRON with that needs to be run every minute. the command line code is unique to your site. Instead of it running by using traffic, it will use CRON tasks instead. Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 Thank you. I just found out I can run it every 30 minutes. So what would I put in for that? Link to comment Share on other sites More sharing options...
opentype Posted March 23, 2017 Share Posted March 23, 2017 18 minutes ago, Subseven said: Thank you. I just found out I can run it every 30 minutes. So what would I put in for that? You better use one of the other two options (run with traffic / run by web service call) in that case. There are task which should run every minute, so 30 minutes is not good enough. Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 4 minutes ago, opentype said: You better use one of the other two options (run with traffic / run by web service call) in that case. There are task which should run every minute, so 30 minutes is not good enough. Looks like I picked the wrong host. SG. Grrrr. How much is the cloud with IPS I wonder? Link to comment Share on other sites More sharing options...
opentype Posted March 23, 2017 Share Posted March 23, 2017 It really doesn’t matter much which option you pick as long as you get enough task calls in the end. You don’t need to switch hosts just because of CRON limits. Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 5 minutes ago, opentype said: It really doesn’t matter much which option you pick as long as you get enough task calls in the end. You don’t need to switch hosts just because of CRON limits. So then do I just leave it alone? And hey. THANKS! I really appreciate your help. Link to comment Share on other sites More sharing options...
Mark H Posted March 23, 2017 Share Posted March 23, 2017 You really need to have those tasks run by CRON every minute, 30 minutes will not be good. EasyCron can do this on their first paid tier, which is only $8.00 USD annually, a very low cost to make sure it is done right. Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 5 minutes ago, Mark H said: You really need to have those tasks run by CRON every minute, 30 minutes will not be good. EasyCron can do this on their first paid tier, which is only $8.00 USD annually, a very low cost to make sure it is done right. Mark. I'll get easy cron right now. How exactly do I set up the cron once I do? Link to comment Share on other sites More sharing options...
Mark H Posted March 23, 2017 Share Posted March 23, 2017 Go to the ACP and find the Task Method page (use live search if need be) and choose "Web Service". You will be shown a URL you need to use. (Save the page at that point, but do not forget to activate the job at easyCron!) Enter that URL at EasyCron, using "every minute" as the time trigger, and save the job. Once it's saved it should start working immediately. There's also a "manual test" button you can use to be sure. Link to comment Share on other sites More sharing options...
Subseven Posted March 23, 2017 Author Share Posted March 23, 2017 Thanks Mark. I had to close shop and will finish this tomorrow. I appreciate everybody's help here. Link to comment Share on other sites More sharing options...
Subseven Posted March 24, 2017 Author Share Posted March 24, 2017 EasyCron is running! Test works fine. Set it up just like you said Mark. Link to comment Share on other sites More sharing options...
Subseven Posted March 24, 2017 Author Share Posted March 24, 2017 What about the Data Storage Tab in ACP... Do you recommend File System or Database for file storage? I have it set to file system for now. Caching is not enabled. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.