php-install Digest 2 Mar 2002 02:14:10 -0000 Issue 725

Topics (messages 6210 through 6224):

Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!
        6210 by: jkaufman.footlocker.com
        6214 by: jkaufman.footlocker.com

Re: PHP install when apache already installed
        6211 by: T Churchward
        6212 by: jkaufman.footlocker.com

Problems with PHP 4.1.2
        6213 by: Ashley Kleynhans

Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP! PART 2
        6215 by: jkaufman.footlocker.com

Configuration problem.
        6216 by: Carlos Augusto Abarca

getting Zend CVS tree
        6217 by: Dmitri Zakharov

Re: Newbie question: Version 4.1.2 doesn't show (still)
        6218 by: Michael Chinn
        6221 by: Timothy R. Robnett

PHP4.1.x - Step-by-Step Installation
        6219 by: Andre Amaral

4.1.2 compilation problems
        6220 by: Stéphane HENRY

does gd work
        6222 by: ACEAlex
        6223 by: Rasmus Lerdorf

Re: PHP upgrade (4.0.4 to 4.1.2) troubles
        6224 by: Michael Chinn

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 ---


Actually yes I have (same result, I just posted the final configuration I
kinda wanted).
however I just re-installaed my test box, and will start fresh with
apache/php and ONLY apache/php. I'll post the gory results, anyone good at
core dump investigation?


Jonathan Kaufman

BTW. Excuse my ignorance, but um...backtrace?





Yasuo Ohgaki <[EMAIL PROTECTED]> on 03/01/2002 04:24:42 AM

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!


Did you try to install with minmum settings?
Paste backtrace if you have segfalut.
If you want to use Java extension, try JDK 1.2.

--
Yasuo Ohgaki

[EMAIL PROTECTED] wrote:
> I have been trying very unsuccessfully to get Apache 1.3.23 to run php
> 4.1.1 as a DSO. I can get everything to compile, but if I try to load the
> php DSO apache will CORE.
>
> System Information:
> Aix 4.3.3 Patch Level 9
> Cset for Aix compiler v5.02
> Perl 5.6.0 [bull lppset]
> MM v1.1.3 [bull lppset]
> Bison v1.33 [self-compile]
> GNU Make v1.4 [bull lppset]
> GNU readline 4.1.0.1 [bull lppset]
> GNU m4 v1.4 [bull lppset]
> GNU Autoconf
> GNU Automake
>
>
>
> Apache configure:
> ./configure \
>         --enable-rule=SHARED_CORE \
>         --enable-rule=EAPI \
>         --enable-module=so \
>         --activate-module=src/modules/perl/libperl.a \
>         --enable-module=perl \
>         --enable-module=usertrack \
>         --enable-module=digest \
>         --enable-module=ssl \
>         --enable-shared=usertrack \
>         --enable-shared=digest \
>         --enable-shared=ssl \
>         --disable-module=autoindex \
>         --server-uid=apache \
>         --server-gid=web \
>         --with-port=3000 \
>         --prefix=/sftw/apache \
>         --logfiledir=/logs/system/apache \
>         --cgidir=/data/htdocs/cgi-bin \
>         --htdocsdir=/data/htdocs/base \
>         --iconsdir=/data/htdocs/icons \
>         --mandir=/usr/local/man \
>         --includedir=/usr/local/include
>
> php configure:
> ./configure --prefix=/usr/local \
>             --with-apxs=/sftw/apache/bin/apxs\
>             --with-pgsql=shared,/usr/local/lib \
>             --enable-track-vars \
>             --with-xml \
>             --without-mysql \
>             --enable-discard-path \
>             --with-zlib \
>             --with-mm \
>             --with-java=/usr/java131 \
>             --with-openssl=/usr/local
>
> what I have tried...
> export CC='cc -Dinline= -ma' before compiling/configuring of php
> Adding -bI:/usr/HTTPServer/libexec/httpd.exp to libtool (archive_cmds)
before compiling php
> Compiling just basic apache v1.3.23 and php (no pgsql, no mm, no java, no
ssl). Nothing seems to work.
>
> Any ideas? I'm out...
>
> BTW. I also get the error duing make install of no libphp4.so, however I
found that after you do a make, if you copy ./libs/libphp4.so.2 to
> ../libs/libphp4.so it doesn't complain anymore.
> Hopefully that is actually the right libphp4.so
>
> Thanks
>
> Jonathan Kaufman
> Footlocker Inc
>
> BTW2: I got no where fast if I try to use the IBM HTTPServer (which is
based on apache), php 4.1.1 doesn't like the apxs that is with that
package....





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.

--- End Message ---
--- Begin Message ---


Good question.
   1. Yes apachectl configtest works fine.
   2. Now there's a thought...I'll get back to you on that one :)

Jonathan Kaufman




Jonathan Hilgeman <[EMAIL PROTECTED]> on 03/01/2002 10:14:29 AM

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:  RE: [PHP-INST] Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE D
      UMP! HELP!


This is probably a basic question and probably one that might not even
apply, but did you try an apachectl configtest -AND- did you try looking at
the logs to see if there were any errors right before it dumped?

-J

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 5:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE
DUMP! HELP!




Actually yes I have (same result, I just posted the final configuration I
kinda wanted).
however I just re-installaed my test box, and will start fresh with
apache/php and ONLY apache/php. I'll post the gory results, anyone good at
core dump investigation?


Jonathan Kaufman

BTW. Excuse my ignorance, but um...backtrace?





Yasuo Ohgaki <[EMAIL PROTECTED]> on 03/01/2002 04:24:42 AM

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!


Did you try to install with minmum settings?
Paste backtrace if you have segfalut.
If you want to use Java extension, try JDK 1.2.

--
Yasuo Ohgaki

[EMAIL PROTECTED] wrote:
> I have been trying very unsuccessfully to get Apache 1.3.23 to run php
> 4.1.1 as a DSO. I can get everything to compile, but if I try to load the
> php DSO apache will CORE.
>
> System Information:
> Aix 4.3.3 Patch Level 9
> Cset for Aix compiler v5.02
> Perl 5.6.0 [bull lppset]
> MM v1.1.3 [bull lppset]
> Bison v1.33 [self-compile]
> GNU Make v1.4 [bull lppset]
> GNU readline 4.1.0.1 [bull lppset]
> GNU m4 v1.4 [bull lppset]
> GNU Autoconf
> GNU Automake
>
>
>
> Apache configure:
> ./configure \
>         --enable-rule=SHARED_CORE \
>         --enable-rule=EAPI \
>         --enable-module=so \
>         --activate-module=src/modules/perl/libperl.a \
>         --enable-module=perl \
>         --enable-module=usertrack \
>         --enable-module=digest \
>         --enable-module=ssl \
>         --enable-shared=usertrack \
>         --enable-shared=digest \
>         --enable-shared=ssl \
>         --disable-module=autoindex \
>         --server-uid=apache \
>         --server-gid=web \
>         --with-port=3000 \
>         --prefix=/sftw/apache \
>         --logfiledir=/logs/system/apache \
>         --cgidir=/data/htdocs/cgi-bin \
>         --htdocsdir=/data/htdocs/base \
>         --iconsdir=/data/htdocs/icons \
>         --mandir=/usr/local/man \
>         --includedir=/usr/local/include
>
> php configure:
> ./configure --prefix=/usr/local \
>             --with-apxs=/sftw/apache/bin/apxs\
>             --with-pgsql=shared,/usr/local/lib \
>             --enable-track-vars \
>             --with-xml \
>             --without-mysql \
>             --enable-discard-path \
>             --with-zlib \
>             --with-mm \
>             --with-java=/usr/java131 \
>             --with-openssl=/usr/local
>
> what I have tried...
> export CC='cc -Dinline= -ma' before compiling/configuring of php
> Adding -bI:/usr/HTTPServer/libexec/httpd.exp to libtool (archive_cmds)
before compiling php
> Compiling just basic apache v1.3.23 and php (no pgsql, no mm, no java, no
ssl). Nothing seems to work.
>
> Any ideas? I'm out...
>
> BTW. I also get the error duing make install of no libphp4.so, however I
found that after you do a make, if you copy ./libs/libphp4.so.2 to
> ../libs/libphp4.so it doesn't complain anymore.
> Hopefully that is actually the right libphp4.so
>
> Thanks
>
> Jonathan Kaufman
> Footlocker Inc
>
> BTW2: I got no where fast if I try to use the IBM HTTPServer (which is
based on apache), php 4.1.1 doesn't like the apxs that is with that
package....





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.

