My IHP, Netset, currently went into what I think is Chapter 7.
I was stuck without a host for my messageboard..
Someone steps in and offers me a host.. cool.. I have a SQL dump..

I install phpBB, I import the data, I go to log in...
I get a zero sized response from apache!
Check the error logs.. nothing..
Check the hit logs.. nothing..

Now the person who runs this host tells me that he runs several other
sites with phpBB and has no problems, which would make me think it's the
data in my SQL dump. The problem with this idea is I can run the same
dump on local test systems and it works just fine.

Regardless, if there were some error, then I assume PHP/Apache should
log something in the standard error log, and the hit should still
register in access logs..

Would seem to me, if hit is not being logged, that apache php module is
crashing?

Does this sound familiar to anyone?
Is it a known bug?
Do I need to get host to update some stuff?

httpd -V output:

Server version: Apache/1.3.31 (Unix)
Server built:   Jul  8 2004 11:56:38
Server's Module Magic Number: 19990320:16
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D DYNAMIC_MODULE_LIMIT=64
 -D HARD_SERVER_LIMIT=2048
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -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"

phpInfo() output (less a few identifying items):

PHP Version 4.3.7
Configure Command        './configure' '--with-apxs=/usr/local/apache/bin/apxs' 
'--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd' 
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' 
'--enable-magic-quotes' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' 
'--enable-sockets' '--enable-track-vars' '--enable-versioning' '--with-zlib'
Server API      Apache
Virtual Directory Support       disabled
Configuration File (php.ini) Path       /usr/local/Zend/etc/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
Directive       Local Value     Master Value
allow_call_time_pass_reference  On      On
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  On      On
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       error_log       error_log
error_prepend_string    no value        no value
error_reporting 2039    2039
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/lib/php:/usr/local/lib/php       
.:/usr/lib/php:/usr/local/lib/php
log_errors      On      On
log_errors_max_len      1024    1024
magic_quotes_gpc        On      On
magic_quotes_runtime    Off     Off
magic_quotes_sybase     Off     Off
max_execution_time      30      30
max_input_time  -1      -1
open_basedir    no value        no value
output_buffering        no value        no value
output_handler  no value        no value
post_max_size   55M     55M
precision       14      14
register_argc_argv      On      On
register_globals        On      On
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   no value        no value
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 EGPCS   EGPCS
xmlrpc_error_number     0       0
xmlrpc_errors   Off     Off
y2k_compliance  Off     Off

Zend Optimizer
Optimization Pass 1     enabled
Optimization Pass 2     enabled
Optimization Pass 3     enabled
Optimization Pass 4     enabled
Optimization Pass 5     disabled
Optimization Pass 9     disabled
Optimization Pass 10    disabled
Zend Loader     enabled
License Path    no value

apache
APACHE_INCLUDE  no value
APACHE_TARGET   no value
Apache Version  Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 
mod_bwlimited/1.4 PHP/4.3.7 FrontPage/5.0.2.2634a mod_ssl/2.8.18 OpenSSL/0.9.7a
Apache Release  10331100
Apache API Version      19990320 
User/Group      nobody(99)/99
Max Requests    Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts        Connection: 300 - Keep-Alive: 15
Server Root     /usr/local/apache
Loaded Modules  mod_auth_passthrough, mod_log_bytes, mod_bwlimited, mod_php4, 
mod_frontpage, mod_ssl, mod_setenvif, mod_so, 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_status, mod_negotiation, mod_mime, mod_log_config, 
mod_env, 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
HTTP_ACCEPT     
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET     ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING    gzip, deflate, compress;q=0.9
HTTP_ACCEPT_LANGUAGE    en-GB,en;q=0.7,fr;q=0.3
HTTP_CONNECTION         keep-alive
HTTP_KEEP_ALIVE         300
HTTP_USER_AGENT         Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) 
Gecko/20040715 Galeon/1.3.16 (Debian package 1.3.16-1)
PATH    /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
REMOTE_PORT     34308
SERVER_PORT     80
SERVER_SOFTWARE         Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 
mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.7 FrontPage/5.0.2.2634a mod_ssl/2.8.18 
OpenSSL/0.9.7a
GATEWAY_INTERFACE       CGI/1.1
SERVER_PROTOCOL         HTTP/1.1
REQUEST_METHOD  GET
QUERY_STRING    no value
REQUEST_URI     /test.php
SCRIPT_NAME     /test.php

HTTP Headers Information
HTTP Request Headers
HTTP Request    GET /test.php HTTP/1.1
Accept  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding         gzip, deflate, compress;q=0.9
Accept-Language         en-GB,en;q=0.7,fr;q=0.3
Connection      keep-alive
Keep-Alive      300
User-Agent      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040715 
Galeon/1.3.16 (Debian package 1.3.16-1)
HTTP Response Headers
X-Powered-By    PHP/4.3.7
Keep-Alive      timeout=15, max=100
Connection      Keep-Alive
Transfer-Encoding       chunked
Content-Type    text/html

bcmath
BCMath support  enabled

calendar
Calendar support        enabled

ctype
ctype functions         enabled

ftp
FTP support     enabled

gd
GD Support      enabled
GD Version      bundled (2.0.23 compatible)
GIF Read Support        enabled
JPG Support     enabled
PNG Support     enabled
WBMP Support    enabled
XBM Support     enabled

mysql
MySQL Support   enabled
Active Persistent Links         0
Active Links    0
Client API version      4.0.20
MYSQL_MODULE_TYPE       external
MYSQL_SOCKET    /var/lib/mysql/mysql.sock
MYSQL_INCLUDE   -I/usr/include/mysql
MYSQL_LIBS      -L/usr/lib -lmysqlclient

Directive       Local Value     Master Value
mysql.allow_persistent  On      On
mysql.connect_timeout   60      60
mysql.default_host      no value        no value
mysql.default_password  no value        no value
mysql.default_port      no value        no value
mysql.default_socket    no value        no value
mysql.default_user      no value        no value
mysql.max_links Unlimited       Unlimited
mysql.max_persistent    Unlimited       Unlimited
mysql.trace_mode        Off     Off

overload
User-Space Object Overloading Support   enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support      enabled
PCRE Library Version    4.5 01-December-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   On      On
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      100     100
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   On      On

sockets
Sockets Support         enabled

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,form=,fieldset=      
a=href,area=href,frame=src,form=,fieldset=
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.4
Linked Version  1.1.4

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     /
SHLVL   2
_       /usr/local/apache/bin/httpd

PHP Variables
Variable        Value
PHP_SELF        /test.php
_SERVER["HTTP_ACCEPT"]  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_CHARSET"]  ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate, compress;q=0.9
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-GB,en;q=0.7,fr;q=0.3
_SERVER["HTTP_CONNECTION"]      keep-alive
_SERVER["HTTP_KEEP_ALIVE"]      300
_SERVER["HTTP_USER_AGENT"]      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) 
Gecko/20040715 Galeon/1.3.16 (Debian package 1.3.16-1)
_SERVER["PATH"] /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
_SERVER["REMOTE_PORT"]  34308
_SERVER["GATEWAY_INTERFACE"]    CGI/1.1
_SERVER["SERVER_PROTOCOL"]      HTTP/1.1
_SERVER["REQUEST_METHOD"]       GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"]  /test.php
_SERVER["SCRIPT_NAME"]  /test.php
_SERVER["argv"] 

Array
(
)

_SERVER["argc"] 0
_ENV["PWD"]     /
_ENV["SHLVL"]   2
_ENV["_"]       /usr/local/apache/bin/httpd

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

Reply via email to