Handle large file downloads in PHP

In order to handle file download, we need to response several HTTP headers and write a file to the o...
Aug 06, 2020 PHP Comments 0

Support download with resume in PHP

RequirementIn web application, we often need to provide file downloads. For small files, there is no...
Aug 04, 2020 PHP Comments 0

openvpn configure: error: libpam required but missing

IssueIn Linux, download the openvpn source and configure, and run the commands blew.$ wget https://s...
Jul 30, 2020 Linux Comments 0

Several ways to output tab characters in shell scripts

This article describes several ways to echo the tab character \t in shell scripts, as well as other ...
Jul 28, 2020 Shell Comments 0

nginx configure error the HTTP gzip module requires the zlib library

IssueDownload the nginx source code and configure, run the following commands.$ wget http://nginx.or...
Jul 25, 2020 Nginx Comments 0

mysql 8 Error Server sent charset unknown to the client

IssueAfter install mysql 8. I'm trying to connect to a MySQL database from php. $dsn = "mysql:dbname...
Jul 23, 2020 Mysql Comments 0

Mysql ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option

IssueIn mysql 8, when I try to use SELECT ... INTO OUTFILE to export data to a file, but finally it ...
Jul 21, 2020 Mysql Comments 0

ffmpeg configure error nasm/yasm not found or too old

IssueOn Linux/Unix, compile ffmpeg from source code. Run the following command.$ git clone https://g...
Jul 19, 2020 Linux Comments 0

Create a Self-Signed Certificate for NGINX on macOS

In order to develop better, sometimes we need to configure https in our own local environment. This ...
Jul 18, 2020 Nginx Comments 0

In React Native 0.62, after building a signed apk, index.android.bundle is a binary file

IssueBefore building a signed apk, I run the below command to bundle my android application project....
Jul 16, 2020 React Native Comments 0