--- End Message ---
--- Begin Message ---
Shaun

If apache is already installed that's okay.  The important thing is to
carefully read the information in the 'INSTALL' file where you unpacked
PHP - particularly the bit about 'DSO' and testing whether your installation
of the web server supports this.  If all is okay then you can start your
build (of PHP) from step number 9 below.  BTW the notes comment on using
mysql as well so have a look at that while you're at it...

good luck


Tom Churchward
Red Logic
Oracle Support Specialists

Tel: +44 (0) 161 831 9860
Fax: +44 (0) 161 831 9713
E-mail: [EMAIL PROTECTED]
Web: www.redlogic.co.uk


-----Original Message-----
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: 28 February 2002 20:20
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php install when apache already installed


I need to have PHP installed on a AIX 4.3.3 machine that already has apache
installed 1.3.20 I believe.  the instructions for PHP's website for
installing as a module seem to assume that you are installing apache at the
same time.  Do I have to re-compile and install apache to run PHP as a
module?  Here are the instructions I have.  If I dont have to re-compile
apache how do these instructions change?

1.  gunzip apache_xxx.tar.gz
2.  tar -xvf apache_xxx.tar
3.  gunzip php-xxx.tar.gz
4.  tar -xvf php-xxx.tar
5.  cd apache_xxx
6.  ./configure --prefix=/www --enable-module=so
7.  make
8.  make install
9.  cd ../php-xxx
10. ./configure --with-mysql --with-apxs=/www/bin/apxs
11. make
12. make install

  If you decide to change your configure options after installation
  you only need to repeat the last three steps. You only need to
  restart apache for the new module to take effect. A recompile of
  Apache is not needed.

11. cp php.ini-dist /usr/local/lib/php.ini

  You can edit your .ini file to set PHP options.  If
  you prefer this file in another location, use
  --with-config-file-path=/path in step 8.

12. Edit your httpd.conf or srm.conf file and check that these lines are
    present and not commented out:

   AddType application/x-httpd-php .php

   LoadModule php4_module        libexec/libphp4.so

  You can choose any extension you wish here.  .php is simply the one
  we suggest. You can even include .html, and .php3 can be added for
  backwards compatibility.

  The path on the right hand side of the LoadModule statement must point
  to the path of the PHP module on your system. The above statement is
  correct for the steps shown above.


13. Use your normal procedure for starting the Apache server. (You must
    stop and restart the server, not just cause the server to reload by
    use a HUP or USR1 signal.)




--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---


Well let me know if you can get it to work, as that's something I've been
interested in.


Jonathan Kaufman
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.

--- End Message ---
--- Begin Message ---
I was running PHP 4.0.6.
I read about the fileupload vulnerability and decided to upgrade to PHP 4.1.2.
When running the configure script, I used the following commandline with
PHP 4.0.6:

CFLAGS="-O2 -DHAVE_SYS_RESOURCE_H" ./configure  --with-apxs=/usr/local/apache/bin/apxs 
--with-config-file-path=/usr/local/apache/conf --with-mysql --with-imap 
--with-gd=/usr/local --enable-debug=no --enable-track-vars

When attempting to do the same with PHP 4.1.2 it generated the following
error message:
-----
checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with SSL support.

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


I then added "--with-imap-ssl" and the configure script ran okay but when I did a 
"make"
I was presented with the following error message:
-----
/usr/bin/ld: cannot open -lcrypto: No such file or directory
-----


I then added "--with-ssl" to the command line of the configure script and that seemed
to solve the problem with "make" but when starting Apache, I was presented with the
following error message:
-----
Syntax error on line 72 of /usr/local/apache/conf/httpd.conf:
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
-----


I then tried to change the "--with-ssl" parameter to "--with-ssl=/usr/local/ssl" and 
compiled again
but once again when starting apache I received the same error.

I then tried to remove "--with-ssl" from the configure script parameters and changed
"--with-imap-ssl" to "--with-imap-ssl=/usr/local/ssl" and compiled again but once again
when starting apache I received the same error.

Any assistance will be greatly appreciated.

Regards
Ashley

--- End Message ---
--- Begin Message ---

