php-install Digest 18 Sep 2001 19:01:14 -0000 Issue 464

Topics (messages 4327 through 4336):

Installing PHP-4.0.6 on AIX 4.3.3 using gcc
        4327 by: Jason Ellison

Re: corel linux
        4328 by: Sumit Ranjan

NES 3.5.1 PHP4 Solaris 2.6
        4329 by: dangefor.sca.csc.com

Re: php + informix
        4330 by: Paul Gardiner
        4331 by: Luther Satterwhite
        4332 by: Adam Williams
        4333 by: Adam Williams
        4334 by: Paul Gardiner
        4335 by: Adam Williams

where is build info stored?
        4336 by: Steve Cayford

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]


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



Hello all,

 I recently installed php 4.0.6 on AIX 4.3.3.0 using Phill's document
posted to this list on 05.08.2001 (life saver) and would like to repost it
with some corrections. The corrections may be obvious to some but it kept
me up for a *long* time. The problems i found were in step 6 and 7 .

\${wl} -bI:/usr/local/apache/libexec/httpd.exp
      ^- there should be no space before "-bI:"

obj=`$echo "X$oldobj" | $Xsed -e "lo2o"`
 lo2o is defined earlier in the script and needs to be "$lo2o"

REF: Re: [PHP-INST] AIX 4.3.3 PHP 4.0.5 HowTo compile using xlC
http://marc.theaimsgroup.com/?l=php-install&m=98932190132723&w=2

Installing PHP-4.0.6 on AIX 4.3.3 using gcc

1) Download PHP source.
2) gunzip -> tar ....
3) cd php-4.0.6
4) ./configure --with-apxs=/usr/local/apache/bin/apxs \
   --enable-trans-sid --disable-xml --disable-pear \
   --with-mysql=/usr/local/mysql --with-oci8=/u01/app/oracle/product/8.1.6
5) vi libtool
6) Hack away at these lines:

archive_cmds= .....
add this:
\${wl}-bI:/usr/local/apache/libexec/httpd.exp

do the same for:
archive_expsym_cmds= ......

7) Search for the following:
Do each command in the archive commands

At the bottom of the loop that starts with the line:
for oldobj in $oldobjs; do
.
.
.
.
done

insert this just before and after the "done" i.e.
  obj=`$echo "X$oldobj" | $Xsed -e "$lo2o"`
  eval "cp $oldobj $obj"
done
oldobjs=`$echo "X$oldobjs" | $Xsed -e 's/\.lo/\.o/g'`

8) make
9) make install






hi there !
  i am new to php  , trying to install it on my NT 4.0 workstation.
can anybody please tell me about some detailed docs relating to the above ?

thanx

sumit
----- Original Message -----
From: "Jeremy Wadsack" <[EMAIL PROTECTED]>
To: "Data Driven Design" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 9:00 PM
Subject: Re: [PHP-INST] corel linux


