Zeev Suraski wrote:
> Try going to the images' URLs (take them from the <img> tags) and see 
> what happens.  It's best if you go there using pure HTTP (telnet to port 
> 80), or wget.  It may shed some light on what's going wrong...
> 

I checked phpinfo() output from Apache 1.3.20/PHP 4.0.7RC3. I don't see 
IMG tags in there.

phpinfo html generated by "php -i" has images tags. I just get rid of 
"--with-apxs" from configure line to build CGI version.

I attached the output from Apache.

--
Yasuo Ohgaki


Title: phpinfo()

PHP Version 4.0.7RC3


SystemLinux dev.localnet 2.4.4-36k #1 Sat Sep 15 21:49:19 JST 2001 i686 unknown
Build DateOct  6 2001
Configure Command './configure' '--with-apxs' '--disable-short-tags' '--without-mysql' '--with-bz2' '--with-curl' '--with-ftp' '--with-iconv' '--with-mhash' '--with-mcrypt' '--with-openssl' '--with-pgsql' '--with-regex=system' '--with-zlib' '--with-gd=/usr' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-bcmath' '--enable-ftp' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sockets' '--enable-memory-limit' '--enable-wddx' '--enable-inline-optimization' '--enable-debug'
Server APIApache
Virtual Directory Supportdisabled
Configuration File (php.ini) Path/usr/local/lib/php.ini
ZEND_DEBUGenabled
Thread Safetydisabled

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


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_reference
OffOff
allow_url_fopen
11
always_populate_raw_post_data
00
arg_separator.input
&&
arg_separator.output
&&
asp_tags
OnOn
auto_append_file
no valueno value
auto_prepend_file
no valueno value
browscap
no valueno value
default_charset
EUC-JPEUC-JP
default_mimetype
text/htmltext/html
define_syslog_variables
OffOff
disable_functions
no valueno value
display_errors
OnOn
display_startup_errors
OnOn
doc_root
no valueno value
enable_dl
OnOn
error_append_string
no valueno value
error_log
/var/log/php/php-error.log/var/log/php/php-error.log
error_prepend_string
no valueno value
error_reporting
20472047
expose_php
OffOff
extension_dir
/usr/local/lib/php/extensions/usr/local/lib/php/extensions
file_uploads
11
gpc_order
GPCGPC
highlight.bg
#FFFFFF#FFFFFF
highlight.comment
#FF9900#FF9900
highlight.default
#0000CC#0000CC
highlight.html
#000000#000000
highlight.keyword
#006600#006600
highlight.string
#CC0000#CC0000
html_errors
OnOn
ignore_user_abort
OffOff
implicit_flush
OffOff
include_path
.:/usr/local/lib/php.:/usr/local/lib/php
log_errors
OnOn
magic_quotes_gpc
OffOff
magic_quotes_runtime
OffOff
magic_quotes_sybase
OffOff
max_execution_time
3030
memory_limit
8M8M
open_basedir
no valueno value
output_buffering
40964096
output_handler
no valueno value
post_max_size
8M8M
precision
1414
register_argc_argv
OffOff
register_globals
OffOff
safe_mode
OffOff
safe_mode_exec_dir
no valueno value
safe_mode_gid
OffOff
safe_mode_include_dir
no valueno value
sendmail_from
[EMAIL PROTECTED][EMAIL PROTECTED]
sendmail_path
/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i 
short_open_tag
OffOff
SMTP
localhostlocalhost
sql.safe_mode
OffOff
track_errors
OffOff
upload_max_filesize
2M2M
upload_tmp_dir
/home/httpd/upload_tmp/home/httpd/upload_tmp
user_dir
no valueno value
variables_order
GPCSGPCS
xmlrpc_error_number
00
xmlrpc_errors
OffOff
y2k_compliance
OffOff

xml

XML Supportactive
XML Namespace Supportactive
EXPAT Version1.95.2

wddx

WDDX Supportenabled

standard

Regex LibrarySystem library enabled
Dynamic Library Supportenabled
Path to sendmail/usr/sbin/sendmail -t -i 

DirectiveLocal ValueMaster Value
assert.active
11
assert.bail
no valueno value
assert.callback
no valueno value
assert.quiet_eval
00
assert.warning
11
safe_mode_allowed_env_vars
PHP_PHP_
safe_mode_protected_env_vars
LD_LIBRARY_PATHLD_LIBRARY_PATH
session.use_trans_sid
00

sockets

Sockets Supportenabled

shmop

shmop supportenabled

session

Session Supportenabled

