php-install Digest 21 May 2002 07:59:45 -0000 Issue 846

Topics (messages 7054 through 7061):

Build Question
        7054 by: Phil Dibowitz

Re: PHP 4.2.0 install problems
        7055 by: Dan Stilts

PHP, Apache and threads: very strange
        7056 by: Wagner R. Teixeira
        7057 by: Richard Anglin

SuperGlobal Member Variables
        7058 by: Mike P
        7059 by: Mike P
        7060 by: Andre Dubuc

ok compiled but ?
        7061 by: Erik

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]


----------------------------------------------------------------------
--- Begin Message ---
Hey all - I'm trying to build PHP (4.1.2) for Horde for IMP. So there's a lot 
of requirements. My configure line is:

./configure --with-imap --with-apxs=/usr/local/apache/bin/apxs --with-gettext 
--with-xml --with-mysql --with-ldap --with-mcrypt

But I get:

checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with Kerberos support.

       Add --with-kerberos<=DIR> to your configure line. Check config.log for 
details.


I don't want to build with kerberos support - I don't have kerberos 
installed... I've tried adding --disable-kerberos and --without-kerberos, but 
I get the same thinc each time. Anyone have any suggestions.

For once, I don't think the details of my system matter, but here they are 
just incase:

Redhat 7.1 with latest errata
Apache 1.3.20 compiled from source
(attempting) PHP 4.1.2

Let me know what extra info I can provide.

Thanks,
Phil
-- 
"They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety."
-Benjamin Franklin, 1759

--- End Message ---
--- Begin Message ---
ok, and to add a few more things I just saw when doing a make of php:

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c sapi_apache.c
In file included from /software/apache/include/httpd.h:72,
                 from sapi_apache.c:32:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c mod_php4.c
In file included from /software/apache/include/httpd.h:72,
                 from mod_php4.c:32:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c php_apache.c
In file included from php_apache_http.h:6,
                 from php_apache.c:45:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

Dunno if this will help any, but I guess better safe than sorry.

Dan
----- Original Message -----
From: "Dan Stilts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 12:00 PM
Subject: PHP 4.2.0 install problems


> Hi all,
>
> I am currently trying to compile PHP 4.2.0 as an .so for Apache. First,
some
> system info:
>
> PHP 4.2.0
> Apache 1.3.24 w/modperl 1.26 compiled in.
> Solaris 8 Sparc
>
> Here is the configure command I ran:
>
>
./configure --with-mysql=/software/mysql --enable-calendar --with-apxs=/soft
>
ware/apache/bin/apxs --with-db3=/usr/local/BerkeleyDB --with-pgsql=/software
> /pgsql --with-gettext
>
> Now everything looks good when I configure, make and make install, but the
> problem comes when I try to fire up Apache. I recieve the following:
>
> Syntax error on line 17 of /usr/local/apache/conf/httpd.conf:
> Cannot load /software/apache/libexec/libphp4.so into server: ld.so.1:
> /software/apache/bin/httpd: fatal: relocation error: file
> /software/apache/libexec/libphp4.so: symbol __cmpdi2: referenced symbol
not
> found
>
> Line 17 of the httpd.conf file reads:
>
> LoadModule php4_module        libexec/libphp4.so
>
> I think that covers it all. Any help would be great.
>
> Thanks,
> Dan
>
>
>

--- End Message ---
--- Begin Message ---
Hi, guys.

I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way I've
been doing for years, but this time when I start Apache I get the following
error message:

==================
Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
/apache/bin/apachectl start: httpd could not be started
==================

httpd.conf, line 230 (automatically inserted during PHP build) is:
LoadModule php4_module        modules/libphp4.so

PHP Configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable
-ftp --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --enable-tr
ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx --enable-debug=no --
enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5

Apache Configure command is:
./configure --enable-module=so --enable-module=unique_id --with-perl=/usr/bi
n/perl

The OS is: FreeBSD 4.5-RELEASE

Could anybody help me?

Thanks in advance.
Wagner.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02

--- End Message ---
--- Begin Message ---
download zlib, install and recompile:

