test results and question

From: Date: Sat, 01 Nov 2003 04:27:13 +0000
Subject: test results and question
Groups: php.qa 
Request: Send a blank email to php-qa+get-15775@lists.php.net to get a copy of this message
so, i've been working on this issue for an embarrassingly long time. i can't get php to work nice with apache (particulars in attachment). my feeling is that libphp4.so is not providing the "Content-type: text/html" header entry and thus apache is presenting a "server error" error to my browser. i have not been able to do more to prove this theory though. i've tried just about every combination of configure options. i've tried a php.ini file known to work on another machine. the libphp4.so file is installed correctly along with the other modules and the apache configuration is apparently correct for php as well. i've studied the web for solutions, but have come up with nothing so far. do you have any pointers to help out? -- Mark Smith mark@winksmith.com mark at tux dot org nova-instructor at tux dot org F: 775-522-8479

===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 78 Exts tested : 9 --------------------------------------------------------------------- Number of tests : 517 Tests skipped : 237 (45.8%) Tests warned : 0 ( 0.0%) Tests failed : 0 ( 0.0%) Tests passed : 280 (54.2%) --------------------------------------------------------------------- Time taken : 130 seconds ===================================================================== ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux internal.winksmith.com 2.4.18 #3 Sun Aug 4 15:56:38 EDT 2002 i586 Automake: automake (GNU automake) 1.4-p5 Copyright (C) 1999, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) Bison: GNU Bison version 1.28 Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40021000) libz.so.1 => /usr/lib/libz.so.1 (0x4004e000) libresolv.so.2 => /lib/libresolv.so.2 (0x4005c000) libm.so.6 => /lib/libm.so.6 (0x4006e000) libdl.so.2 => /lib/libdl.so.2 (0x40090000) libnsl.so.1 => /lib/libnsl.so.1 (0x40094000) libc.so.6 => /lib/libc.so.6 (0x400ab000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.3 System => Linux internal.winksmith.com 2.4.18 #3 Sun Aug 4 15:56:38 EDT 2002 i586 Build Date => Oct 31 2003 22:48:07 Configure Command => './configure' '--disable-all' '--enable-versioning' '--enable-memory-limit' '--enable-cgi' '--with-pcre-regex=yes' '--enable-force-cgi-redirect' '--libexecdir=/usr/local/apache/modules' '--enable-cli' '--enable-xml' '--enable-ctype' '--enable-overload' '--enable-session' '--enable-tokenizer' '--with-regex=php' '--with-zlib=yes' '--enable-posix' '--with-apxs=/usr/local/bin/apxs' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off 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_classes => no value => no value disable_functions => no value => no value display_errors => Off => Off display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_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 => 2047 => 2047 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On 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_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => Off => Off include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 30 => 30 max_input_time => 60 => 60 memory_limit => 8M => 8M open_basedir => no value => no value output_buffering => 4096 => 4096 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => Off => Off register_globals => Off => Off report_memleaks => On => On 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 => me@localhost.com => me@localhost.com sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.3 21-May-2003 posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On 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_divisor => 1000 => 1000 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 session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off standard Regex Library => Bundled 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 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value PWD => /usr/local/src/php-4.3.3 MAKEFLAGS => WINDOWID => 23068686 SCRIPT_FILENAME => MFLAGS => HOSTNAME => internal.winksmith.com HISTFILESIZE => 1000 LESSOPEN => |/usr/bin/lesspipe.sh %s CC => gcc ENV => /home/mark/.kshrc KDEDIR => /usr LESS => -cs REQUEST_METHOD => 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=01;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;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;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: USER => mark _cd_STACK => /usr/local/src/php-4.3.3'/usr/local/src/php-4.3.3/Zend'/usr/local/src/php-4.3.3/main'/usr/local/apache/conf'/usr/local/apache'/usr/local/src/php-4.3.3'/home/mark/.rolo'/home/mark MACHTYPE => i386-redhat-linux-gnu TEST_PHP_SRCDIR => /usr/local/src/php-4.3.3 MAIL => /var/spool/mail/mark BASH_ENV => /home/mark/.bashrc PATH_TRANSLATED => LANG => en_US QUERY_STRING => CONTENT_LENGTH => HOST => internal MAKELEVEL => 1 DISPLAY => internal.winksmith.com:10.0 SHLVL => 3 LOGNAME => mark REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /usr/local/src/php-4.3.3/sapi/cli/php _ => /usr/local/src/php-4.3.3/sapi/cli/php SHELL => /bin/sh CDPATH => .:/home/mark:/home/mark/Mail HOSTTYPE => i386 HISTSIZE => 1000 OSTYPE => linux-gnu TERM => xterm HOME => /home/mark PATH => /home/mark/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/X11R6/bin:/sbin SSH_TTY => /dev/pts/1 CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /usr/local/src/php-4.3.3 _SERVER["MAKEFLAGS"] => _SERVER["WINDOWID"] => 23068686 _SERVER["SCRIPT_FILENAME"] => _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => internal.winksmith.com _SERVER["HISTFILESIZE"] => 1000 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CC"] => gcc _SERVER["ENV"] => /home/mark/.kshrc _SERVER["KDEDIR"] => /usr _SERVER["LESS"] => -cs _SERVER["REQUEST_METHOD"] => _SERVER["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=01;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;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;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: _SERVER["USER"] => mark _SERVER["_cd_STACK"] => /usr/local/src/php-4.3.3'/usr/local/src/php-4.3.3/Zend'/usr/local/src/php-4.3.3/main'/usr/local/apache/conf'/usr/local/apache'/usr/local/src/php-4.3.3'/home/mark/.rolo'/home/mark _SERVER["MACHTYPE"] => i386-redhat-linux-gnu _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-4.3.3 _SERVER["MAIL"] => /var/spool/mail/mark _SERVER["BASH_ENV"] => /home/mark/.bashrc _SERVER["PATH_TRANSLATED"] => _SERVER["LANG"] => en_US _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["HOST"] => internal _SERVER["MAKELEVEL"] => 1 _SERVER["DISPLAY"] => internal.winksmith.com:10.0 _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => mark _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-4.3.3/sapi/cli/php _SERVER["_"] => /usr/local/src/php-4.3.3/sapi/cli/php _SERVER["SHELL"] => /bin/sh _SERVER["CDPATH"] => .:/home/mark:/home/mark/Mail _SERVER["HOSTTYPE"] => i386 _SERVER["HISTSIZE"] => 1000 _SERVER["OSTYPE"] => linux-gnu _SERVER["TERM"] => xterm _SERVER["HOME"] => /home/mark _SERVER["PATH"] => /home/mark/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/X11R6/bin:/sbin _SERVER["SSH_TTY"] => /dev/pts/1 _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
« previous php.qa (#15775) next »