Alrighty folks, here is a bit more detail on a new fresh system with a
fresh install of everything.

Basic Apache v1.3.23 (from source) with
./configure \
        --enable-rule=SHARED_CORE \
        --enable-module=so \
        --enable-module=usertrack \
        --enable-module=digest \
        --enable-shared=usertrack \
        --enable-shared=digest \
        --server-uid=apache \
        --server-gid=web \
        --with-port=3000 \
        --prefix=/sftw/apache \
        --logfiledir=/logs/system/apache \
        --cgidir=/data/htdocs/cgi-bin \
        --htdocsdir=/data/htdocs/base \
        --iconsdir=/data/htdocs/icons \
        --mandir=/usr/local/man \
        --includedir=/usr/local/include
     [Configuring for Apache, Version 1.3.23
      + using installation path layout: Apache (config.layout)
     Creating Makefile
     Creating Configuration.apaci in src
     Creating Makefile in src
     + configured for IBM AIX 4.3 platform
      + setting C compiler to cc
      + setting C pre-processor to cc -E
      + checking for system header files
      + adding selected modules
      + using builtin Expat
      + using -lld for vendor DSO support
      + checking sizeof various data types
      + doing sanity check on compiler and options
     Creating Makefile in src/support
     Creating Makefile in src/regex
     Creating Makefile in src/os/unix
     Creating Makefile in src/ap
     Creating Makefile in src/main
     Creating Makefile in src/lib/expat-lite
     Creating Makefile in src/modules/standard]
make - Runs fine no errors
make install - Runs fine no errors
apachectl configtest - ok
apachectl start - ok

