Monthly Archive: November 2020

运行成功。查看日志,占用内存:6.377 MB。下载文件的大小不再受到 memory_limit 的限制。 0

The implementation of Yii 2 based on HTTP client extension, download the file and save as a specific file name (download the remote file to the server), the implementation of memory usage drops from 400 MB to 7 MB

浏览量: 10 1. Now it has been implemented: Copy the resource file of the source to the resource directory published by the channel, and return the relative path (sync). The code is as follows...

在 CentOS 中批量 kill php 进程,执行命令。 0

In K8s, the PHP code cache component has been installed: Zend Opcache, modify the PHP file, and let it take effect immediately (batch kill the PHP process in CentOS)

浏览量: 12 1. In K8s, the container has no restart options, as shown in Figure 1 2. In non-K8s, the container has a restart option, modify the php file before, and the container will...