问题描述
我有一个使用php_printer扩展名的类,但是我无法在任何位置找到它,而在php.net中它表示它目前不可用。我google了,但是我从其他网站下载的都没有效率。在我看来,它已经过时了。我将.dll文件复制到extensions文件夹中,并在php.ini中设置配置,但仍然无法使用其内置函数。我已安装PHP 5.3.1。然后你没有google很好。仍然有其他地方的预编译二进制文件的存储库:
只是说它不工作不够。我明白,从源代码编译在Windows( pecl安装打印机
给定一个适当的编译器设置)很难,但是至少在命令行上运行PHP解释器后,编辑的php.ini
。它会给你一个有用的错误信息,以防链接错误,或没有,如果您编辑错误的配置文件。 (太少的细节要回答。)
另请参见:
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.
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/downloads/pecl/snaps/printer/0.1.0-dev/
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.)
See also: PHP 5.4.7 Compiling ext php_printer
这篇关于在哪里可以找到php_printer.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!