Re: Image_barcode() info
| From: | Richard Quadling | Date: | Mon, 14 Mar 2011 16:10:33 +0000 |
| Subject: | Re: Image_barcode() info | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31003@lists.php.net to get a copy of this message | ||
On 14 March 2011 15:55, Alejandro Crosa <alecros@ymail.com> wrote:
>
> Hi Richard
> When I try install pear by executing the go-pear.bat file in C:\php
> I see the message
>
> The aplication or DLL c:\php\ext\php_phar.dll is not a valid image of windows.
>
> Please...I need help with this.
>
> Thanks
>
> Alejandro
>
> --- El lun 14-mar-11, Richard Quadling <rquadling@gmail.com> escribió:
>
> De: Richard Quadling <rquadling@gmail.com>
> Asunto: Re: [PEAR] Image_barcode() info
> Para: "Alejandro Crosa" <alecros@ymail.com>
> Cc: pear-general@lists.php.net
> Fecha: lunes, 14 de marzo de 2011, 15:27
>
> On 14 March 2011 13:28, Alejandro Crosa <alecros@ymail.com> wrote:
> > Hi...I work in windows xp sp2 with php5.3.5 and apache2.2.
> > I want to use Image_barcode() class, and see in the oficial web this
> >
> >
> > Dependencies for Image_Barcode
> >
> > PHP 4.0.0
> > PEAR Installer 1.4.0b1
> > gd extension
> > PHP_Compat (Optional)
> >
> > ok....I download the PEAR Insataller 1.4.0b1 (1.9.2) and I have the gd extension....
> > I need to know how activate Image_Barcode()......
> >
> > Thanks
> >
> > Best regards
> >
> > Alejandro
> >
> >
> >
>
> If you've got PEAR installed and running, then, from the command line,
> can you type ...
>
> pear install image_barcode
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>
php_phar.dll is odd.
PHAR is built into PHP and is not built as an extension.
Can you type ...
php -n -v
php -n -m
This will show you all the modules that are built into PHP. Does this
include phar?
The latest PHP for windows is PHP V5.3.6RC3
The output I'd expect is ...
PHP 5.3.6RC3 (cli) (built: Mar 10 2011 13:35:02)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
ereg
filter
ftp
hash
iconv
json
libxml
mcrypt
mhash
mysqlnd
odbc
pcre
PDO
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
As you can see "Phar" is a built in module. No need to php_phar.dll
Where did you get this from? What documentation told you to use it in this way?
Richard.
P.S.
Please respond to all as others on the list may want to comment.
Please use text rather than HTML formatting too.
Thanks
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY