php-install Digest 10 Jul 2001 02:43:42 -0000 Issue 354

Topics (messages 3463 through 3476):

Re: Make fails on HP-UX.
        3463 by: Mark Newnham
        3468 by: FITZWATER,JAMES (Non-HP-PaloAlto,ex1)

Re: install & iis
        3464 by: Phil Driscoll

Re: Installing on Windows?
        3465 by: Phil Driscoll

Re: update php to 4.0.6
        3466 by: Harold Arando

Re: SMTP import error #-5
        3467 by: Harold Arando

Upgrade from 4.04 to 4.06 on W2K
        3469 by: Shaun Milliken
        3470 by: Shaun Milliken

weird error message installing PHP on mandrake 8
        3471 by: george

Re: fatal: Symbol referencing errors" when compiling with libsnm p.so
        3472 by: Mather, Jesse

Re: fatal: Symbol referencing errors when compiling with snmp
        3473 by: Mather, Jesse

Re: Warning: mail() is not supported in this PHP build
        3474 by: Jghostar Company

How to specify sendmail path in PHP
        3475 by: Jghostar Company

seg fault w/ 4.0.6 DSO on Apache 1.3.20
        3476 by: Alex Wu

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]


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


please post your configure options. I have compiled php successfully on HPUX
10.20 and HPUX11.00 on all versions 4.0 upwards

Regards

Mark

> -----Original Message-----
> From: Tse Wai Kan [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, July 07, 2001 9:54 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Make fails on HP-UX.
> 
> 
> Has anyone seen this and know how I can fix this?
> I get the following message whn I run a make and a similar 
> one with gmake.
> 
> php_pcre.c: In function `pcre_get_compiled_regex':
> php_pcre.c:158: warning: implicit declaration of function `setlocale'
> php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function)
> php_pcre.c:158: (Each undeclared identifier is reported only once
> php_pcre.c:158: for each function it appears in.)
> php_pcre.c:158: warning: initialization makes pointer from 
> integer without a
> cas
> t
> *** Error exit code 1                   
> 
> I am trying to configure PHP 4.0.6  on a HP L2000 running 
> with HP-UX 11 and
> with the latest apache server 1.3.20.
> bison and flex (lex) have also been installed.
> 
> I have spent almost 2 months trying to install PHP4 on a HP 
> server, both in
> a HP-UX 10.20 and HP-UX 11 environments but without any success.
> If I cannot get PHP installed on a HP server, then I will 
> have to recommend
> to my management to ditch HP as web servers since PHP support 
> for HP-UX is
> pretty much non-existant.
> 
> Regards, 
> Tse-Wai Kan. 
> RSL COM Deutschland GmbH. 
> Tel     :       +49 (0)611 9888820 
> Fax     :       +49 (0)611 9888821 / +49 (0)611 9888878 
> GSM     :       +49 (0)172 9420888 / +44 (0)705 0028870 
> E-mail  :       [EMAIL PROTECTED] <mailto:[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]
> 




Attached is a step by step procedure that I have used to 
build php 4.03 and up on hpux 11.0 machines with
Apache 1.3.14 and 1.3.19

A free binary version is available at 
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo
.pl?productNumber=B9415AAPA1319

It is part of the "HP-Apache based Web Server"

Regards,
Jim Fitz

