i have tried in as an netwerk printer and local printer, both doesnt work :s:s yeah i have libmysql.dll, and al my database operations work fine, just not that printer_open function
this is what i did ---------------- -installed Apache HTTP Server (apache_1.3.31-win32-x86-no_src.exe and on other pc apache_2.0.54-win32-x86-no_ssl.msi), just to test -changed port to http://localhost:8080/ -installed mysql-4.0.20d-win.zip - did mysqld-nt.exe --install in console, and started the whole thing -installed php-5.0.1-Win32.zip -added in httpd.conf # associeer .php - bestanden met PHP AddType application/x-httpd -php .php # laad PHP binnen in Apache als module LoadModule php5_module "c:/php/php5apache.dll" content of php.ini ; Directory in which the loadable extensions ( modules ) reside . extension_dir = "c:\php\ext" did extension = php_mysql .dll and extension = php_printer.dll (downloaded from http://snaps.php.net/win32/PECL_5_0/, and placed in c:\php\ext) copied libmysql.dll to C:\Windows\system32 And i have no idea why he wont load php_printer.dll "Jin Yong Wu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > 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:[EMAIL PROTECTED] > 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php