php-install Digest 21 May 2001 19:43:09 -0000 Issue 319

Topics (messages 3219 through 3230):

Re: RH7.1, PHP4, and ucd-snmp
        3219 by: Torkil Zachariassen

Problems running ASP scripts after installing PHP on Win2000 pro
        3220 by: Multi
        3221 by: Phil Driscoll
        3227 by: Multi
        3228 by: Phil Driscoll

Re: PHP4 Works but Sessions Don't!!
        3222 by: Matt Schroebel
        3230 by: hrdware

RH7, gd and php4.0.4pl1
        3223 by: Thomas D. Kryger
        3224 by: Rafael Ernesto Bastidas L.
        3225 by: Philip Snyder
        3229 by: Webmaster

Ayuda PHP con Servidor HP_UX con base de datos informix
        3226 by: Santos Saucedo Laura Gabriela

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Thanks Rasmus - problem solved here. Your corrections to
ext/snmp/config.m4
worked an should be added to the source (if they have not already).

Though your advise to the original poster, did not help him it cured a
box of mine
where I previously had SNMP functions compiled into a php apache module.
Upgrading the ucd-snmp packages, gave ssl support which php did not like
too much.

system: 
  php-4.0.2.tar.gz
  RedHat-6.2 with some rebuilt src.rpm's from RedHat-7.1:
  openssl-perl-0.9.6-3, openssl-0.9.6-3, ucd-snmp-4.2-12,
ucd-snmp-utils-4.2-12
  openssl-python-0.9.6-3, ucd-snmp-devel-4.2-12, openssl-devel-0.9.6-3

config.nice - used to locate the error:
  #! /bin/sh
  #
  # Created by configure
  "./configure" \
  "--with-openssl" \
  "--with-snmp" \
  "--enable-ucd-snmp-hack" \
  "$@" 

debug.log - with errors:
  CONFIGURE:   './configure' '--with-openssl' '--with-snmp'
'--enable-ucd-snmp-hack'
  CC:         gcc
  CFLAGS:     -g -O2
  CPPFLAGS:   
  CXX:        
  CXXFLAGS:   
  INCLUDES:      -I$(top_builddir)/Zend -I$(top_srcdir) 
-I/usr/include/freetype 
                 -I/usr/local/src/php-4.0.2/ext/mysql/libmysql
-I/usr/include/ucd-snmp 
  LDFLAGS:     
  LIBS:        -lsnmp -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv
  DLIBS:      
  SAPI:       cgi
  PHP_RPATHS: 
  uname -a:   Linux localhost.localdomain 2.2.14-5.0 #1 Tue Mar 7
