Category: PHP 7.4
-
Post Views: 16 1. In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report an error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]. as shown in Figure 1 2. Based on the prompt information, run apt-get update. as shown in Figure 2 3. Execute the command again: sudo apt install php7.4-cli, no error is reported.…
-
Post Views: 18 1. In Windows 10 Professional, PHP cannot run the troubleshooting analysis. Execute the command: php-cgi.exe -b 127.0.0.1:9000-c c:/php-7.4.27/php.ini , automatically exit. as shown in Figure 1 2. Install the Visual C++ 2015 runtime 64-bit, as shown in Figure 2 3. Execute the command again: php-cgi.exe -b 127.0.0.1:9000-c c:/php-7.4.27/php.ini, error: php warning:vcruntime140.dll14.0 Is not compareable with this php…
-
Post Views: 16 1. In the past few days, an interview question during the computer test, design a high-precision addition function, which supports the addition of long numbers without losing the accuracy, and ignores negative numbers (please do not use BCADD and other built-in functions). 2. Check php official website, bcadd – the addition calculation of two arbitrary precision numbers.…
-
Post Views: 15 1. After the basic image of the container is replaced, when the RANCHER environment variable, CHANNEL_PUB_API_CFG_MIGrate=true, the container starts failure. Error: php core warningYii\Base\ErrorExceptionwith messagemoduleGDalready loaded. as shown in Figure 1 2. When the RANCHER environment variable, channel_pub_api_cfg_migrate=false, the container starts successfully. as shown in Figure 2 3. When the RANCHER environment variable, channel_pub_api_cfg_migrate=true, is essentially executing…
-
Post Views: 16 1. At this stage, there are two environments in the public cloud. They are COM environments and CSP environments, respectively. COM environment container, as shown in Figure 1 2. Containers in the CSP environment. In the CSP environment, the 2 containers of the COM environment have been merged into one container. And a new container has been…
-
Post Views: 19 1. The HTTP request failed, and an error is reported: CURL Error: #55 – TCP Connection Reset by Peer. When requesting the Penguin video file sharding upload interface. as shown in Figure 1 2. View the size of the video file: 1554129526 / 1024 / 1024 = 1482.13 MB. as shown in Figure 2 3. View the…
-
Post Views: 18 1. At this stage, there is a requirement, and it is necessary to send the corresponding operation logs generated to the log system of the middle platform in an interface call. The log system interface of Zhongtai supports multiple log records at the same time. Therefore, it is decided to plan to first save the generated N…
-
Post Views: 15 1. Error report in PHP environment: Notice: unknown: file created in the systems Temporary directory in unknown on line 0. as shown in Figure 1 2. Check the php.ini file, because the temporary directory used to store the file when the file is uploaded does not exist. After creating the corresponding directory, no more errors will be…
-
Post Views: 12 1. Report an error in Laravel 5.4: call to undefined function app\\app\\services\\exif_read_data(). as shown in Figure 1 2. EXIF_READ_DATA — Read the EXIF header information from an image file. is an EXIF function that depends on the extension: EXIF. Check out phpinfo . Extension not installed: EXIF. as shown in Figure 2 3. The local environment is…
-
Post Views: 18 1. Composer installs Workerman successfully. as shown in Figure 1 2. The Linux system can use the following script to test whether the local PHP environment meets the workerman operation requirements. curl-sshttp://www.workerman.net/check.php| PHP. All display OK, it means that the Workerman requirements are met. as shown in Figure 2 3. Refer to the implementation of colleagues, edit…