>
> Data Driven Design ([EMAIL PROTECTED]):
>
> > I just set up my first linux machine using corel linux, and it seems to
me
> > that apache is in the wrong place. It's appears to be in etc instead of
usr.
> > Has anyone successfully compiled PHP for corel linux, or should I try
> > another version of linux.
>
> The Apache configuration on Corel Linux (like most linux) is
> /etc/httpd/conf/* or maybe /etc/apache/conf/.
>
> The binaries are in /usr/bin.
>
> I have built older versions of PHP (4.0.1, or something) on Corel
> linux.
>
>
> --
>
> Jeremy Wadsack
> Wadsack-Allen Digital Group
>
>
> --
> 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 everyone!

Is it possible to install PHP4 with NES 3.5.1? Everywhere I have looked I onley
find instructions
for installing on NES 3.6.

I have followed those instructions but I canīt get it to work.

When I start the Netscape server after modification i get the following error:

[https-www.saabsupplier.com]: pclose() failed. (2: unknown early startup error)
[https-www.saabsupplier.com]: conf_init: Error running init function(late)
load-modules: dlsym for php4_executes failed (ld.so.1: ns-httpd: fatal:
php4_executes: can't find symbol)
[https-www.saabsupplier.com]: server exit: status 1

Any help is apreciated!

Regards
Daniel






I'm afraid you will need to get hold of the CDSK for your Intel platform,
where s a good question. You may have to get in contact with Informix(IBM?)
about it.

Just some further tips:
o If you're not using MySQL then add the --without-mysql switch when
configuring.

o When finally building Apache you have to manually specify the Informix
libraries. i.e. configure apache, configure php, make php, make install php
then......

# get these by running esql -libs (these are mine and may differ)
IFX_LIBS="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i \
/usr/lib/libgen.a -lsocket -lnsl -lm -lsuds -ltinfo -lprot -lx \
-ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o -lifglx"

# Add any extra libs in here if required
LIBS="$IFX_LIBS"

export LIBS

Then configure apache, make apache, make install apache etc.

I put this all into a script as it's simpler to edit and saves all that
typing :)

Hope this helps.

Regards,
- Paul -

----- Original Message -----
From: "Adam Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 5:32 PM
Subject: [PHP-INST] php + informix


> Hello,
>
> I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am trying
> to compile PHP 4.0.6 with informix support.  I am running:
>
>
> ./configure --with-informix --with-apache=../apache_1.3.19
> --enable-track-vars
>
> but in the script it breaks on the esqlc check.  I went through my
> Informix SE and Informix SQL cds but I do not have any esql or esqlc
> files on it.  I also went to www.informix.com/evaluate and saw that the
> Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc in
> it.  But that package is for Sparc Solaris 7 and I am running Intel
> Solaris 7.  I tried it anyway but on the esqlc check it prints a couple
> of garbage chacters and then errors out.
>
> Can someone tell me where to find esqlc?  Since its not on my Informix
> cds nor at www.informix.com/evaluate, do you know how I can find this
> file or if its in another downloadable package at informix's web site.
>
> Thanks,
> Adam Williams
> [EMAIL PROTECTED]
>
>
> --
> 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]
>





Try this site:

http://www.informix.com/informix/resource/install/unixprod/0721u/01.fm2.html

-----Original Message-----
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 12:32 PM
To: [EMAIL PROTECTED]
Subject: php + informix


Hello,

I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am trying 
to compile PHP 4.0.6 with informix support.  I am running:


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

but in the script it breaks on the esqlc check.  I went through my 
Informix SE and Informix SQL cds but I do not have any esql or esqlc 
files on it.  I also went to www.informix.com/evaluate and saw that the 
Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc in 
it.  But that package is for Sparc Solaris 7 and I am running Intel 
Solaris 7.  I tried it anyway but on the esqlc check it prints a couple 
of garbage chacters and then errors out.

Can someone tell me where to find esqlc?  Since its not on my Informix 
cds nor at www.informix.com/evaluate, do you know how I can find this 
file or if its in another downloadable package at informix's web site.

Thanks,
Adam Williams
[EMAIL PROTECTED]





Hi,

Thanks.  That URL mentions an Informix-ESQL/C package, but doesn't say if
it needs to be purchased from Informix or if its freely available.  It
also does not mention the Client SDK.  I am thinking I might have to
contact Informix sales.

                        Adam

On Tue, 18 Sep 2001, Luther Satterwhite wrote:

> Try this site:
> 
> http://www.informix.com/informix/resource/install/unixprod/0721u/01.fm2.html
> 
> -----Original Message-----
> From: Adam Williams [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 12:32 PM
> To: [EMAIL PROTECTED]
> Subject: php + informix
> 
> 
> Hello,
> 
> I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am trying 
> to compile PHP 4.0.6 with informix support.  I am running:
> 
> 
> ./configure --with-informix --with-apache=../apache_1.3.19 
> --enable-track-vars
> 
> but in the script it breaks on the esqlc check.  I went through my 
> Informix SE and Informix SQL cds but I do not have any esql or esqlc 
> files on it.  I also went to www.informix.com/evaluate and saw that the 
> Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc in 
> it.  But that package is for Sparc Solaris 7 and I am running Intel 
> Solaris 7.  I tried it anyway but on the esqlc check it prints a couple 
> of garbage chacters and then errors out.
> 
> Can someone tell me where to find esqlc?  Since its not on my Informix 
> cds nor at www.informix.com/evaluate, do you know how I can find this 
> file or if its in another downloadable package at informix's web site.
> 
> Thanks,
> Adam Williams
> [EMAIL PROTECTED]
> 
> 





Hi,

Thanks for the help!  I think I will have to contact informix to find out
if I can order Informix ESQL/C or Client SDK.

                        Adam

On Tue, 18 Sep 2001, Paul Gardiner wrote:

> I'm afraid you will need to get hold of the CDSK for your Intel platform,
> where s a good question. You may have to get in contact with Informix(IBM?)
> about it.
> 
> Just some further tips:
> o If you're not using MySQL then add the --without-mysql switch when
> configuring.
> 
> o When finally building Apache you have to manually specify the Informix
> libraries. i.e. configure apache, configure php, make php, make install php
> then......
> 
> # get these by running esql -libs (these are mine and may differ)
> IFX_LIBS="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i \
> /usr/lib/libgen.a -lsocket -lnsl -lm -lsuds -ltinfo -lprot -lx \
> -ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o -lifglx"
> 
> # Add any extra libs in here if required
> LIBS="$IFX_LIBS"
> 
> export LIBS
> 
> Then configure apache, make apache, make install apache etc.
> 
> I put this all into a script as it's simpler to edit and saves all that
> typing :)
> 
> Hope this helps.
> 
> Regards,
> - Paul -
> 
> ----- Original Message -----
> From: "Adam Williams" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 17, 2001 5:32 PM
> Subject: [PHP-INST] php + informix
> 
> 
> > Hello,
> >
> > I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am trying
> > to compile PHP 4.0.6 with informix support.  I am running:
> >
> >
> > ./configure --with-informix --with-apache=../apache_1.3.19
> > --enable-track-vars
> >
> > but in the script it breaks on the esqlc check.  I went through my
> > Informix SE and Informix SQL cds but I do not have any esql or esqlc
> > files on it.  I also went to www.informix.com/evaluate and saw that the
> > Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc in
> > it.  But that package is for Sparc Solaris 7 and I am running Intel
> > Solaris 7.  I tried it anyway but on the esqlc check it prints a couple
> > of garbage chacters and then errors out.
> >
> > Can someone tell me where to find esqlc?  Since its not on my Informix
> > cds nor at www.informix.com/evaluate, do you know how I can find this
> > file or if its in another downloadable package at informix's web site.
> >
> > Thanks,
> > Adam Williams
> > [EMAIL PROTECTED]
> >
> >
> > --
> > 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 Adam,

I've just been to their site and I can't see the CSDK for our platform
either. Bit of a bum! I thought I got it from www.intraware.com originally
but things may have changed since the IBM thing.

I would be interested in what the Informix sales people say. AFAIK it should
still be free to you.

Regards,
- Paul -

----- Original Message -----
From: "Adam Williams" <[EMAIL PROTECTED]>
To: "Paul Gardiner" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2001 2:26 PM
Subject: Re: [PHP-INST] php + informix


> Hi,
>
> Thanks for the help!  I think I will have to contact informix to find out
> if I can order Informix ESQL/C or Client SDK.
>
> Adam
>
> On Tue, 18 Sep 2001, Paul Gardiner wrote:
>
> > I'm afraid you will need to get hold of the CDSK for your Intel
platform,
> > where s a good question. You may have to get in contact with
Informix(IBM?)
> > about it.
> >
> > Just some further tips:
> > o If you're not using MySQL then add the --without-mysql switch when
> > configuring.
> >
> > o When finally building Apache you have to manually specify the Informix
> > libraries. i.e. configure apache, configure php, make php, make install
php
> > then......
> >
> > # get these by running esql -libs (these are mine and may differ)
> > IFX_LIBS="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i \
> > /usr/lib/libgen.a -lsocket -lnsl -lm -lsuds -ltinfo -lprot -lx \
> > -ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o -lifglx"
> >
> > # Add any extra libs in here if required
> > LIBS="$IFX_LIBS"
> >
> > export LIBS
> >
> > Then configure apache, make apache, make install apache etc.
> >
> > I put this all into a script as it's simpler to edit and saves all that
> > typing :)
> >
> > Hope this helps.
> >
> > Regards,
> > - Paul -
> >
> > ----- Original Message -----
> > From: "Adam Williams" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, September 17, 2001 5:32 PM
> > Subject: [PHP-INST] php + informix
> >
> >
> > > Hello,
> > >
> > > I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am
trying
> > > to compile PHP 4.0.6 with informix support.  I am running:
> > >
> > >
> > > ./configure --with-informix --with-apache=../apache_1.3.19
> > > --enable-track-vars
> > >
> > > but in the script it breaks on the esqlc check.  I went through my
> > > Informix SE and Informix SQL cds but I do not have any esql or esqlc
> > > files on it.  I also went to www.informix.com/evaluate and saw that
the
> > > Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc
in
> > > it.  But that package is for Sparc Solaris 7 and I am running Intel
> > > Solaris 7.  I tried it anyway but on the esqlc check it prints a
couple
> > > of garbage chacters and then errors out.
> > >
> > > Can someone tell me where to find esqlc?  Since its not on my Informix
> > > cds nor at www.informix.com/evaluate, do you know how I can find this
> > > file or if its in another downloadable package at informix's web site.
> > >
> > > Thanks,
> > > Adam Williams
> > > [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > 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 went to www.intraware.com but it doesn't apparently have any relation to
informix products.  I'm going to look at IBM's web site soon.

                        Adam

On Tue, 18 Sep 2001, Paul Gardiner wrote:

> Hi Adam,
> 
> I've just been to their site and I can't see the CSDK for our platform
> either. Bit of a bum! I thought I got it from www.intraware.com originally
> but things may have changed since the IBM thing.
> 
> I would be interested in what the Informix sales people say. AFAIK it should
> still be free to you.
> 
> Regards,
> - Paul -
> 
> ----- Original Message -----
> From: "Adam Williams" <[EMAIL PROTECTED]>
> To: "Paul Gardiner" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 18, 2001 2:26 PM
> Subject: Re: [PHP-INST] php + informix
> 
> 
> > Hi,
> >
> > Thanks for the help!  I think I will have to contact informix to find out
> > if I can order Informix ESQL/C or Client SDK.
> >
> > Adam
> >
> > On Tue, 18 Sep 2001, Paul Gardiner wrote:
> >
> > > I'm afraid you will need to get hold of the CDSK for your Intel
> platform,
> > > where s a good question. You may have to get in contact with
> Informix(IBM?)
> > > about it.
> > >
> > > Just some further tips:
> > > o If you're not using MySQL then add the --without-mysql switch when
> > > configuring.
> > >
> > > o When finally building Apache you have to manually specify the Informix
> > > libraries. i.e. configure apache, configure php, make php, make install
> php
> > > then......
> > >
> > > # get these by running esql -libs (these are mine and may differ)
> > > IFX_LIBS="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i \
> > > /usr/lib/libgen.a -lsocket -lnsl -lm -lsuds -ltinfo -lprot -lx \
> > > -ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o -lifglx"
> > >
> > > # Add any extra libs in here if required
> > > LIBS="$IFX_LIBS"
> > >
> > > export LIBS
> > >
> > > Then configure apache, make apache, make install apache etc.
> > >
> > > I put this all into a script as it's simpler to edit and saves all that
> > > typing :)
> > >
> > > Hope this helps.
> > >
> > > Regards,
> > > - Paul -
> > >
> > > ----- Original Message -----
> > > From: "Adam Williams" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, September 17, 2001 5:32 PM
> > > Subject: [PHP-INST] php + informix
> > >
> > >
> > > > Hello,
> > > >
> > > > I am running Informix version 7.30.UC1 on Solaris 7 Intel.  I am
> trying
> > > > to compile PHP 4.0.6 with informix support.  I am running:
> > > >
> > > >
> > > > ./configure --with-informix --with-apache=../apache_1.3.19
> > > > --enable-track-vars
> > > >
> > > > but in the script it breaks on the esqlc check.  I went through my
> > > > Informix SE and Informix SQL cds but I do not have any esql or esqlc
> > > > files on it.  I also went to www.informix.com/evaluate and saw that
> the
> > > > Client SDK 2.70.UC1r1 for SUN Microsystems Sparc Solaris 7 has esqlc
> in
> > > > it.  But that package is for Sparc Solaris 7 and I am running Intel
> > > > Solaris 7.  I tried it anyway but on the esqlc check it prints a
> couple
> > > > of garbage chacters and then errors out.
> > > >
> > > > Can someone tell me where to find esqlc?  Since its not on my Informix
> > > > cds nor at www.informix.com/evaluate, do you know how I can find this
> > > > file or if its in another downloadable package at informix's web site.
> > > >
> > > > Thanks,
> > > > Adam Williams
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > > > --
> > > > 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'm trying again to get PDFlib (from source) to work for me with PHP 
4.0.6. I gave up on Mac OSX for now and switched to LinuxPPC 2000.

I noticed that when I recompile and re-install php the information 
displayed by phpinfo() is not updated, which makes me suspect that I'm 
still running off the old libraries. Would this be true? Where does 
phpinfo get its build information? e.g. the build date, configure 
options, etc...

Thanks for any suggestions.

-Steve


Reply via email to