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条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64