> -----Original Message-----
> From: Mark Newnham [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 7:44 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] Make fails on HP-UX.
> 
> 
> please post your configure options. I have compiled php 
> successfully on HPUX
> 10.20 and HPUX11.00 on all versions 4.0 upwards
> 
> Regards
> 
> Mark
> 
> > -----Original Message-----
> > From: Tse Wai Kan [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, July 07, 2001 9:54 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Make fails on HP-UX.
> > 
> > 
> > Has anyone seen this and know how I can fix this?
> > I get the following message whn I run a make and a similar 
> > one with gmake.
> > 
> > php_pcre.c: In function `pcre_get_compiled_regex':
> > php_pcre.c:158: warning: implicit declaration of function 
> `setlocale'
> > php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function)
> > php_pcre.c:158: (Each undeclared identifier is reported only once
> > php_pcre.c:158: for each function it appears in.)
> > php_pcre.c:158: warning: initialization makes pointer from 
> > integer without a
> > cas
> > t
> > *** Error exit code 1                   
> > 
> > I am trying to configure PHP 4.0.6  on a HP L2000 running 
> > with HP-UX 11 and
> > with the latest apache server 1.3.20.
> > bison and flex (lex) have also been installed.
> > 
> > I have spent almost 2 months trying to install PHP4 on a HP 
> > server, both in
> > a HP-UX 10.20 and HP-UX 11 environments but without any success.
> > If I cannot get PHP installed on a HP server, then I will 
> > have to recommend
> > to my management to ditch HP as web servers since PHP support 
> > for HP-UX is
> > pretty much non-existant.
> > 
> > Regards, 
> > Tse-Wai Kan. 
> > RSL COM Deutschland GmbH. 
> > Tel     :       +49 (0)611 9888820 
> > Fax     :       +49 (0)611 9888821 / +49 (0)611 9888878 
> > GSM     :       +49 (0)172 9420888 / +44 (0)705 0028870 
> > E-mail  :       [EMAIL PROTECTED] <mailto:[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]
> > 
> 
> -- 
> 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]
> 

INSTALL_php_on_HP_apache.txt

-----------------------------------------------------------------------
Installation Instructions for PHP 4.0

Note: At some points you will need to use sudo if you are not root.
The following instructions are relevant only for the official HP
distribution of Apache (1.3.12), the version of gcc on the Open
Source Developer's Toolkit CD-ROM (X.Y.Z), and php-4.0.2.
Apache and gcc must be installed on your system before attempting
to compile PHP and mod_php.

QUICK INSTALL (DSO)

For this to work your Apache httpd must have mod_so enabled.
Check using httpd -l.  

  $ /opt/apache/bin/httpd -l

You should see something like:

Compiled-in modules:
  http_core.c
  mod_so.c

Chances are you will see a lot more modules than these two. That's ok, 
as long as mod_so.c shows up you can proceed with the following steps:

-----------------------------------------------------------------------
1. Unpack your distribution file.  

You can get the latest version from "http://www.php.net/";

  $ cd /opt
  $ mkdir php
  $ mv <wherever it is>/php-4.0.<?>.tar.gz /opt/php
  $ cd /opt/php

  $ gunzip -c php-4.0.x.tar.gz | tar xf -
  $ cd php-4.0.x

-----------------------------------------------------------------------
2. Configure PHP

When running configure, you should use at least the following
command line:

  $ ./configure --enable-libgcc --with-apxs=/opt/apache/bin/apxs

You can add other options if you like.  You can use the --help
option to configure to get a complete list.

After configure runs, you must edit the file libtool.  

  $ vi ./libtool

At line 184, you should change the line from:

  deplibs_check_method="unknown"
to
  deplibs_check_method="pass_all"

so that PHP and mod_php are properly compiled.

-----------------------------------------------------------------------
3. Compile and install the files.

Run make.  This should complete normally.

  $ make

Run make install.  This will fail when it attempts to call apxs.

  $ make install

Program will crash after apxs call.
Copy the call to apxs along with all its arguments.

Rename the file "libs/libphp4.sl" to "libs/libphp4.so".
  
  $ mv lib/libphp4.sl lib/libphp4.so

Re-run the command that you copied earlier but change the reference
of "lib/libphp4.sl" to "lib/php4.so":

  $ /opt/apache/bin/apxs -i -a -n php4 libs/libphp4.so

-----------------------------------------------------------------------
4. Setup the server

Next you must copy php.ini-dist to the appropriate place (normally
/usr/local/lib/php.ini) and edit it as necessary to set PHP options.

  $ sudo cp php.ini-dist /usr/local/lib/php.ini

The only thing left to do is to edit your httpd.conf file:

Look for the string "php4" and make sure that the "LoadModule"
and "AddModule" directives are outside any "IfDefine SSL" directives.

  $ vi /opt/apache/conf/httpd.conf 

  LoadModule php4_module        libexec/libphp4.so

  AddModule mod_php4.c

Also make sure the PHP 4 mime type is there and uncommented.  
You need a line that looks like this:

   AddType application/x-httpd-php .php

-----------------------------------------------------------------------
5. Testing it all worked

Restart your server. 

  $ sudo /opt/apache/bin/apachectl restart

You should be able to serve up PHP files now.  Make a test file called "test.php" and 
put some PHP tags in it such as <?phpinfo()?>.

  $ vi /opt/apache/htdocs/test.php

add

  <html> <head> </head> <body> <p> <?phpinfo()?> </p> </body> </html>

Enter following URL in your browser.

  http://<your server>/test.php






On Saturday 07 July 2001 15:04, colin wrote:
> Hi all,
> can anyone point me in the right direction for the following error message
> "the cgi application misbehaved by not returning a full set of http
> headers, the headers it did not return are:"
> thats it. I have installed php4.06 on w2k adv server.
>
> thanks in advance for any help

Read the install.txt file which comes with the Windows binary distributions - 
the bit you need is down at the end of the document.
-- 
Phil Driscoll




On Monday 09 July 2001 11:37, diemonde wrote:
> Hi,
>
> I am just learning (well trying to) PHP and to do some stuff I need to
> install on Windows, what can I use best.

You first need a web server.
Xitami is probably the best bet if your requirements are simple. Use Apache 
if you need to host multiple sites and have advanced configuration 
requirements.

Then download a Windows binary version of PHP from the downloads page at 
www.php.net
The Installer version will sort out just about everything for you 
automatically if you don't need any php extension modules (eg to support MS 
SQL etc), otherwise wonload the larger zip distribution.

Follow the instructions and start playing!

-- 
Phil Driscoll




Hi....thanks for your time ......... I installed together with red hat..
then is with rpm ... you think that I  must uninstalll first?

thanks in advance

----- Original Message -----
From: "James Tan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 1:26 AM
Subject: [PHP-INST] Re: update php to 4.0.6


> hiee...
>
> how did u install your copy of php4.0.4?
> normally, u should consider it as reinstalling the latest version...
> don't border about the last compiled, php4.0.6 will replace the last
version
> if u were to install it...
>
> if u install with rpm, u can uninstall the rpm from redhat rpm manager..
>
> goodluck :)
>
> regards,
>
> James
>
> Harold Arando <[EMAIL PROTECTED]> wrote in message
> 007d01c10811$24dcc940$321b6e40@jacqueline">news:007d01c10811$24dcc940$321b6e40@jacqueline...
> Hi everybody............... I work with linux red hat 7.1 ,apache and php
> 4.0.4... my question is how I can update my version of php to 4.0.6   I
read
> various text but only learn how Install.. but not how update......help
> me..... thanks in advance.....
>
>
>
>
>
>
> --
> 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....thanks for your time ......... I installed together with red hat..
then is with rpm ... you think that I  must uninstalll first?

thanks in advance

> ----- Original Message -----
> From: "James Tan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 09, 2001 1:26 AM
> Subject: [PHP-INST] Re: update php to 4.0.6
>
>
> > hiee...
> >
> > how did u install your copy of php4.0.4?
> > normally, u should consider it as reinstalling the latest version...
> > don't border about the last compiled, php4.0.6 will replace the last
> version
> > if u were to install it...
> >
> > if u install with rpm, u can uninstall the rpm from redhat rpm manager..
> >
> > goodluck :)
> >
> > regards,
> >
> > James
> >
> > Harold Arando <[EMAIL PROTECTED]> wrote in message
> > 007d01c10811$24dcc940$321b6e40@jacqueline">news:007d01c10811$24dcc940$321b6e40@jacqueline...
> > Hi everybody............... I work with linux red hat 7.1 ,apache and
php
> > 4.0.4... my question is how I can update my version of php to 4.0.6   I
> read
> > various text but only learn how Install.. but not how update......help
> > me..... thanks in advance.....
> >
> >
> >
> >
> >
> >
> > --
> > 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]
>
>
> --
> 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]
>





Hello folks,
    I have 4.06 installed and running fine.  I would like to upgrade to the
4.06 version, but..............  I am a little concerned.  The readme file
only talks about a new install, nothing regarding upgrading.  Do I just
unzip to the PHP directory?  Or do I need to some thing to prepare before
hand?

