Backup your mobile phone in Linux
To backup data from a non-smart SonyEricsson mobile phone (such as W890i) in Linux, use the gammu utility.
-
Install gammu, it is available as a package in the standard repositories for Debian and Ubuntu, just install the
gammupackage. -
Create a
~/.gammurcfile with the following content:> > [gammu]
> port = /dev/ttyACM0
> connection = at -
Connect your mobile phone to the computer with the USB cable and select
Phone mode -
Use
> gammu backup filename.vcf -yes
PHP session timeout
The developers of PHP has, in their infinite wisdom, decided that the default session timeout should be 24 minutes (1440 seconds).
This means that if you have a MediaWiki wiki and are editing a single page for half an hour and then click the save button, you are logged out and all your changes are lost. I just learned this the hard way.
Fortunately, you can change this with the session.gc_maxlifetime parameter in php.ini. So set this to a higher – more sane – value, such as 86400 (24 hours).