note 127567 added to install.pecl.windows

From: Date: Sat, 03 Sep 2022 00:15:16 +0000
Subject: note 127567 added to install.pecl.windows
Groups: php.notes 
Request: Send a blank email to php-notes+get-219508@lists.php.net to get a copy of this message
This is handwaved somewhat in the "Resolving problems" section, but mis-location of (non-extension) DLL files is often a problem when installing PHP extensions on Windows. Many PHP extensions come with not only the extension DLL, but supplementary DLLs that are required by that extension. (For example, php_luasandbox.dll comes with lua5.1.dll, the lua interpreter it sandboxes.) Those other DLLs should go into the same directory as the php.exe binary, NOT the extension directory. So, if php_luasandbox.dll is installed at C:\PHP8.1\ext\php_luasandbox.dll, the interpreter would be located at C:\PHP8.1\lua5.1.dll. That allows the PHP binary C:\PHP8.1\php.exe to find those additional DLLs when required. ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.173 (proxied: 68.197.9.1) ---- Manual Page -- https://php.net/manual/en/install.pecl.windows.php Edit -- https://main.php.net/note/edit/127567 Del: integrated -- https://main.php.net/note/delete/127567/integrated Del: useless -- https://main.php.net/note/delete/127567/useless Del: bad code -- https://main.php.net/note/delete/127567/bad+code Del: spam -- https://main.php.net/note/delete/127567/spam Del: non-english -- https://main.php.net/note/delete/127567/non-english Del: in docs -- https://main.php.net/note/delete/127567/in+docs Del: other reasons-- https://main.php.net/note/delete/127567 Reject -- https://main.php.net/note/reject/127567 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219508) next »