21:07:39 EST 2000 i686 unknown
  gcc -o conftest -g -O2   conftest.c -lsnmp -lttf -lpng -lz -lgd
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestInit'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestFinal'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_md5'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `HMAC'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_sha1'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_cbc_encrypt'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_key_sched'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestUpdate'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `RAND_bytes'
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_ncbc_encrypt'
  collect2: ld returned 1 exit status

BTW: 

  $ /sbin/ldconfig -p| grep crypto
        libk5crypto.so.2 (libc6) => /usr/kerberos/lib/libk5crypto.so.2
        libk5crypto.so (libc6) => /usr/kerberos/lib/libk5crypto.so
        libcrypto.so.1 (libc6) => /usr/lib/libcrypto.so.1
        libcrypto.so (libc6) => /usr/lib/libcrypto.so

and 

 $ cc -v
 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
 gcc version 2.96 20000731 (Red Hat Linux 7.0)

Adding the + lines to ext/snmp/config.m4 file.
>     if test "$ac_cv_header_default_store_h" = "yes"; then
>         dnl UCD SNMP 4.1.x
> +        AC_CHECK_LIB(crypto, CRYPTO_free, SNMP_LIBS=-lcrypto)
> +        LIBS="$LIBS $SNMP_LIBS"
>         AC_TRY_RUN([
and running ./buildconf solved the problem, and gave a working php
executable.

Then the full configuration was run like this:

  > debug.log             && \
  > config.cache          && \
  > config.log            && \
  rm -f config.cache      && \
  ./configure \
    --with-openssl \
    --with-snmp \
    --enable-ucd-snmp-hack \
    --with-apxs \
    --with-mysql=/usr/local/mysql \
    --with-msql=/usr/local/Hughes \
    --with-gd=shared  && \
  make clean                                            && \
  make                                                  && \
  make install                                          && \
  echo SUCCESS

which succeded with an empty debug.log, and apache could now started
cleanly.

Thanks again.

Rasmus Lerdorf wrote:
> 
> > I have a PIII 850 box running RH7.1 and have encountered a problem with
> > adding snmp support to php4. I hope that someone has a suggestion as to how
> > to fix this....here are the details:
> >
> >
> > RPMs installed:
> > (I am using the stock rpms from the RH7.1 distro for apache, mysql,  and
> > ucd-snmp)
> > apache-1.3.19-5  (and it's devel rpm)
> > mysql-3.23.36-1  (and it's devel rpm, server and client rpms)
> > ucd-snmp-4.2-12  (and it's devel and utils rpms)
> >
> >
> > PHP compiles fine, but apache won't startup due to a symbol error:
> >
> > Cannot load libphp4.so into server: /usr/lib/libsnmp-0.4.2.so: undefined
> > symbol: EVP_DigestInit
> 
> Try editing your ext/snmp/config.m4 file.  Add the two lines indicated by
> + here:
> 
>     if test "$ac_cv_header_default_store_h" = "yes"; then
>         dnl UCD SNMP 4.1.x
> +        AC_CHECK_LIB(crypto, CRYPTO_free, SNMP_LIBS=-lcrypto)
> +        LIBS="$LIBS $SNMP_LIBS"
>         AC_TRY_RUN([
> 
> Then run ./buildconf and try again and let me know if it fixes it.  Looks
> to me like the TRY_RUN is attempted without -lcrypto being added which is
> going to make that check for OPENSSL fail.  Don't quite see how this could
> ever have worked unless some other extension is adding -lcrypto.




After I installed PHP 4.05 (with the install version) on win2000 pro, PHP
scripts run OK but my ASP scripts don't run, specially if they are using the
FileSystemObjects.
I tried to unsinstall PHP, I even uninstalled IIS5 but the problem
persisted. I made a windows 2000 reinstallation and it was the same thing.
Only after a new fresh reinstallation of the system, everything became well.
I don't know why it happened.
Someone could help me to solve the problem?






On Monday 21 May 2001 12:39, Multi wrote:
> After I installed PHP 4.05 (with the install version) on win2000 pro, PHP
> scripts run OK but my ASP scripts don't run, specially if they are using
> the FileSystemObjects.
> I tried to unsinstall PHP, I even uninstalled IIS5 but the problem
> persisted. I made a windows 2000 reinstallation and it was the same thing.
> Only after a new fresh reinstallation of the system, everything became
> well. I don't know why it happened.
> Someone could help me to solve the problem?

Did you install PHP as an ISAPI module? If so, you could try changing to CGI 
- the ISAPI module is none too stable and can cause bits of IIS to fall over. 
I can see no reason why the CGI version should cause you any problems however.

Cheers
-- 
Phil Driscoll




No. As far as I know the version with InstallShield is CGI only (it was the
one I used). That's why I don't understand the reason...
But the worst of all, is the fact of the persistance of the problem even
after I removed all (??) the files that were in PHP directory, all the
references to PHP in the registry, the "php.ini", and correcting the
configuration of Internet Service Manager.
I suspect that there is some ".dll" included somewhere...
Any idea?


"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
01052113313005.01191@linux">news:01052113313005.01191@linux...
> On Monday 21 May 2001 12:39, Multi wrote:
> > After I installed PHP 4.05 (with the install version) on win2000 pro,
PHP
> > scripts run OK but my ASP scripts don't run, specially if they are using
> > the FileSystemObjects.
> > I tried to unsinstall PHP, I even uninstalled IIS5 but the problem
> > persisted. I made a windows 2000 reinstallation and it was the same
thing.
> > Only after a new fresh reinstallation of the system, everything became
> > well. I don't know why it happened.
> > Someone could help me to solve the problem?
>
> Did you install PHP as an ISAPI module? If so, you could try changing to
CGI
> - the ISAPI module is none too stable and can cause bits of IIS to fall
over.
> I can see no reason why the CGI version should cause you any problems
however.
>
> Cheers
> --
> Phil Driscoll
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






On Monday 21 May 2001 18:34, Multi wrote:
> No. As far as I know the version with InstallShield is CGI only (it was the
> one I used). That's why I don't understand the reason...
> But the worst of all, is the fact of the persistance of the problem even
> after I removed all (??) the files that were in PHP directory, all the
> references to PHP in the registry, the "php.ini", and correcting the
> configuration of Internet Service Manager.
> I suspect that there is some ".dll" included somewhere...
> Any idea?

I honestly suspect that it may just be a coincidence - I've never heard of 
anyone else with this kind of problem and I monitor the lists pretty 
closesly. The only way I can think of that installing cgi php could affect 
asp is if for some crazy reason, asp had been using .php, .php3 or .phtml as 
an extension, and I guess that's most unlikely. PHP dlls just cannot get 
involved with IIS except for the duration of the life of php.exe and that 
just lives for the duration of the request.

Sorry I can't be more helpful.
-- 
Phil Driscoll





Works for me with i.e. 5.5.  Do you have cookies enabled on your browser?

> From: hrdware [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 19, 2001 4:30 PM
>

> 
> But when I tried to learn about sessions, I quickly realized sessions
> doesn't work!
> 




Greetings!

    Yes, it works now! It was fixed last night. I can't really say I know HOW
I fixed it.
I tried so many things and it finally started working. Now I can get to work
learning
more PHP!

    thanks everyone for your help!

    __
    Andy

Matt Schroebel wrote:

> Works for me with i.e. 5.5.  Do you have cookies enabled on your browser?
>
> > From: hrdware [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, May 19, 2001 4:30 PM
> >
>
> >
> > But when I tried to learn about sessions, I quickly realized sessions
> > doesn't work!
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]





Hi

I need some help installing gd-support with jpeg and png support on my Red
Hat 7.
I have compiled a version of php4.0.4 witch have support for gd, but when i
run this script:
<?
// create the image
$gif = imagecreate(200,200);
$bg = ImageColorAllocate($gif,0,0,0);
$tx = ImageColorAllocate($gif,255,128,128);
ImageFilledRectangle($gif,0,0,200,200,$bg);
ImageString($gif,3,70,90,"it works !",$tx);

// send the image
//header("content-type: image/jpg");
Imagejpeg($gif, 'test.jpg', 100);
?>
i get this result:
Warning: ImageJpeg: No JPG support in this PHP build in
/var/www/html/test.grafik.php on line 11

I have compiled php4.0.4 with this config:
--with-mysql --with-apxs --with-gd
and i get two warnings telling my to use --with-xpm-dir
and/or --with-jpeg-dir i configure fails, but i don't get any errors, just
the two warnings

i have installed jpeg from jpegsrc.v6b.tar.gz, and libpng from
libpng-2.1.0.3-1.i386.rpm, and i assumed that gd is installed by the Red Hat
installer.

Best regards
Thomas D. Kryger
www.akvariet.dk
www.akvariemarked.dk





newer versions of GD doesnt support JPEG.

try to use PNG instead

Rafael

-----Original Message-----
From: Thomas D. Kryger [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 21 de Mayo de 2001 01:08 p.m.
To: Php-Install
Subject: [PHP-INST] RH7, gd and php4.0.4pl1


Hi

I need some help installing gd-support with jpeg and png support on my Red
Hat 7.
I have compiled a version of php4.0.4 witch have support for gd, but when i
run this script:
<?
// create the image
$gif = imagecreate(200,200);
$bg = ImageColorAllocate($gif,0,0,0);
$tx = ImageColorAllocate($gif,255,128,128);
ImageFilledRectangle($gif,0,0,200,200,$bg);
ImageString($gif,3,70,90,"it works !",$tx);

// send the image
//header("content-type: image/jpg");
Imagejpeg($gif, 'test.jpg', 100);
?>
i get this result:
Warning: ImageJpeg: No JPG support in this PHP build in
/var/www/html/test.grafik.php on line 11

I have compiled php4.0.4 with this config:
--with-mysql --with-apxs --with-gd
and i get two warnings telling my to use --with-xpm-dir
and/or --with-jpeg-dir i configure fails, but i don't get any errors, just
the two warnings

i have installed jpeg from jpegsrc.v6b.tar.gz, and libpng from
libpng-2.1.0.3-1.i386.rpm, and i assumed that gd is installed by the Red Hat
installer.

Best regards
Thomas D. Kryger
www.akvariet.dk
www.akvariemarked.dk


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Uhm... right... I'd believe that except that I have it working on the latest
build. I'll attach my directions which I posted to the list a while back.

-Philip

-----Original Message-----
From: Rafael Ernesto Bastidas L. [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 10:08 AM
To: Thomas D. Kryger; Php-Install
Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1


newer versions of GD doesnt support JPEG.

try to use PNG instead

Rafael

-----Original Message-----
From: Thomas D. Kryger [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 21 de Mayo de 2001 01:08 p.m.
To: Php-Install
Subject: [PHP-INST] RH7, gd and php4.0.4pl1


Hi

I need some help installing gd-support with jpeg and png support on my Red
Hat 7.
I have compiled a version of php4.0.4 witch have support for gd, but when i
run this script:
<?
// create the image
$gif = imagecreate(200,200);
$bg = ImageColorAllocate($gif,0,0,0);
$tx = ImageColorAllocate($gif,255,128,128);
ImageFilledRectangle($gif,0,0,200,200,$bg);
ImageString($gif,3,70,90,"it works !",$tx);

// send the image
//header("content-type: image/jpg");
Imagejpeg($gif, 'test.jpg', 100);
?>
i get this result:
Warning: ImageJpeg: No JPG support in this PHP build in
/var/www/html/test.grafik.php on line 11

I have compiled php4.0.4 with this config:
--with-mysql --with-apxs --with-gd
and i get two warnings telling my to use --with-xpm-dir
and/or --with-jpeg-dir i configure fails, but i don't get any errors, just
the two warnings

i have installed jpeg from jpegsrc.v6b.tar.gz, and libpng from
libpng-2.1.0.3-1.i386.rpm, and i assumed that gd is installed by the Red Hat
installer.

Best regards
Thomas D. Kryger
www.akvariet.dk
www.akvariemarked.dk


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

I started a complete rebuild of my web server so I could gain access to the
new gd functionality in PHP4. This is a fairly detailed log of the steps I
took to get my gd working and then incorporating it with PHP4 / Apache. I
spent the better part of 2 days trying to get this to work with gd 2.0.1
and to no avail. It is my recommendation that you should just stick with
gd 1.8.4 as it works great and has all the functionality you probably
need. Hope this helps all those out there who have been struggling with
this setup. ;) I'd love to hear from anyone who finds this useful or
perhaps something that needs to be changed. Thanks!

-Philip
Web:   http://www.bewley.net/~prsnyder
Email: [EMAIL PROTECTED]

---------------------------------------------------------------------------
Setting up gd

Libraries Used:

  o freetype-2.0.1.tar.gz   -  http://freetype.sourceforge.net/
  o gd-1.8.4.tar.gz         -  http://www.boutell.com/gd/#getgd
  o jpegsrc.v6b.tar.gz      -  ftp://ftp.uu.net/graphics/jpeg/
  o libpng-1.0.11.tar.gz    -  http://www.libpng.org/pub/png/libpng.html
  o zlib.tar.gz             -  http://www.info-zip.org/pub/infozip/zlib/

zlib:
  1. tar zxvf zlib.tar.gz
  2. cd zlib-1.1.3/
  3. ./configure --shared
  4. make test
  5. make install

  This places zlib in /usr/local, with libraries in /usr/local/lib
  and includes in /usr/local/include.

jpeg:
  1. tar zxvf jpegsrc.v6b.tar.gz
  2. cd jpeg-6b/
  3. ./configure --enable-shared
  4. make
  5. make test
  6. make install

  This places jpeg-v6 in /usr/local, with libraries in /usr/local/lib
  and includes in /usr/local/include.

libpng:
  1. tar zxvf libpng-1.0.11.tar.gz
  2. cd libpng-1.0.11/
  3. cp scripts/makefile.linux makefile
  4. Edit makefile

       Lines 11 - 15:
       # Where the zlib library and include files are located
       ZLIBLIB=/usr/local/lib
       ZLIBINC=/usr/local/include
       #ZLIBLIB=../zlib
       #ZLIBINC=../zlib

  5. make test
  6. make install

  This places libpng in /usr/local, with libraries in /usr/local/lib
  and includes in /usr/local/include.

freetype:
  1. tar zxvf freetype-2.0.1.tar.gz
  2. cd freetype-2.0.1
  3. make setup
  4. make
  5. make install

  This places freetyp in /usr/local, with libraries in /usr/local/lib
  and includes in /usr/local/include.

gd:
  1. tar zxvf gd-1.8.4.tar.gz
  2. cd gd-1.8.4
  3. make
  4. make install

  This places gd in /usr, with libraries in /usr/lib and includes
  in /usr/include.


Yay! Now if all has gone well (and it seemed fairly easy to get this
far) then we're ready for setting up PHP4 & Apache. I've got a bunch
of extra stuff on my web server such as mod_ssl, OpenLDAP, MySQL,
etc. I don't touch on the setup of those packages, but I trust you
will do just fine on your own.



---------------------------------------------------------------------------
And now my web server setup:

  Packages Used:
    o apache_1.3.19.tar.gz
    o php-4.0.5.tar.gz
    o mod_ssl-2.8.2-1.3.19.tar.gz
  
  Prerequisites:
    o MySQL is already installed to /usr/local/mysql
    o OpenSSL is already installed to /usr/local/openssl
    o I also have OpenLDAP installed, but I trust you can
      figure out how to add that in here.

  1. Extract the sources:

       % tar zxvf apache_1.3.19.tar.gz
       % tar zxvf mod_ssl-2.8.2-1.3.19.tar.gz
       % tar zxvf php-4.0.5.tar.gz

  2. Configure mod_ssl
       % cd mod_ssl-2.8.2-1.3.19/
       % ./configure --with-apache=../apache_1.3.19
       % cd ..

  3. Pre-configure apache
       % cd apache_1.3.19/
       % ./configure --prefix=/usr/local/apache
       % cd ..

  4. Configure & build PHP
       % cd php-4.0.5/
       % ./configure \
       > --with-apache=../apache_1.3.19 \
       > --with-mysql=/usr/local/mysql \
       > --with-ldap=/usr/local \     # <---- If you don't have OpenLDAP, remove this.
       > --with-xml \
       > --with-gd \
       > --with-gd-dir=/usr \
       > --with-jpeg-dir=/usr/local \
       > --enable-track-vars \
       > --enable-shared
       % make
       % make install
       % cd ..

  5. Configure Apache
       % cd apache_1.3.19/
       % SSL_BASE=/usr/local/openssl \
       > RSA_BASE=../rsaref-2.0/local \  # <---- You may or may not have RSARef... its 
a US requirement
       > ./configure \
       > --with-layout=Apache \
       > --prefix=/usr/local/apache \
       > --activate-module=src/modules/php4/libphp4.a \
       > --enable-module=expires \
       > --enable-module=headers \
       > --enable-module=php4 \
       > --enable-module=so \
       > --enable-module=ssl \
       > --enable-module=usertrack \
       > --enable-module=vhost_alias \
       > --enable-shared=php4 \
       > --enable-shared=ssl \
       > --enable-rule=SHARED_CHAIN \
       > --enable-rule=SHARED_CORE \
       > --enable-rule=EAPI
       % make
       % make certificate TYPE=custom
       % make install



And that should be it! Mine appears to be working, so I'm
pretty happy. Hope you are able to get this far as well!

-Philip
Web:   http://www.bewley.net/~prsnyder
Email: [EMAIL PROTECTED]








Hi

I will try to follow you directions, to see if it works for me.

best regards
Thomas D. Kryger

> -----Original Message-----
> From: Philip Snyder [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 7:14 PM
> To: Php-Install
> Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1
>
>
> Uhm... right... I'd believe that except that I have it working on
> the latest
> build. I'll attach my directions which I posted to the list a while back.
>
> -Philip
>
> -----Original Message-----
> From: Rafael Ernesto Bastidas L. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 10:08 AM
> To: Thomas D. Kryger; Php-Install
> Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1
>
>
> newer versions of GD doesnt support JPEG.
>
> try to use PNG instead
>
> Rafael
>
> -----Original Message-----
> From: Thomas D. Kryger [mailto:[EMAIL PROTECTED]]
> Sent: Lunes, 21 de Mayo de 2001 01:08 p.m.
> To: Php-Install
> Subject: [PHP-INST] RH7, gd and php4.0.4pl1
>
>
> Hi
>
> I need some help installing gd-support with jpeg and png support on my Red
> Hat 7.
> I have compiled a version of php4.0.4 witch have support for gd,
> but when i
> run this script:
> <?
> // create the image
> $gif = imagecreate(200,200);
> $bg = ImageColorAllocate($gif,0,0,0);
> $tx = ImageColorAllocate($gif,255,128,128);
> ImageFilledRectangle($gif,0,0,200,200,$bg);
> ImageString($gif,3,70,90,"it works !",$tx);
>
> // send the image
> //header("content-type: image/jpg");
> Imagejpeg($gif, 'test.jpg', 100);
> ?>
> i get this result:
> Warning: ImageJpeg: No JPG support in this PHP build in
> /var/www/html/test.grafik.php on line 11
>
> I have compiled php4.0.4 with this config:
> --with-mysql --with-apxs --with-gd
> and i get two warnings telling my to use --with-xpm-dir
> and/or --with-jpeg-dir i configure fails, but i don't get any errors, just
> the two warnings
>
> i have installed jpeg from jpegsrc.v6b.tar.gz, and libpng from
> libpng-2.1.0.3-1.i386.rpm, and i assumed that gd is installed by
> the Red Hat
> installer.
>
> Best regards
> Thomas D. Kryger
> www.akvariet.dk
> www.akvariemarked.dk
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





hola Mi nombre es laura

Tengo un problema, quiero instalar el php-4.0.5, en una HP-UX, y realizar
una conexion a INFORMIX, pero realizo lo sig.

./configure --with-informix=/home/informix  --with-apache=../apache_1.3.19
--enable-track-vars

Pero a la hora de realizar el make pasa lo sig.

Making all in informix

        /bin/sh /usr/local/php-4.0.5/libtool --silent --mode=link gcc  -I.
-I/us
r/local/php-4.0.5/ext/informix -I/usr/local/php-4.0.5/main
-I/usr/local/php-4.0.
5 -I/usr/local/apache_1.3.19/src/include
-I/usr/local/apache_1.3.19/src/os/unix 
-I/usr/local/php-4.0.5/Zend -I/home/informix/incl/esql
-I/usr/local/php-4.0.5/ex
t/mysql/libmysql -I/usr/local/php-4.0.5/ext/xml/expat/xmltok
-I/usr/local/php-4.
0.5/ext/xml/expat/xmlparse -I/usr/local/php-4.0.5/TSRM  -DSUPPORT_UTF8
-DXML_BYT
E_ORDER=21 -g -O2 -I/home/informix/incl/esql   -o libinformix.la  ifx.lo
/home/
informix/lib/esql/libixos.a /home/informix/lib/esql/libixgen.a
/home/informix/li
b/esql/libixsql.a /home/informix/lib/libixasf.a
/home/informix/lib/esql/libixos.
a /home/informix/lib/esql/libixgen.a /home/informix/lib/esql/libixgls.a
/home/in
formix/lib/esql/libixglx.a

libtool: link: cannot build libtool library `libinformix.la' from
non-libtool ob
jects: /home/informix/lib/esql/libixos.a /home/informix/lib/esql/libixgen.a
/hom
e/informix/lib/esql/libixsql.a /home/informix/lib/libixasf.a
/home/informix/lib/
esql/libixos.a /home/informix/lib/esql/libixgen.a
/home/informix/lib/esql/libixg
ls.a /home/informix/lib/esql/libixglx.a

*** Error exit code 1

 

Stop.

*** Error exit code 1


Ya me baje el  GNU,bison,flex y no me funciona de debo hacer?

Si yo le pongo ./configure -with-apache=../apache_1.3.19 --enable-track-vars

Y configure todo funciona, pero tengo que conectarme a informix




Reply via email to