沃梦达 / 编程问答 / php问题 / 正文

在哪里可以找到 php_printer.dll?

Where to find php_printer.dll?(在哪里可以找到 php_printer.dll?)

本文介绍了在哪里可以找到 php_printer.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

推荐答案

那你 google 不太好.其他地方仍然有预编译二进制文件的存储库:

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

  • https://github.com/maryo/php-5.5-windows-extensions
  • http://windows.php.net/下载/pecl/snaps/printer/0.1.0-dev/
  • http://downloads.php.net/pierre/

仅仅说它不起作用是不够的.我知道在 Windows 上从源代码编译很费力(pecl install printer 给出了正确的编译器设置),但至少在编辑 php.ini<后在命令行上运行 PHP 解释器/代码>.它会在链接错误的情况下为您提供有用的错误消息,或者如果您编辑了错误的配置文件,则不会.(细节太少,无法回答.)

Just saying it does not work is insufficient. I understand that compiling from source is effortful on Windows (pecl install printer given 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.)

另见:PHP 5.4.7 编译 ext php_printer

这篇关于在哪里可以找到 php_printer.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:在哪里可以找到 php_printer.dll?

基础教程推荐