http://www.faqts.com/knowledge_base/view.phtml/aid/5087

-regards

Rich
----- Original Message -----
From: "Wagner R. Teixeira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 4:08 PM
Subject: [PHP-INST] PHP, Apache and threads: very strange


> Hi, guys.
>
> I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way
I've
> been doing for years, but this time when I start Apache I get the
following
> error message:
>
> ==================
> Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/libphp4.so into server:
> /usr/local/apache2/modules/libphp4.so: Undefined symbol
> "pthread_getspecific"
> /apache/bin/apachectl start: httpd could not be started
> ==================
>
> httpd.conf, line 230 (automatically inserted during PHP build) is:
> LoadModule php4_module        modules/libphp4.so
>
> PHP Configure command is:
>
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable
> -ftp --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --enable-
tr
>
ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx --enable-debug=no --
> enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5
>
> Apache Configure command is:
>
./configure --enable-module=so --enable-module=unique_id --with-perl=/usr/bi
> n/perl
>
> The OS is: FreeBSD 4.5-RELEASE
>
> Could anybody help me?
>
> Thanks in advance.
> Wagner.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


--- End Message ---
--- Begin Message ---
I've been through the PHP 4.2 manual forward and backward...where do I find
a listing of the members of the $_SESSION, $_ENV, $_COOKIE and $_SERVER
superglobals?

TIA

Mike (a beginner's question, eh? oder "nicht war?")




--- End Message ---
--- Begin Message ---
OK, $_SERVER I found.  The others do not offer a list of what the member
variables are.


"Mike P" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've been through the PHP 4.2 manual forward and backward...where do I
find
> a listing of the members of the $_SESSION, $_ENV, $_COOKIE and $_SERVER
> superglobals?
>
> TIA
>
> Mike (a beginner's question, eh? oder "nicht war?")
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Sorry Mike,

I forgot that it took half-a-day to find it but here's the url:

http://www.php.net/manual/en/language.variables.predefined.php

(Btw, it took me another ten minutes to find it!)

Hth,
Andre


On Monday 20 May 2002 09:39 pm, you wrote:
> Thanks Andre, but I only find a listing of the $_SESSION variables there.
> And then it only lists SID.  Perhaps I'm blind??? =>
> ----- Original Message -----
> From: "Andre Dubuc" <[EMAIL PROTECTED]>
> To: "Mike P" <[EMAIL PROTECTED]>
> Sent: Monday, May 20, 2002 9:26 PM
> Subject: Re: [PHP-INST] SuperGlobal Member Variables
>
> > Hi Mike,
> >
> > Check "Predefined Variables" in the manual. It's got an exhaustive
> > listing all of them.
> >
> > Hth,
> > Andre
> >
> > On Monday 20 May 2002 08:34 pm, you wrote:
> > > OK, $_SERVER I found.  The others do not offer a list of what the
> > > member variables are.
> > >
> > >
> > > "Mike P" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >
> > > > I've been through the PHP 4.2 manual forward and backward...where do
> > > > I
> > >
> > > find
> > >
> > > > a listing of the members of the $_SESSION, $_ENV, $_COOKIE and
>
> $_SERVER
>
> > > > superglobals?
> > > >
> > > > TIA
> > > >
> > > > Mike (a beginner's question, eh? oder "nicht war?")
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > Please pray the Holy Rosary to end the holocaust of abortion.
> > Remember in your prayers the Holy Souls in Purgatory.
> >
> > May God bless you abundantly in His love!
> > For a free Cenacle Scriptural Rosary Booklet:
> > http://www.webhart.net/csrb/

-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the Holy Souls in Purgatory.

May God bless you abundantly in His love!
For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/

--- End Message ---
--- Begin Message ---
hi,


i succesfully compiled and builded mysql apache and php 4.2.1from the 
sourcecode and it still refuses to work :-( the error i get is when i try 
to start apache 
Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
cannot load /usr/local/apache/libexec/libphp4.so into server 
/usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand 

what is this ?? help please 

regards from Belgium
Erik

--- End Message ---

Reply via email to