安装

» PECL 扩展未与 PHP 捆绑。

安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/ui.

此扩展在 Windows 平台的二进制扩展 (DLL 文件) PECL 可以在 PECL 官方网站上下载。

添加备注

用户贡献的备注 1 note

up
0
fabappsforall at gmail dot com
1 day ago
This is how I got UI to work on my 64-bit Windows 10 local computer:
Step 1: I went to https://pecl.php.net/package/ui and selected the v2.0.0 DLL for Windows
Step 2: I downloaded the version 2.0.0 zipfile for TS and x64
Step 3: I created a folder for the extracted files at C:\php_ext
Step 4: I had DLL-location-related issues with my current version 8.3.11. So I downloaded PHP 7.1.7 from https://windows.php.net/downloads/releases/archives/.
Step 5: I extracted the contents from the zipfile and installed in a separate folder called C:\php7.1.7
Step 6: Inside Windows=>Control Panel=>System=>Advanced system settings=>Environment Variables, I added C:\php7.1.7 and C:\php_ext into the Administrator Path environment variable
Step 7: I also added C:\php7.1.7 and C:\php_ext into the System variables Path environment variable
Step 8: I copied C:\php7.1.7\php.ini-production to C:\php7.1.7\php.ini
Step 9: In C:\php7.1.7\php.ini I added the entry: extension_dir = "C:\php_ext"
Step 10. In C:\php7.1.7\php.ini I added the entry: extension=php_ui.dll
Step 11. I ran php --ri ui. It outputted: ui support => enabled
Step 12: I ran "php C:\php_ext\gallery.php" and the gallery Windows GUI app worked fine!
To Top