Now onto PHP
./configure --with-apxs=/sftw/apache/bin/apxs
[##########configure output################]
checking for res_search in -lsocket... no
checking for res_search in -lresolv... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for alloca.h... no
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... no
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for tm_gmtoff in struct tm... no
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... yes
checking for flock... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... no
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) no
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... no
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable php streams... no
checking for crypt in -lcrypt... yes

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... no
checking for ASPELL support... no
checking for bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for CCVS support... no
checking whether to include cpdflib support... no
checking whether to include crack support... no
checking whether to enable ctype support... no
checking for CURL support... no
checking for CyberCash support... no
checking for cybermut support... no
checking for cyrus imap support... no
checking whether to include old xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for Berkeley DB3 support... no
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... no
checking whether to enable the bundled dbase library... no
checking for dbplus support... no
checking whether to enable dbx support... no
checking for DOM support... no
checking whether to enable exif support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for fdftk support... no
checking whether to enable the bundled filePro support... no
checking whether to add fribidi support... no
checking whether to enable FTP support... no
checking whether to include GD support... no
checking whether to include GNU gettext support... no
checking for gmp support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for ircg support... no
checking for Java support... no
checking whether to include LDAP support... no
checking whether to enable mailparse support... no
checking whether to enable multibyte string support... no
checking whether to enable japanese encoding translation... no
checking for MCAL support... no
checking for mcrypt support... no
checking for mhash support... no
checking whether to include ming support... no
checking for mnoGoSearch support... no
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
checking for MySQL UNIX socket... /tmp/mysql.sock
checking for inline... __inline
checking return type of signal handlers... void
checking for ANSI C header files... (cached) yes
checking for sgtty.h... yes
checking for sys/ioctl.h... yes
checking for fcntl.h... (cached) yes
checking for float.h... yes
checking for floatingpoint.h... no
checking for ieeefp.h... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... yes
checking for pwd.h... (cached) yes
checking for select.h... no
checking for stdlib.h... (cached) yes
checking for stddef.h... yes
checking for strings.h... yes
checking for string.h... (cached) yes
checking for synch.h... no
checking for sys/mman.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... yes
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for sched.h... yes
checking for crypt.h... (cached) yes
checking for alloca.h... (cached) no
checking size of char... 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... yes
checking for type uchar... yes
checking for type uint... yes
checking for int8... yes
checking base type of last arg to accept... int
checking return type of qsort... void
checking for alarm... yes
checking for bmove... no
checking for chsize... no
checking for ftruncate... yes
checking for rint... yes
checking for finite... yes
checking for fpsetmask... no
checking for fpresetsticky... no
checking for cuserid... (cached) yes
checking for fcntl... yes
checking for fconvert... no
checking for getrusage... (cached) yes
checking for getpwuid... yes
checking for getcwd... yes
checking for getrlimit... yes
checking for getwd... yes
checking for index... yes
checking for locking... no
checking for longjmp... yes
checking for perror... yes
checking for pread... yes
checking for realpath... (cached) yes
checking for rename... yes
checking for socket... yes
checking for strnlen... yes
checking for madvise... yes
checking for strtoul... yes
checking for strtoull... yes
checking for snprintf... (cached) yes
checking for tempnam... (cached) yes
checking for thr_setconcurrency... no
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for getpwnam... yes
checking for bfill... no
checking for bzero... yes
checking for bcmp... yes
checking for strstr... (cached) yes
checking for strpbrk... yes
checking for strerror... (cached) yes
checking for tell... yes
checking for atod... no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for setupterm... no
checking for strcasecmp... (cached) yes
checking for sighold... yes
checking for vidattr... no
checking for setupterm... (cached) no
checking for lrand48... (cached) yes
checking for localtime_r... (cached) yes
checking for sigset... yes
checking for sigthreadmask... no
checking for pthread_sigmask... no
checking for pthread_setprio... no
checking for pthread_setprio_np... no
checking for pthread_setschedparam... no
checking for pthread_attr_setprio... no
checking for pthread_attr_setschedparam... no
checking for pthread_attr_create... no
checking for pthread_getsequence_np... no
checking for pthread_attr_setstacksize... no
checking for pthread_condattr_create... no
checking for rwlock_init... no
checking for crypt... (cached) yes
checking for dlopen... yes
checking for dlerror... yes
checking for fchmod... yes
checking for getpass... yes
checking for getpassphrase... no
checking for strtok_r... (cached) yes
checking style of gethostname_r routines... other
checking 3 argument to gethostname_r routines... char
checking args to pthread_getspecific... POSIX
checking args to pthread_mutex_init... POSIX
checking args to readdir_r... POSIX
checking style of sigwait... POSIX
checking for ncurses support... no
checking for Oracle-OCI8 support... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for Velocis support... no
checking for a custom ODBC support... no
checking for iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking for unixODBC support... no
checking for OpenLink ODBC support... no
checking for DBMaker support... no
checking for Oracle-ORACLE support... no
checking for Ovrimos SQL Server support... no
checking whether to enable pcntl support... no
checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... no
checking whether to include Verisign Payflow Pro support... no
checking for PostgreSQL support... no
checking whether to include POSIX-like functions... yes
checking for seteuid... yes
checking for setegid... yes
checking for setsid... yes
checking for getsid... yes
checking for setpgid... yes
checking for getpgid... yes
checking for ctermid... yes
checking for mkfifo... yes
checking for getrlimit... (cached) yes
checking whether to include pspell support... no
checking whether to include QDOM support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
checking whether to enable CORBA support via Satellite... no
checking for mm support... no
checking whether to enable transparent session id propagation... no
checking whether to enable session support... yes
checking for pread... (cached) yes
checking for pwrite... yes
checking whether pwrite works without custom declaration... yes
checking whether pread works without custom declaration... yes
checking whether to enable shmop support... no
checking for SNMP support... no
checking whether to enable UCD SNMP hack... no
checking whether to enable sockets support... no
checking for dlopen... (cached) yes
checking for pam_start in -lpam... no
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... no
checking for MD5 crypt... no
checking for Blowfish crypt... no
checking whether flush should be called explicitly after a bufferered io... yes
checking for libswf support... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for vpopmail support... no
checking for WDDX support... no
checking whether byte ordering is bigendian... yes
checking for XML support... yes
checking external libexpat install dir... no
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... no
checking whether to enable xslt support... no
checking whether to enable the XSLT Sablotron backend... no
checking libexpat dir for Sablotron XSL support... no
checking for YAZ support... no
checking whether to include YP support... no
checking whether to include zziplib support... no
checking whether to enable versioning... no
checking which regex library to use... php

