dsue14118 2017-06-04 17:31
浏览 122
已采纳

在PHP桌面应用程序中使用PHP Printer函数

In XAMPP environment

I develop and test my PHP code in XAMPP environment (local) and it success.

In PHP Desktop environment

I already copied the php_printer.dll into the ext folder and include this line extension=php_printer.dll in the php.ini file.

I also moved my folder from htdocs (XAMPP environment) to the www folder (PHP Desktop environment) but when I run the phpdesktop-chrome.exe it shows ...undefined function printer_list()... so I knew that it cannot recognize the library.

My question

How do I configure PHP Desktop to recognize the php_printer.dll as similar to my XAMPP behavior?

Update 1

php_printer.dll failed to load. By the way how do I identify my php_printer.dll version whether it match PHP Desktop or not? Thank you. enter image description here

Update 2

Okay I have the version as below:
PHP Desktop: phpdesktop-chrome-57.0-rc-php-7.1.3
php_printer.dll: php_printer-php5.6.30

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来