Author: sreekanth

Disable Crashlytics For Android App debug builds

Tip Of The Day:   Crashlytics is an excellent app debugging and crash analysis tool. Sometimes we may want to disable crashlytics for debug builds which speeds up gradle builds. Setting ext.enableCrashlytics = false  will  disable sending a mapping file to crashlytics backend  debug { ext.enableCrashlytics = false debuggable true Also  add below line in your […]

PHP scripts not running after upgrading from php 5.6 to php 7

Issue:  After upgrading from php5.6 to php 7.2  website is down .     Upgrading from php 5 to php 7 on centos  may require small changes in httpd (apache2) configuration files . Error could be related to loading php7 module  and error may display something like  Starting httpd: httpd: Syntax error on line 221 […]

PHP Fatal error:  Allowed memory size exhausted

Error: PHP Fatal error:  Allowed memory size of 209715200 bytes exhausted (tried to allocate 4294967296 bytes) in /var/www/html . This can  happen  for various  reasons  like  a loop in your query function  or your column type in mysql table is  longtext or any other kind of data which needs more memory to hold the data […]

Knowing why server was shutdown

Sometimes we may want to investigate why a linux system was shutdown unexpectedly .  As you know already , the only place we get this information from is /var/log directory . last -x  command will display some information about shutdown/reboot like below . runlevel (to lvl 3)   2.6.32-754.17.1. Sat Sep  7 16:24 – 18:41  […]

Back To Top