Thanks,

--
Shaun Milliken
[EMAIL PROTECTED]






Ooops, meant I have 4.04 currently installed.

SM

--

> Hello folks,
>     I have 4.06 installed and running fine.  I would like to upgrade to
the
> 4.06 version, but..............  I am a little concerned.  The readme file
> only talks about a new install, nothing regarding upgrading.  Do I just
> unzip to the PHP directory?  Or do I need to some thing to prepare before
> hand?
>
> Thanks,
>
> --
> Shaun Milliken
> [EMAIL PROTECTED]
>
>






I am trying to install php on mandrake 8, I have mysql 3.23.39 and apache
1.3.20 installed when I try to install PHP i get the following error message

  Cannot find output from lex

Any suggestions
George






Below is output from debug.log. Also, I tried configuring with and without
--enable-sysvsem --enable-sysvshm, and --enable-ucd-snmp-hack.  If I remove
--with-snmp=/usr/local, configure completes successfully.

Thanks in advance for any help. 

CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql'
'--with-snmp=/usr/local' '--with-zlib-dir=/usr/local/lib'
'--with-gd-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-jpeg-dir=/usr/local/lib' '--with-apxs=/usr/local/apache/bin/apxs'
'--enable-ucd-snmp-hack' '--enable-sysvsem' '--enable-sysvshm'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
-DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend
-I/usr/local/include -I/usr/local/mysql/include/mysql
-I/usr/local/include/ucd-snmp
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib
-L/usr/local/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
LIBS:       -lsnmp -lmysqlclient -lz -lz -lcrypt -lresolv -lresolv -lresolv
-lm -ldl -lnsl -lsocket  -lsocket -lgcc
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
/usr/local/lib /usr/local/mysql/lib/mysql
uname -a:   SunOS noc-web01 5.8 Generic_108528-08 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
-DUSE_EXPAT -DSUPPORT_UTF8  -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib
-L/usr/local/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
conftest.c -lsnmp -lmysqlclient -lz -lz -lcrypt -lresolv -lresolv -lresolv
-lm -ldl -lnsl -lsocket  -lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
EVP_md5                             /usr/local/lib/libsnmp.so
EVP_DigestFinal                     /usr/local/lib/libsnmp.so
EVP_DigestUpdate                    /usr/local/lib/libsnmp.so
kstat_close                         /usr/local/lib/libsnmp.so
des_cbc_encrypt                     /usr/local/lib/libsnmp.so
EVP_sha1                            /usr/local/lib/libsnmp.so
EVP_DigestInit                      /usr/local/lib/libsnmp.so
kstat_lookup                        /usr/local/lib/libsnmp.so
kstat_read                          /usr/local/lib/libsnmp.so
des_key_sched                       /usr/local/lib/libsnmp.so
RAND_bytes                          /usr/local/lib/libsnmp.so
des_ncbc_encrypt                    /usr/local/lib/libsnmp.so
HMAC                                /usr/local/lib/libsnmp.so
kstat_open                          /usr/local/lib/libsnmp.so
kstat_data_lookup                   /usr/local/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status




Below is output from debug.log. Also, I tried configuring with and without
--enable-sysvsem --enable-sysvshm, and --enable-ucd-snmp-hack.  If I remove
--with-snmp=/usr/local, configure completes successfully.

Thanks in advance for any help. 

CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql'
'--with-snmp=/usr/local' '--with-zlib-dir=/usr/local/lib'
'--with-gd-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-jpeg-dir=/usr/local/lib' '--with-apxs=/usr/local/apache/bin/apxs'
'--enable-ucd-snmp-hack' '--enable-sysvsem' '--enable-sysvshm'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
-DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend
-I/usr/local/include -I/usr/local/mysql/include/mysql
-I/usr/local/include/ucd-snmp
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib
-L/usr/local/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
LIBS:       -lsnmp -lmysqlclient -lz -lz -lcrypt -lresolv -lresolv -lresolv
-lm -ldl -lnsl -lsocket  -lsocket -lgcc
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
/usr/local/lib /usr/local/mysql/lib/mysql
uname -a:   SunOS noc-web01 5.8 Generic_108528-08 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
-DUSE_EXPAT -DSUPPORT_UTF8  -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib
-L/usr/local/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
conftest.c -lsnmp -lmysqlclient -lz -lz -lcrypt -lresolv -lresolv -lresolv
-lm -ldl -lnsl -lsocket  -lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
EVP_md5                             /usr/local/lib/libsnmp.so
EVP_DigestFinal                     /usr/local/lib/libsnmp.so
EVP_DigestUpdate                    /usr/local/lib/libsnmp.so
kstat_close                         /usr/local/lib/libsnmp.so
des_cbc_encrypt                     /usr/local/lib/libsnmp.so
EVP_sha1                            /usr/local/lib/libsnmp.so
EVP_DigestInit                      /usr/local/lib/libsnmp.so
kstat_lookup                        /usr/local/lib/libsnmp.so
kstat_read                          /usr/local/lib/libsnmp.so
des_key_sched                       /usr/local/lib/libsnmp.so
RAND_bytes                          /usr/local/lib/libsnmp.so
des_ncbc_encrypt                    /usr/local/lib/libsnmp.so
HMAC                                /usr/local/lib/libsnmp.so
kstat_open                          /usr/local/lib/libsnmp.so
kstat_data_lookup                   /usr/local/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status




Dear  Katie

Thank you for your time and help.

> 1). What platform are you using?
Linux 7.1


> 2). What SMTP agent are you using ( qmail, sendmail, etc )?
sendmail

> 3). Can you mail me a copy of your script so I can take a look at it?
Its a simple mail(...) function which I always use. With minimal parameters.


Regards,
Mac





Hello

1- Is there a way to specify the path of sendmail in our php script before trying to 
use mail() function?

2- Is there a way to run a command line from inside PHP? (something like perl)?

Regards,
Mac




Here's a copy of my bug report -- any help is appreciated!

Alex
====
script
------
apachectl start
lynx http://localhost/phpinfo.php
tail error_log

apache error_log
----------------
[notice] child pid 31197 exit signal Segmentation fault (11)

configure script
----------------
"./configure" \
"--prefix=/opt/php" \
"--with-apxs=/opt/apache/bin/apxs" \
"--with-mysql=/opt/mysql" \
"--with-pgsql=/opt/pgsql" \
"--enable-track-vars" \
"--with-config-file-path=/opt/php" \

httpd -l
--------
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_perl.c
suexec: disabled; invalid wrapper /opt/apache/bin/suexec

httpd -V
--------
Server version: Apache/1.3.20 (Unix)
Server built:   Jun 21 2001 15:19:15
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/opt/apache"
 -D SUEXEC_BIN="/opt/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

gdb backtrace
-------------
[root@forge php-4.0.6]# gdb httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /opt/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x4037ee6a in send_php (r=0x824d7cc, display_source_mode=0, filename=0x0) at
mod_php4.c:478
478             per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config, &php4_module);
(gdb) bt
#0  0x4037ee6a in send_php (r=0x824d7cc, display_source_mode=0,
filename=0x0) at mod_php4.c:478
#1  0x4037efca in send_parsed_php (r=0x824d7cc) at mod_php4.c:547
#2  0x8099a4d in ap_invoke_handler ()
#3  0x80ae2f3 in process_request_internal ()
#4  0x80ae729 in ap_internal_redirect ()
#5  0x8074a1a in handle_dir ()
#6  0x8099a4d in ap_invoke_handler ()
#7  0x80ae2f3 in process_request_internal ()
#8  0x80ae354 in ap_process_request ()
#9  0x80a54f9 in child_main ()
#10 0x80a56a4 in make_child ()
#11 0x80a5814 in startup_children ()
#12 0x80a5e61 in standalone_main ()
#13 0x80a66a3 in main ()
#14 0x400a0b5c in __libc_start_main (main=0x80a62fc <main>, argc=2,
ubp_av=0xbffffb14,
    init=0x80627b4 <_init>, fini=0x8148bfc <_fini>, rtld_fini=0x4000d634
<_dl_fini>, stack_end=0xbffffb0c)
    at ../sysdeps/generic/libc-start.c:129





Reply via email to