hi,
Might be second post, do not see the first one...
I have linux 7.2 with apache 1.3.27, php 4.1.2 running nicely. However I
need to add postgres support, and tried to upgrade to 4.3.7 at the same
time. I tried compiling the tarball and that leads to errors:
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
if i try to do rpm -Fvh on the .src.rpm, i fail with many dependencies
missing.

Jerry Norton

PHP Version 4.1.2

System Linux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59
EDT 2002 i686 unknown
Build Date Sep 26 2002
Configure Command  './configure' 'i386-redhat-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3'
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-mm' '--with-openssl' '--with-png' '--with-pspell'
'--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
ZEND_DEBUG disabled
Thread Safety disabled

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies



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

PHP 4.0 Credits

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

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference
 On On
allow_url_fopen
 1 1
always_populate_raw_post_data
 0 0
arg_separator.input
 & &
arg_separator.output
 & &
asp_tags
 Off Off
auto_append_file
 no value no value
auto_prepend_file
 no value no value
browscap
 no value no value
default_charset
 no value no value
default_mimetype
 text/html text/html
define_syslog_variables
 Off Off
disable_functions
 no value no value
display_errors
 On On
display_startup_errors
 Off Off
doc_root
 no value no value
enable_dl
 On On
error_append_string
 no value no value
error_log
 no value no value
error_prepend_string
 no value no value
error_reporting
 2039 2039
expose_php
 On On
extension_dir
 ./ ./
file_uploads
 1 1
gpc_order
 GPC GPC
highlight.bg
 #FFFFFF #FFFFFF
highlight.comment
 #FF8000 #FF8000
highlight.default
 #0000BB #0000BB
highlight.html
 #000000 #000000
highlight.keyword
 #007700 #007700
highlight.string
 #DD0000 #DD0000
html_errors
 On On
ignore_user_abort
 Off Off
implicit_flush
 Off Off
include_path
 .:/usr/share/pear .:/usr/share/pear
log_errors
 Off Off
magic_quotes_gpc
 On On
magic_quotes_runtime
 Off Off
magic_quotes_sybase
 Off Off
max_execution_time
 30 30
memory_limit
 8M 8M
open_basedir
 no value no value
output_buffering
 no value no value
output_handler
 no value no value
post_max_size
 8M 8M
precision
 12 12
register_argc_argv
 On On
register_globals
 Off Off
safe_mode
 Off Off
safe_mode_exec_dir
 no value no value
safe_mode_gid
 Off Off
safe_mode_include_dir
 no value no value
sendmail_from
 no value no value
sendmail_path
 /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i
short_open_tag
 On On
SMTP
 localhost localhost
sql.safe_mode
 Off Off
track_errors
 Off Off
upload_max_filesize
 2M 2M
upload_tmp_dir
 no value no value
user_dir
 no value no value
variables_order
 EGPCS EGPCS
xmlrpc_error_number
 0 0
xmlrpc_errors
 Off Off
y2k_compliance
 On On


yp
YP Support enabled


xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.2


wddx
WDDX Support enabled
WDDX Session Serializer enabled


standard
Regex Library System library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active
 1 1
assert.bail
 0 0
assert.callback
 no value no value
assert.quiet_eval
 0 0
assert.warning
 1 1
safe_mode_allowed_env_vars
 PHP_ PHP_
safe_mode_protected_env_vars
 LD_LIBRARY_PATH LD_LIBRARY_PATH
session.use_trans_sid
 0 0
url_rewriter.tags
 a=href,area=href,frame=src,input=src,form=,fieldset=
a=href,area=href,frame=src,input=src,form=,fieldset=


sockets
Sockets Support enabled


shmop
shmop support enabled


session
Session Support enabled

Directive Local Value Master Value
session.auto_start
 Off Off
session.cache_expire
 180 180
session.cache_limiter
 nocache nocache
session.cookie_domain
 no value no value
session.cookie_lifetime
 0 0
session.cookie_path
 / /
session.cookie_secure
 Off Off
session.entropy_file
 no value no value
session.entropy_length
 0 0
session.gc_maxlifetime
 1440 1440
session.gc_probability
 1 1
session.name
 PHPSESSID PHPSESSID
session.referer_check
 no value no value
session.save_handler
 files files
session.save_path
 /tmp /tmp
session.serialize_handler
 php php
session.use_cookies
 On On


pspell
PSpell Support enabled


posix
Revision $Revision: 1.33.2.1 $


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.4 22-Aug-2000


openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6b [engine] 9 Jul 2001


ncurses
ncurses support enabled


mbstring
Multibyte (Japanese) Support enabled
http input encoding translation enabled

Directive Local Value Master Value
mbstring.detect_order
 no value no value
mbstring.http_input
 no value no value
mbstring.http_output
 no value no value
mbstring.internal_encoding
 no value no value
mbstring.substitute_character
 no value no value


iconv
iconv support enabled

Directive Local Value Master Value
iconv.input_encoding
 ISO-8859-1 ISO-8859-1
iconv.internal_encoding
 ISO-8859-1 ISO-8859-1
iconv.output_encoding
 ISO-8859-1 ISO-8859-1


gmp
gmp support enabled


gettext
GetText Support enabled


gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled


ftp
FTP support enabled


exif
EXIF Support enabled


domxml
DOM/XML enabled
libxml Version 2.4.19
XPath Support enabled
XPointer Support enabled


