RES: [PECL-DEV] php_printer without thread-safety

From: Date: Thu, 04 Dec 2008 16:13:40 +0000
Subject: RES: [PECL-DEV] php_printer without thread-safety
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5958@lists.php.net to get a copy of this message
Kalle : I download the Microsoft Visual C++ 2008 Express iso dvd. Amd i am reading the docs to try to compile the php_printer. Thank -----Mensagem original----- De: kalle.php@gmail.com [mailto:kalle.php@gmail.com] Em nome de Kalle Sommer Nielsen Enviada em: quarta-feira, 3 de dezembro de 2008 17:32 Para: Alejandro Michelin Salomon (gmail) Cc: pecl-dev@lists.php.net Assunto: Re: [PECL-DEV] php_printer without thread-safety 2008/12/3 Alejandro Michelin Salomon (gmail) <amichelins@gmail.com>: > Kalle: > > What compiler i need to do this work? You will need a Microsoft Visual C++ Compiler, Microsoft Visual C++ 6 and Microsoft Visual C++ 2008 Express (thats the free edition) should do. Visual C++ 2008 Express can be downloaded from below: http://www.microsoft.com/express/download/default.aspx > > Thank in advance > > -----Mensagem original----- > De: kalle.php@gmail.com [mailto:kalle.php@gmail.com] Em nome de Kalle Sommer Nielsen > Enviada em: terça-feira, 2 de dezembro de 2008 21:07 > Para: Alejandro Michelin Salomon (gmail) > Cc: pecl-dev@lists.php.net > Assunto: Re: [PECL-DEV] php_printer without thread-safety > > 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 > > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Kalle Sommer Nielsen

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