php 在哪里可以找到 php_printer.dll?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7916480/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 03:38:16  来源:igfitidea点击:

Where to find php_printer.dll?

phpdll

提问by menislici

I have a class that makes use of the php_printer extension but I can't find it anywhere and at php.net it says it's currently unavailable. I googled it, but all I downloaded from other sites was not efficient. It seemed to me it was outdated. I copied the .dll file in the extensions folder and set the configuration in php.ini but I still couldn't use its built-in functions.I have PHP 5.3.1 installed.

我有一个使用 php_printer 扩展的类,但我在任何地方都找不到它,在 php.net 上它说它目前不可用。我用谷歌搜索了它,但我从其他网站下载的所有内容都没有效率。在我看来它已经过时了。我复制了扩展文件夹中的.dll文件并在php.ini中设置了配置,但我仍然无法使用它的内置函数。我安装了PHP 5.3.1。

回答by mario

Then you did not google very well. There still are repositories of precompiled binaries elsewhere:

然后你没有很好地谷歌。其他地方仍然有预编译二进制文件的存储库:

Just saying it does not work is insufficient. I understand that compiling from source is effortful on Windows (pecl install printergiven a proper compiler setup), but at the very least run the PHP interpreter on the commandline after editing the php.ini. It would give you a useful error message in case of linking errors, or none in case you edited the wrong config file. (Too few details to answer.)

仅仅说它不起作用是不够的。我知道从源代码编译在 Windows 上很费力(pecl install printer给定适当的编译器设置),但至少在编辑php.ini. 它会在链接错误的情况下为您提供有用的错误消息,如果您编辑了错误的配置文件,则不会。(细节太少,无法回答。)

See also: PHP 5.4.7 Compiling ext php_printer

另请参阅:PHP 5.4.7 编译 ext php_printer

回答by Fares Abadou

download and unzip the extenssions file http://museum.php.net/php5/pecl-5.2.6-nts-Win32.zip

下载并解压扩展文件 http://museum.php.net/php5/pecl-5.2.6-nts-Win32.zip

回答by GordonM

http://downloads.php.net/pierre/appears to have one that dates to 2010.

http://downloads.php.net/pierre/似乎有一个可以追溯到 2010 年。

I'd consider looking for some other solution though, it doesn't look like a very widely supported extension and it's not been updated for at least a year.

不过,我会考虑寻找其他解决方案,但它看起来不像是一个受到广泛支持的扩展,并且至少一年没有更新。