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()
System | Linux dev.localnet 2.4.4-36k #1 Sat Sep 15 21:49:19 JST 2001 i686 unknown |
Build Date | Oct 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 API | Apache |
Virtual Directory Support | disabled |
Configuration File (php.ini) Path | /usr/local/lib/php.ini |
ZEND_DEBUG | enabled |
Thread Safety | disabled |
This program makes use of the Zend Scripting Language Engine: Zend Engine v1.0.7, Copyright (c) 1998-2001 Zend Technologies
|
Configuration
PHP Core
Directive | Local Value | Master Value |
allow_call_time_pass_reference
| Off | Off |
allow_url_fopen
| 1 | 1 |
always_populate_raw_post_data
| 0 | 0 |
arg_separator.input
| & | & |
arg_separator.output
| & | & |
asp_tags
| On | On |
auto_append_file
| no value | no value |
auto_prepend_file
| no value | no value |
browscap
| no value | no value |
default_charset
| EUC-JP | EUC-JP |
default_mimetype
| text/html | text/html |
define_syslog_variables
| Off | Off |
disable_functions
| no value | no value |
display_errors
| On | On |
display_startup_errors
| On | On |
doc_root
| no value | no value |
enable_dl
| On | On |
error_append_string
| no value | no value |
error_log
| /var/log/php/php-error.log | /var/log/php/php-error.log |
error_prepend_string
| no value | no value |
error_reporting
| 2047 | 2047 |
expose_php
| Off | Off |
extension_dir
| /usr/local/lib/php/extensions | /usr/local/lib/php/extensions |
file_uploads
| 1 | 1 |
gpc_order
| GPC | GPC |
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
| On | On |
ignore_user_abort
| Off | Off |
implicit_flush
| Off | Off |
include_path
| .:/usr/local/lib/php | .:/usr/local/lib/php |
log_errors
| On | On |
magic_quotes_gpc
| Off | Off |
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
| 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 |
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
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
sendmail_path
| /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i |
short_open_tag
| Off | Off |
SMTP
| localhost | localhost |
sql.safe_mode
| Off | Off |
track_errors
| Off | Off |
upload_max_filesize
| 2M | 2M |
upload_tmp_dir
| /home/httpd/upload_tmp | /home/httpd/upload_tmp |
user_dir
| no value | no value |
variables_order
| GPCS | GPCS |
xmlrpc_error_number
| 0 | 0 |
xmlrpc_errors
| Off | Off |
y2k_compliance
| Off | Off |
XML Support | active |
XML Namespace Support | active |
EXPAT Version | 1.95.2 |
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
| no value | no value |
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 |
Directive | Local Value | Master Value |
session.auto_start
| Off | Off |
session.cache_expire
| 60 | 60 |
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
| /dev/urandom | /dev/urandom |
session.entropy_length
| 16 | 16 |
session.gc_maxlifetime
| 5200 | 5200 |
session.gc_probability
| 1 | 1 |
session.name
| session | session |
session.referer_check
| 1 | 1 |
session.save_handler
| user | user |
session.save_path
| /tmp | /tmp |
session.serialize_handler
| php | php |
session.use_cookies
| On | On |
Revision | $Revision: 1.33 $ |
PostgreSQL Support | enabled |
Active Persistent Links | 0 |
Active Links | 0 |
Directive | Local Value | Master Value |
pgsql.allow_persistent
| On | On |
pgsql.max_links
| Unlimited | Unlimited |
pgsql.max_persistent
| Unlimited | Unlimited |
PCRE (Perl Compatible Regular Expressions) Support | enabled |
PCRE Library Version | 3.4 22-Aug-2000 |
OpenSSL support | enabled |
OpenSSL Version | OpenSSL 0.9.6b 9 Jul 2001 |
mcrypt support | enabled |
version | 2.4.x |
Supported ciphers | cast-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 modes | stream cbc cfb ecb ofb nofb |
Directive | Local Value | Master Value |
mcrypt.algorithms_dir
| no value | no value |
mcrypt.modes_dir
| no value | no value |
Multibyte (Japanese) Support | enabled |
http input encoding translation | enabled |
Directive | Local Value | Master Value |
mbstring.detect_order
| auto | auto |
mbstring.http_input
| auto | auto |
mbstring.http_output
| EUC-JP | EUC-JP |
mbstring.internal_encoding
| EUC-JP | EUC-JP |
mbstring.substitute_character
| long | long |
Directive | Local Value | Master Value |
iconv.input_encoding
| no value | no value |
iconv.internal_encoding
| no value | no value |
iconv.output_encoding
| no value | no value |
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 |
CURL support | enabled |
CURL Information | libcurl 7.9 (OpenSSL 0.9.6b) |
BZip2 Support | Enabled |
BZip2 Version | 1.0.1, 23-June-2000 |
ZLib Support | enabled |
'zlib:' fopen wrapper | enabled |
Compiled Version | 1.1.3 |
Linked Version | 1.1.3 |
APACHE_INCLUDE | |
APACHE_TARGET | |
Apache Version | Apache/1.3.20 |
Apache Release | 10320100 |
Apache API Version | 19990320 |
Hostname:Port | dev.localnet:80 |
User/Group | nobody(99)/99 |
Max Requests | Per Child: 0<br>Keep Alive: on<br>Max Per Connection: 100 |
Timeouts | Connection: 300<br>Keep-Alive: 15 |
Server Root | /usr |
Loaded Modules | mod_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 |
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 | /home/httpd/html |
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 |
HTTP_ACCEPT_CHARSET | EUC-JP, utf-8;q=0.66, *;q=0.66 |
HTTP_ACCEPT_ENCODING | gzip, deflate, compress;q=0.9 |
HTTP_ACCEPT_LANGUAGE | ja, en-us;q=0.50 |
HTTP_CONNECTION | keep-alive |
HTTP_HOST | 192.168.100.10 |
HTTP_KEEP_ALIVE | 300 |
HTTP_REFERER | http://192.168.100.10/~yohgaki/ |
HTTP_USER_AGENT | Mozilla/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_ADDR | 192.168.100.10 |
REMOTE_PORT | 34522 |
SCRIPT_FILENAME | /home/yohgaki/public_html/phpinfo.php |
SERVER_ADDR | 192.168.100.10 |
SERVER_ADMIN | [EMAIL PROTECTED] |
SERVER_NAME | dev.localnet |
SERVER_PORT | 80 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /~yohgaki/phpinfo.php |
SCRIPT_NAME | /~yohgaki/phpinfo.php |
HTTP Headers Information
HTTP Request Headers |
HTTP Request | GET /~yohgaki/phpinfo.php HTTP/1.1 |
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 |
Accept-Charset | EUC-JP, utf-8;q=0.66, *;q=0.66 |
Accept-Encoding | gzip, deflate, compress;q=0.9 |
Accept-Language | ja, en-us;q=0.50 |
Connection | keep-alive |
Host | 192.168.100.10 |
Keep-Alive | 300 |
Referer | http://192.168.100.10/~yohgaki/ |
User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 |
HTTP Response Headers |
Keep-Alive | timeout=15, max=96 |
Connection | Keep-Alive |
Transfer-Encoding | chunked |
Content-Type | text/html; charset=EUC-JP |
Additional Modules
Environment
Variable | Value |
PWD | /home/yohgaki/cvs/php/dist/php-4.0.7RC3 |
PGTZ | Japan |
HOSTNAME | dev.localnet |
MANPATH | /usr/local/pgsql/man: |
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=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: |
MACHTYPE | i586-redhat-linux-gnu |
MAIL | /var/spool/mail/root |
INPUTRC | /etc/inputrc |
BASH_ENV | /root/.bashrc |
LANG | ja_JP.eucJP |
DISPLAY | :0.0 |
LOGNAME | root |
SHLVL | 4 |
SHELL | /bin/bash |
PGLIB | /usr/local/pgsql/lib |
USERNAME | root |
HOSTTYPE | i586 |
OSTYPE | linux-gnu |
HISTSIZE | 1000 |
TERM | xterm |
HOME | /root |
PGDATA | /var/pgsql/data |
PATH | /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin |
PGCLIENTENCODING | EUC_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
Variable | Value |
_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]