Re: php_printer without thread-safety

From: Date: Wed, 03 Dec 2008 00:07:05 +0000
Subject: Re: php_printer without thread-safety
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5945@lists.php.net to get a copy of this message
Hi 2008/12/3 Alejandro Michelin Salomon (gmail) <amichelins@gmail.com>: > Hi : > > > > I am trying to make some work with php-gtk. > > I need to print direct to printer. But when a try to use the php_printer extension, the php > says : > > > > Module compiled with module API=20060613, debug=0, thread-safety=1 > > PHP compiled with module API=20060613, debug=0, thread-safety=0 > > > > And i can not find a php_printer.dll with thread-safety=0. > > > > How can i get this version ? > > > > If need to compile it, how i get source ? As it looks then you need to compile it yourself, you can get the source from CVS: http://www.php.net/anoncvs.php You need to check out the PHP version you wish to compile aswell as the printer source from PECL. The printer module name is called "pecl/printer". I assume you know how to compile PHP on Windows, if not then the following documentations will guide you through: http://www.php.net/install.windows.building http://wiki.php.net/internals/windows When you reach the configure step then compile php like: cscript /nologo configure.js --with-printer=shared --disable-zts (Less than PHP 5.3) configure --with-printer=shared --disable-zts (PHP 5.3 or greater) nmake and you should find your compiled dll inside the "Release" directory. :) > > > > Thanks in advance > > -- Kalle Sommer Nielsen

« previous php.pecl.dev (#5945) next »