DirectiveLocal ValueMaster Value
session.auto_start
OffOff
session.cache_expire
6060
session.cache_limiter
nocachenocache
session.cookie_domain
no valueno value
session.cookie_lifetime
00
session.cookie_path
//
session.cookie_secure
OffOff
session.entropy_file
/dev/urandom/dev/urandom
session.entropy_length
1616
session.gc_maxlifetime
52005200
session.gc_probability
11
session.name
sessionsession
session.referer_check
11
session.save_handler
useruser
session.save_path
/tmp/tmp
session.serialize_handler
phpphp
session.use_cookies
OnOn

posix

Revision$Revision: 1.33 $

pgsql

PostgreSQL Supportenabled
Active Persistent Links0
Active Links0

DirectiveLocal ValueMaster Value
pgsql.allow_persistent
OnOn
pgsql.max_links
UnlimitedUnlimited
pgsql.max_persistent
UnlimitedUnlimited

pcre

PCRE (Perl Compatible Regular Expressions) Supportenabled
PCRE Library Version3.4 22-Aug-2000

openssl

OpenSSL supportenabled
OpenSSL VersionOpenSSL 0.9.6b 9 Jul 2001

mcrypt

mcrypt supportenabled
version2.4.x
Supported cipherscast-128 cast-256 enigma xtea arcfour panama safer-sk64 saferplus des tripledes blowfish gost rc2 safer-sk128 threeway serpent wake loki97 rijndael-128 rijndael-192 rijndael-256 twofish blowfish-compat 
Supported modesstream cbc cfb ecb ofb nofb 

DirectiveLocal ValueMaster Value
mcrypt.algorithms_dir
no valueno value
mcrypt.modes_dir
no valueno value

mbstring

Multibyte (Japanese) Supportenabled
http input encoding translationenabled

DirectiveLocal ValueMaster Value
mbstring.detect_order
autoauto
mbstring.http_input
autoauto
mbstring.http_output
EUC-JPEUC-JP
mbstring.internal_encoding
EUC-JPEUC-JP
mbstring.substitute_character
longlong

iconv

iconv supportenabled

DirectiveLocal ValueMaster Value
iconv.input_encoding
no valueno value
iconv.internal_encoding
no valueno value
iconv.output_encoding
no valueno value

gd

GD Supportenabled
GD Version1.6.2 or higher
FreeType Supportenabled
FreeType Linkagewith freetype
JPG Supportenabled
PNG Supportenabled
WBMP Supportenabled

ftp

FTP supportenabled

curl

CURL supportenabled
CURL Informationlibcurl 7.9 (OpenSSL 0.9.6b)

bz2

BZip2 SupportEnabled
BZip2 Version1.0.1, 23-June-2000

bcmath

BCMath supportenabled

zlib

ZLib Supportenabled
'zlib:' fopen wrapperenabled
Compiled Version1.1.3
Linked Version1.1.3

apache

APACHE_INCLUDE 
APACHE_TARGET 
Apache VersionApache/1.3.20
Apache Release10320100
Apache API Version19990320
Hostname:Portdev.localnet:80
User/Groupnobody(99)/99
Max RequestsPer Child: 0<br>Keep Alive: on<br>Max Per Connection: 100
TimeoutsConnection: 300<br>Keep-Alive: 15
Server Root/usr
Loaded Modulesmod_ssl, mod_php4, mod_setenvif, mod_so, mod_headers, mod_expires, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_cgi, mod_dir, mod_autoindex, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_define, mod_env, mod_vhost_alias, http_core

DirectiveLocal ValueMaster Value
child_terminate
00
engine
11
last_modified
00
xbithack
00

Apache Environment

