Tag: phpinfo()
-
Post Views: 14 1. When executing: composer install, prompt: enqueue/rdkafka 0.10.19 requires ext-rdkafka -> It is missing from your system. install or enable phps rdkafka extension.. as shown in Figure 1 2. Decide to enable PHP’s RDKAFKA extension. Open:https://pecl.php.net/package/rdkafka/6.0.1/windows, download 7.4 Thread Safe (ts) x64. After decompressing php_rdkafka-6.0.1-7.4-ts-vc15-x64, put php_rdkafka.dll Copy to: C:\php-7.4.27\ext\php_rdkafka.dll. Then edit php.ini, add extension=rdkafka 3. When…
-
Post Views: 15 1. Report an error in Windows 10, Nginx 1.10, and PHP 7.4: 413 Request Entity Too Large. The size of the uploaded file: 286MB. as shown in Figure 1 2. Check phpinfo, the size of the uploaded file is limited to 1024M. as shown in Figure 2 3. Add to nginx’s server: client_max_body_size 1024M; 4. Restart nginx…
-
Post Views: 13 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: 20 1. Error: call to undefined function international\image\gd\imagecreateFromJPEG(). as shown in Figure 1 2. Check phpinfo and find that the gd library does not support jpeg format. as shown in Figure 2 3. By upgrading the basic image of the container, check phpinfo, and add the value of jpeg support to Enabled. The GD library already supports the…
-
Post Views: 17 1. Error in CentOS 7.5 64-bit, PHP 7.4: PHP core warningYii\Base\ErrorExceptionwith messagemodulezipalready loaded, as shown in Figure 1 2. Check the information of phpinfo() and confirm that the zip extension is installed. as shown in Figure 2 3. Check whether zip exists in /usr/local/php/etc/php.ini. exists. 4. Check the extension_dir of phpinfo(), its value: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/ , as shown…
-
Post Views: 15 1. In Windows 10 64-bit, PHP 7.4.6, an error is reported: php warning: php startup: unable to load dynamic libraryimagick(Tried: c:/php-7.4.6/ext\imagick, as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2017/08/30/1768/, had a similar problem in PHP 7.0 before 3. Open:http://windows.php.net/downloads/pecl/deps/, download: imagemagick-7.0.7-11-vc15-x64.zip, as shown in Figure 2 4. Create a new directory: C:\imagemagick-7.0.7, copy the directory: d:\soft\imagemagick-7.0.7-11-vc15-x64\bin All files…
-
Post Views: 14 1. Check the relevant information of phpinfo(), and confirm to download the version of xdebug, VC15 x64 Thread Safe, as shown in Figure 1 2. Open the URL:https://xdebug.org/download.php, download PHP 7.2 VC15 TS (64 bit), as shown in Figure 2 3. Copy php_xdebug-2.7.1-7.2-vc15-x86_64.dll to C:\php-7.2.14\ext\php_xdebug.dll, in Add a new line to php.ini, restart php 4. Check the…
