RE: [PHP-WIN] Call to undefined function printer_open()
| From: | Wu, Jin Yong | Date: | Tue, 19 Apr 2005 02:15:54 +0000 |
| Subject: | RE: [PHP-WIN] Call to undefined function printer_open() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25866@lists.php.net to get a copy of this message | ||
Check whether you install related printer driver. For instance, it's not
enough only to load
module <php_mysql.dll>, but also you should have libmysql.dll. Maybe it'll
help you some.
Yong
-----Original Message-----
From: Nick [mailto:glenn.brutyn@telenet.be]
Sent: Monday, April 18, 2005 23:07 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Call to undefined function printer_open()
hey
i want to use that function, but i cant load it :s
content of php.ini:
;extension=php_pgsql.dll
extension=php_printer.dll
;extension=php_shmop.dll
extension_dir = "c:\php\ext"
the file is =>> C:\php\ext\php_printer.dll
this seems correct to me. why wont it load
some more info: i use apache(apache_1.3.31-win32-x86-no_src.exe), win xp
pro, mysql (mysql-4.0.20d-win.zip), php 5.0.1 (php-5.0.1-Win32.zip)
this didnt work ==> multithreaded
// Example loading an extension based on OS
if (!extension_loaded('printer')) {
if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
dl('php_printer.dll');
} else {
dl('printer.so');
}
}
System Windows NT PCNICK 5.1 build 2600
Build Date Aug 12 2004 23:30:01
Configure Command cscript /nologo configure.js "--with-gd=shared"
"--enable-snapshot-build"
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20031224
PHP Extension 20040412
Zend Extension 220040412
Debug Build no
Thread Safety enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php