I wanted to test PHP7 on my Debian Jessie install, but latest offered package in the repositories was 5.6.30+dfsg-0+deb8u1.
In order to install PHP 7.1 which was the latest at the time of this article, you need to add following repository by running following commands:
apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
Continue reading “Install PHP 7.1 on Debian Jessie ARM 64bit architecture”
If you have configured your main web site domain to use SSL for example https://your.domain and https://www.your.domain and you have other sub-domains that you access without SSL you could face an issue where Chrome browser insists to use HTTPS on your sub-domains as well. This can cause problems accessing your sub-domain if it is not using SSL.
Even if you manually type http://subdomain.your.domain it will automatically redirect you to https://subdomain.your.domain Continue reading “Server side solution to stop redirect from http to https in Chrome”
In order to have local copies of my web pages hosted on VPS I have configured rsync cronjob to sync everything during the night to my local box.
Sometimes with larger files you can encounter errors like these:
Received disconnect from [YOUR_IP]: 2: Packet corrupt
rsync: [sender] write error: Broken pipe (32)
rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.1]
Continue reading “How to fix corrupt packet error for with rsync for large files”
Recently I bought this handy little camera at a bargain price at GearBest.com under 30$.
You can find more details about the camera and it’s features on their homepage by clicking here. Continue reading “Xiaomi Xiaoyi Night vision WiFi IP camera review and tweaks”
For example you have downloaded 32GB .img file from the Internet and you burned it to your SD card by using dd command in Linux:
dd if=pi.img bs=4M|pv|dd of=/dev/mmcblk0 bs=4M
Just to mention again, it’s good to have pv command in the middle in order to track progress of the write. Continue reading “Can’t mount partition copied from image file on your SD card”