VariableValue
DOCUMENT_ROOT/home/httpd/html
HTTP_ACCEPTtext/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2, text/plain;q=0.8, text/css, */*;q=0.1
HTTP_ACCEPT_CHARSETEUC-JP, utf-8;q=0.66, *;q=0.66
HTTP_ACCEPT_ENCODINGgzip, deflate, compress;q=0.9
HTTP_ACCEPT_LANGUAGEja, en-us;q=0.50
HTTP_CONNECTIONkeep-alive
HTTP_HOST192.168.100.10
HTTP_KEEP_ALIVE300
HTTP_REFERERhttp://192.168.100.10/~yohgaki/
HTTP_USER_AGENTMozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REMOTE_ADDR192.168.100.10
REMOTE_PORT34522
SCRIPT_FILENAME/home/yohgaki/public_html/phpinfo.php
SERVER_ADDR192.168.100.10
SERVER_ADMIN[EMAIL PROTECTED]
SERVER_NAMEdev.localnet
SERVER_PORT80
SERVER_SIGNATURE 
SERVER_SOFTWAREApache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.1
REQUEST_METHODGET
QUERY_STRING 
REQUEST_URI/~yohgaki/phpinfo.php
SCRIPT_NAME/~yohgaki/phpinfo.php

HTTP Headers Information

HTTP Request Headers
HTTP RequestGET /~yohgaki/phpinfo.php HTTP/1.1
Accepttext/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2, text/plain;q=0.8, text/css, */*;q=0.1
Accept-CharsetEUC-JP, utf-8;q=0.66, *;q=0.66
Accept-Encodinggzip, deflate, compress;q=0.9
Accept-Languageja, en-us;q=0.50
Connectionkeep-alive
Host192.168.100.10
Keep-Alive300
Refererhttp://192.168.100.10/~yohgaki/
User-AgentMozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
HTTP Response Headers
Keep-Alivetimeout=15, max=96
ConnectionKeep-Alive
Transfer-Encodingchunked
Content-Typetext/html; charset=EUC-JP

Additional Modules

sysvshm
sysvsem
mhash

Environment

VariableValue
PWD/home/yohgaki/cvs/php/dist/php-4.0.7RC3
PGTZJapan
HOSTNAMEdev.localnet
MANPATH/usr/local/pgsql/man:
USERroot
LS_COLORSno=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:
MACHTYPEi586-redhat-linux-gnu
MAIL/var/spool/mail/root
INPUTRC/etc/inputrc
BASH_ENV/root/.bashrc
LANGja_JP.eucJP
DISPLAY:0.0
LOGNAMEroot
SHLVL4
SHELL/bin/bash
PGLIB/usr/local/pgsql/lib
USERNAMEroot
HOSTTYPEi586
OSTYPElinux-gnu
HISTSIZE1000
TERMxterm
HOME/root
PGDATA/var/pgsql/data
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
PGCLIENTENCODINGEUC_JP
mc() {  mkdir -p $HOME/.mc/tmp 2>/dev/null;
chmod 700 $HOME/.mc/tmp;
MC=$HOME/.mc/tmp/mc-$$;
/usr/bin/mc -P "$@" >"$MC";
cd "`cat $MC`";
rm -f "$MC";
unset MC
}
_/usr/sbin/httpd

PHP Variables

VariableValue
_SERVER["DOCUMENT_ROOT"]/home/httpd/html 
_SERVER["HTTP_ACCEPT"]text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2, text/plain;q=0.8, text/css, */*;q=0.1 
_SERVER["HTTP_ACCEPT_CHARSET"]EUC-JP, utf-8;q=0.66, *;q=0.66 
_SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate, compress;q=0.9 
_SERVER["HTTP_ACCEPT_LANGUAGE"]ja, en-us;q=0.50 
_SERVER["HTTP_CONNECTION"]keep-alive 
_SERVER["HTTP_HOST"]192.168.100.10 
_SERVER["HTTP_KEEP_ALIVE"]300 
_SERVER["HTTP_REFERER"]http://192.168.100.10/~yohgaki/ 
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 
_SERVER["PATH"]/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 
_SERVER["REMOTE_ADDR"]192.168.100.10 
_SERVER["REMOTE_PORT"]34522 
_SERVER["SCRIPT_FILENAME"]/home/yohgaki/public_html/phpinfo.php 
_SERVER["SERVER_ADDR"]192.168.100.10 
_SERVER["SERVER_ADMIN"][EMAIL PROTECTED] 
_SERVER["SERVER_NAME"]dev.localnet 
_SERVER["SERVER_PORT"]80 
_SERVER["SERVER_SIGNATURE"] 
_SERVER["SERVER_SOFTWARE"]Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b 
_SERVER["GATEWAY_INTERFACE"]CGI/1.1 
_SERVER["SERVER_PROTOCOL"]HTTP/1.1 
_SERVER["REQUEST_METHOD"]GET 
_SERVER["QUERY_STRING"] 
_SERVER["REQUEST_URI"]/~yohgaki/phpinfo.php 
_SERVER["SCRIPT_NAME"]/~yohgaki/phpinfo.php 
_SERVER["PATH_TRANSLATED"]/home/yohgaki/public_html/phpinfo.php 
_SERVER["PHP_SELF"]/~yohgaki/phpinfo.php 

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 [EMAIL PROTECTED]


-- 
PHP Development 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]

Reply via email to