dbx
dbx support enabled
dbx version 1.0.0
supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL
Server<br />FrontBase


dba
DBA support enabled
Supported handlers gdbm db3


curl
CURL support enabled
CURL Information libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6 enabled)


calendar
Calendar support enabled


bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001


bcmath
BCMath support enabled


zlib
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.3
Linked Version 1.1.4


apache
APACHE_INCLUDE
APACHE_TARGET
Apache Version Apache/1.3.23
Apache Release 10323100
Apache API Version 19990320
Hostname:Port nofx.osbornepub.com:80
User/Group apache(48)/48
Max Requests Per Child: 1000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /etc/httpd
Loaded Modules mod_ssl, mod_dav, mod_php4, mod_perl, mod_setenvif, mod_so,
mod_headers, mod_expires, mod_auth_db, mod_auth_anon, mod_auth, mod_access,
mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis,
mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status,
mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config,
mod_env, mod_vhost_alias, http_core

Directive Local Value Master Value
child_terminate
 0 0
engine
 1 1
last_modified
 0 0
xbithack
 0 0


Apache Environment
Variable Value
DOCUMENT_ROOT /var/www/html/
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us
HTTP_CONNECTION Keep-Alive
HTTP_HOST 64.156.82.88
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461;
.NET CLR 1.1.4322)
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REMOTE_ADDR 67.84.137.150
REMOTE_PORT 1786
SCRIPT_FILENAME /var/www/html/getdatabaseinfo.php
SERVER_ADDR 64.156.82.88
SERVER_ADMIN [EMAIL PROTECTED]
SERVER_NAME nofx.osbornepub.com
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.27 Server at nofx.osbornepub.com Port
80</ADDRESS>

SERVER_SOFTWARE Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.12
OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /getdatabaseinfo.php
SCRIPT_NAME /getdatabaseinfo.php


HTTP Headers Information
HTTP Request Headers
HTTP Request GET /getdatabaseinfo.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding gzip, deflate
Accept-Language en-us
Connection Keep-Alive
Host 64.156.82.88
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET
CLR 1.1.4322)
HTTP Response Headers
X-Powered-By PHP/4.1.2
Connection close
Transfer-Encoding chunked
Content-Type text/html


Additional Modules
sysvshm
sysvsem
session mm


Environment
Variable Value
PWD /root
HOSTNAME nofx.osbornepub.com
LESSOPEN |/usr/bin/lesspipe.sh %s
USER root
LS_COLORS
no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0
1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm
=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3
1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0
1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:
*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL /var/spool/mail/root
INPUTRC /etc/inputrc
BASH_ENV /root/.bashrc
LANG en_US.iso885915
SSH_CLIENT 67.153.117.108 1650 22
LOGNAME root
SHLVL 2
SHELL /bin/bash
PGLIB /usr/local/pgsql/lib
USERNAME root
HISTSIZE 1000
HOME /root
TERM vt100
PGDATA /usr/local/pgsql/data
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
SSH_TTY /dev/pts/1
_ /usr/sbin/httpd


PHP Variables
Variable Value
_SERVER["DOCUMENT_ROOT"] /var/www/html/
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] 64.156.82.88
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; Q312461; .NET CLR 1.1.4322)
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_SERVER["REMOTE_ADDR"] 67.84.137.150
_SERVER["REMOTE_PORT"] 1786
_SERVER["SCRIPT_FILENAME"] /var/www/html/getdatabaseinfo.php
_SERVER["SERVER_ADDR"] 64.156.82.88
_SERVER["SERVER_ADMIN"] [EMAIL PROTECTED]
_SERVER["SERVER_NAME"] nofx.osbornepub.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.27 Server at
nofx.osbornepub.com Port 80</ADDRESS>

_SERVER["SERVER_SOFTWARE"] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"]
_SERVER["REQUEST_URI"] /getdatabaseinfo.php
_SERVER["SCRIPT_NAME"] /getdatabaseinfo.php
_SERVER["PATH_TRANSLATED"] /var/www/html/getdatabaseinfo.php
_SERVER["PHP_SELF"] /getdatabaseinfo.php
_SERVER["argv"] Array
(
)


_SERVER["argc"] 0
_ENV["PWD"] /root
_ENV["HOSTNAME"] nofx.osbornepub.com
_ENV["LESSOPEN"] |/usr/bin/lesspipe.sh %s
_ENV["USER"] root
_ENV["LS_COLORS"]
no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0
1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm
=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3
1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0
1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:
*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
_ENV["MAIL"] /var/spool/mail/root
_ENV["INPUTRC"] /etc/inputrc
_ENV["BASH_ENV"] /root/.bashrc
_ENV["LANG"] en_US.iso885915
_ENV["SSH_CLIENT"] 67.153.117.108 1650 22
_ENV["LOGNAME"] root
_ENV["SHLVL"] 2
_ENV["SHELL"] /bin/bash
_ENV["PGLIB"] /usr/local/pgsql/lib
_ENV["USERNAME"] root
_ENV["HISTSIZE"] 1000
_ENV["HOME"] /root
_ENV["TERM"] vt100
_ENV["PGDATA"] /usr/local/pgsql/data
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_ENV["SSH_TTY"] /dev/pts/1
_ENV["_"] /usr/sbin/httpd

Reply via email to