Configuring Zend
checking bison version... ./configure[57622]: (GNU: bad number
bison.(GNU (ok)
checking for limits.h... (cached) yes
checking for malloc.h... no
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for dlfcn.h... no
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for dlopen in -ldl... (cached) yes
checking for dlopen... (cached) yes
checking for uint... yes
checking for ulong... yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... yes
checking for kill... yes
checking for strtod... yes
checking for strtol... yes
checking for finite... (cached) yes
checking for fpclass... no
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... no
checking for isinf... yes
checking for isnan... yes
checking whether fp_except is defined... no
checking whether to enable experimental ZTS... no
checking whether to enable inline optimization for GCC... no
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking for inline... (cached) __inline

Configuring TSRM
checking for stdarg.h... (cached) yes

Configuring libtool
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... powerpc-ibm-aix4.3.3.0
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... (cached) no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... none
checking if cc static flag -bnso -bI:/lib/syscalls.exp works... yes
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... aix4.3.3.0 ld.so
checking if libtool supports shared libraries... yes
creating libtool
[########end##########]
Ok so that's MOST of the configure out, I forgot it was quite so long...
make

Basically fine, but it did complain about
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_scanner.lo contains
 an incorrect file suffix

cp .libs/libphp4.so.0 libs/libphp4.so

make install - runs fine


Back to apache

apachectl configtest - ok
apachectl start - WORKS!

Well I'll be damned, now to figure out WHY? Sigh..

And see if I can get mysql, and mod_ssl into it.

Thanks.

Jonathan Kaufman















Jonathan Hilgeman <[EMAIL PROTECTED]> on 03/01/2002 10:14:29 AM

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:  RE: [PHP-INST] Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE D
      UMP! HELP!


This is probably a basic question and probably one that might not even
apply, but did you try an apachectl configtest -AND- did you try looking at
the logs to see if there were any errors right before it dumped?

-J

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 5:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE
DUMP! HELP!




Actually yes I have (same result, I just posted the final configuration I
kinda wanted).
however I just re-installaed my test box, and will start fresh with
apache/php and ONLY apache/php. I'll post the gory results, anyone good at
core dump investigation?


Jonathan Kaufman

BTW. Excuse my ignorance, but um...backtrace?





Yasuo Ohgaki <[EMAIL PROTECTED]> on 03/01/2002 04:24:42 AM

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!


Did you try to install with minmum settings?
Paste backtrace if you have segfalut.
If you want to use Java extension, try JDK 1.2.

--
Yasuo Ohgaki

[EMAIL PROTECTED] wrote:
> I have been trying very unsuccessfully to get Apache 1.3.23 to run php
> 4.1.1 as a DSO. I can get everything to compile, but if I try to load the
> php DSO apache will CORE.
>
> System Information:
> Aix 4.3.3 Patch Level 9
> Cset for Aix compiler v5.02
> Perl 5.6.0 [bull lppset]
> MM v1.1.3 [bull lppset]
> Bison v1.33 [self-compile]
> GNU Make v1.4 [bull lppset]
> GNU readline 4.1.0.1 [bull lppset]
> GNU m4 v1.4 [bull lppset]
> GNU Autoconf
> GNU Automake
>
>
>
> Apache configure:
> ./configure \
>         --enable-rule=SHARED_CORE \
>         --enable-rule=EAPI \
>         --enable-module=so \
>         --activate-module=src/modules/perl/libperl.a \
>         --enable-module=perl \
>         --enable-module=usertrack \
>         --enable-module=digest \
>         --enable-module=ssl \
>         --enable-shared=usertrack \
>         --enable-shared=digest \
>         --enable-shared=ssl \
>         --disable-module=autoindex \
>         --server-uid=apache \
>         --server-gid=web \
>         --with-port=3000 \
>         --prefix=/sftw/apache \
>         --logfiledir=/logs/system/apache \
>         --cgidir=/data/htdocs/cgi-bin \
>         --htdocsdir=/data/htdocs/base \
>         --iconsdir=/data/htdocs/icons \
>         --mandir=/usr/local/man \
>         --includedir=/usr/local/include
>
> php configure:
> ./configure --prefix=/usr/local \
>             --with-apxs=/sftw/apache/bin/apxs\
>             --with-pgsql=shared,/usr/local/lib \
>             --enable-track-vars \
>             --with-xml \
>             --without-mysql \
>             --enable-discard-path \
>             --with-zlib \
>             --with-mm \
>             --with-java=/usr/java131 \
>             --with-openssl=/usr/local
>
> what I have tried...
> export CC='cc -Dinline= -ma' before compiling/configuring of php
> Adding -bI:/usr/HTTPServer/libexec/httpd.exp to libtool (archive_cmds)
before compiling php
> Compiling just basic apache v1.3.23 and php (no pgsql, no mm, no java, no
ssl). Nothing seems to work.
>
> Any ideas? I'm out...
>
> BTW. I also get the error duing make install of no libphp4.so, however I
found that after you do a make, if you copy ./libs/libphp4.so.2 to
> ../libs/libphp4.so it doesn't complain anymore.
> Hopefully that is actually the right libphp4.so
>
> Thanks
>
> Jonathan Kaufman
> Footlocker Inc
>
> BTW2: I got no where fast if I try to use the IBM HTTPServer (which is
based on apache), php 4.1.1 doesn't like the apxs that is with that
package....





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--- End Message ---
--- Begin Message ---
I'm trying to install PHP on a Sun Solaris machine, building the binaries
was no problem but when I try to install with this options

./configure --with-oci8 --with-apxs=/path/to/apxs

(dynamic conf with apache)

I get an error:

can´t use strict.pm @INC (INC contains ...

I found the strict file but is on a path not included in the @INC variable.
The problem is that I don't find this variable at all on my sistem. How can
I update this variable to include the path where the strict.pm file is
located.

Thanks for your help. --- Please answer soon as this is very urgent.

Carlso Abarca


--- End Message ---
--- Begin Message ---
Hello everybody,

I am installing PHP/Zend/PHP-GTK following
the instruction from:
http://gtk.miester.org/docs/joe2001_03_27.2.html


1:Go to your favorite source directory
2:cd /usr/local/src 
3:Login to the CVS tree - use phpfi for the password
4:cvs -d :pserver:[EMAIL PROTECTED]:/repository login 
5:Grab the code 
6:cvs -d :pserver:[EMAIL PROTECTED]:/repository co php4 
7:Change into the php4 directory
8:cd php4 
9:Login to the Zend CVS tree - use zend for the password
10:cvs -d :pserver:[EMAIL PROTECTED]:/repository login 
11:Grab the needed code from the tree
12:cvs -d :pserver:[EMAIL PROTECTED]:/repository co Zend TSRM 
...

I got php4, but can't login to cvs.zend.com with zend
password. Here's what I get after entering zend password

CVS password:
cvs [login aborted]: connect to cvs.zend.com:2401 failed: Connection
timed out

Is it just "wrong time" to get there or password changed?
Does anybody know some other way to get Zend stuff?

Any help appreciated.

-- 
Dmitri Zakharov
email: [EMAIL PROTECTED]
phone: (514)938-7389
--- End Message ---
--- Begin Message ---
Well...

I tried the below install routine (in the /usr/src/php-4.1.2) without any 
errors (that I can tell).

At 2/28/02 Thursday 01:11 PM, you wrote:
>Try a
>make clean
>./config.nice
>make
>make install
>apachectl restart

But I still get the PHP 4.0.4 banner when I do a 
"http://www.domain.com/phpinfo.php";

Any further ideas?

Michael


> > -----Original Message-----
> > From: Michael Chinn [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 28, 2002 12:13 PM
> > To: php-install
> > Subject: [PHP-INST] Newbie question: Version 4.1.2 doesn't show
> >
> >
> > To all,
> >
> > I'm a little new to PHP (and Linux for that matter) so please
> > bear with me.
> >
> > I have a current running version of PHP (4.0.4.) that shipped
> > with RedHat 7.1
> >
> > I read about the security issue so I downloaded the new
> > version (4.1.2),
> > (php-4.1.2.tar.gz).
> >
> > I performed an install (tar xzvf, ./configure, make, and make
> > install) and
> > the package seemed to install with out any errors.
> >
> > However when I bring up the banner from
> > "http://www.domain.com/phpinfo.php
> > I still get the old
> > version (4.0.4).
> >
> > What am I missing? Any pointer would be appreciated.
> >
> > Michael
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >


--- End Message ---
--- Begin Message ---
On Fri Mar 01, 2002 at 10:27:02AM -0800, Michael Chinn wrote:
> Any further ideas?

My guess is that you are didn't specify --prefix=/usr (of something along those lines) 
as a result you are placing your nice, shiny, new binary someplace that apache can't 
find. Apache then just blindly uses the old binary.

Tim
--- End Message ---
--- Begin Message ---
Hi all. Here is a link for anyone who wants to install or are having problem
with PHP on a Windows systems using IIS. This is cool website with more
tutorials to come based on PHP and Windows. So keep tuned!

http://www.experttek.com
Look under Useful Links on the menu for the tutorial. And don't forget to
leave your feedback on the Forum. :)

I hope this will help some people out there.

Andre


--- End Message ---
--- Begin Message ---
After the make command I get the following errors :

make[2]: Entering directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql'
Making all in libmysql
make[3]: Entering directory 
`/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[4]: Entering directory 
`/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
/bin/sh /home/stef/www/pkg/pkgApache/php-4.1.2/libtool --silent --mode=compile gcc  
-I. -I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql 
-I/home/stef/www/pkg/pkgApache/php-4.1.2/main -I/home/stef/www/pkg/pkgApache/php-4.1.2 
-I/usr/local/apache/include -I/home/stef/www/pkg/pkgApache/php-4.1.2/Zend 
-I/home/stef/www/pkg/pkgApache/imap-2001a/c-client -I/usr/local/mcal/include 
-I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql 
-I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/xml/expat  -DLINUX=22 -DMOD_SSL=208106 
-DUSE_HSREGEX -DEAPI -I/home/stef/www/pkg/pkgApache/php-4.1.2/TSRM -g -O2 -prefer-pic  
-c libmysql.c
In file included from libmysql.c:5:
global.h:253: warning: redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
global.h:254: warning: redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared here
In file included from libmysql.c:12:
m_string.h:180: parse error before `__extension__'
m_string.h:180: parse error before `&&'
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext'
make: *** [all-recursive] Error 1


Here is my configure command :

./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/apache/php/conf 
--with-mcal=/usr/local/mcal --enable-ftp --enable-magic-quotes --enable-track-vars 
--with-regex=system --enable-trans-sid --disable-debug --enable-pic 
--enable-inline-optimization --with-zlib --with-config-file-path=/etc --with-xml 
--with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-imap=../imap-2001a 
--disable-posix-threads --with-gettext --with-ldap

Thanks for help
--- End Message ---
--- Begin Message ---
Has anybody got gd to work with linux? I cant get it to work. Could i get
some version nbr that actually work?

/Alexander



--- End Message ---
--- Begin Message ---
http://www.php.net/~rasmus/gd.html

On Fri, 1 Mar 2002, ACEAlex wrote:

> Has anybody got gd to work with linux? I cant get it to work. Could i get
> some version nbr that actually work?
>
> /Alexander
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
At 3/1/02 Friday 01:14 PM, you wrote:
>On Fri Mar 01, 2002 at 10:27:02AM -0800, Michael Chinn wrote:
> > Any further ideas?
>
>My guess is that you are didn't specify --prefix=/usr (of something along 
>those lines) as a result you are placing your nice, shiny, new binary 
>someplace that
>apache can't find. Apache then just blindly uses the old binary.

Errr.. Let's see... Where to start...

I reviewed the installation notes from the install and they outline the 
"static" and "dynamic" installation of PHP.  My current PHP (4.0.4) was 
installed along with Apache (1.3.13)  when I installed Redhat 7.1.  So, I 
know this might sound ignorant - because it is, how can I tell what type of 
install (static vs dynamic) do I currently have.

And what would be the deciding factor(s) behind going (or staying) with a 
static or dynamic install.

Oh, and I don't know if this useful but here is my "Configure Command" 
contents from the current PHP 4.0.4. banner

'./configure' '--prefix=/usr' '--with-config-file-path=/etc' 
'--disable-debug' '--enable-pic' '-- enable-shared' 
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec- 
dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' 
'--with-jpeg-dir=/usr' '-- with-png' '--with-zlib' '--with-db2' 
'--with-db3' '--with-gdbm' '--enable-debugger' '--enable- magic-quotes' 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable- 
sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' 
'--without- mysql' '--without-oracle' '--without-oci8' '--with-xml'

Thanks,
Michael Chinn


Thanks.



>Tim
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---

Reply via email to