Get text between <tag> and </tag> with PREG in PHP

When we make a simple web crawler in PHP, we often need to extract HTML tags. We can use some third ...
Sep 01, 2020 PHP Comments 0

PHP 7.4 configure: error: The pkg-config script could not be found or is too old

IssueIn Linux and Mac Os, I compile the source code of PHP 7.4.9. Run the following commands.$ ./con...
Aug 24, 2020 PHP Comments 0

Command line auto complete tab key not work in terminal for VNC Viewer

I installed vncserver on the Ubuntu server. After connecting through VNC Viewer, open the terminal t...
Aug 21, 2020 Linux Comments 0

Set the size of the desktop with vncserver

IssueAfter installing anf runing vncserver on Ubuntu, I use the VNC Viewer to connect VNC successful...
Aug 18, 2020 Linux Comments 0

Change MAC address to change Teamviewer ID in Centos

In Centos 7, after using Teamviewer 15.8.3 for a time, there is an error says a connection failure: ...
Aug 16, 2020 Linux Comments 0

Install Teamviewer error in Centos: Requires: libQt5WebKitWidgets.so.5()(64bit) >= 5.5

IssueIn Centos, when I install Teamviewer with rpm package, run the following commands. Finally I ge...
Aug 10, 2020 Linux Comments 0

PHP 5 Configure error in Mac: Undefined symbols for architecture x86_64: "_libiconv", referenced

IssueIn Mac OS, I compile the source code of PHP 5, include 5.4.45/5.5.38/5.6.40. Run the following ...
Aug 08, 2020 PHP Comments 0

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