Hi all,
I've been banging my head against the wall because I can't upload profile images. File uploads are working fine, I ran the core tests everything comes back clean. I've tweaked permissions and still can't get this to work. I'm thinking it's possible that there is some config issue with my php settings:
Will someone please give this a look over an let me know if something jumps out at you? I've deleted some of the server names etc.
Thanks ahead for any advice you might have on this problem.
--dano
PHP Version 5.3.2
System Linux reason-prod 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 5 09:15:48 EST 2008 x86_64
Build Date May 13 2010 14:23:17
Configure Command './configure' '--prefix=/usr/local/php-5.3.2' '--with-gd' '--with-apxs2=/usr/local/httpd-2.2.15/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-pgsql=/usr/local/pgsql'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php-5.3.2/lib
Loaded Configuration File /usr/local/php-5.3.2/lib/php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,NTS
PHP Extension Build API20090626,NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
PHP Credits
Configuration
apache2handler
Apache Version Apache/2.2.15 (Unix) PHP/5.3.2
Apache API Version 20051115
Server Administrator
Hostname:Port
User/Group apache(48)/48
Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server Yes
Server Root /usr/local/httpd-2.2.15
Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_env mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_so mod_php5 mod_rewrite mod_speling
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
SCRIPT_URL /elgg/delete_me.php
SCRIPT_URI
HTTP_HOST
HTTP_CONNECTION keep-alive
HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3
HTTP_ACCEPT_ENCODING gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_COOKIE bn_u=6923205070568258563; __utmz=141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=259910805.418963726.1285003272.1285003272.1285081429.2; __utmc=259910805; __utmz=259910805.1285081429.2.3.utmccn=(organic)|utmcsr=google|utmctr=http://www.nasa.gov/|utmcmd=organic; ForeseeLoyalty_MID_E7F+G5PzBw=3; phpbb3_4jltp_u=2; phpbb3_4jltp_k=; phpbb3_4jltp_sid=556edd0689032cc45aa91865ea6b81a3; Elgg=da6866e3bc0bb582320ef08e9e3b2bc4; __utma=141349294.1931515651.1285074057.1285078135.1285167655.3; __utmc=141349294
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/2.2.15 (Unix) PHP/5.3.2
SERVER_NAME
SERVER_ADDR
SERVER_PORT 80
REMOTE_ADDR
DOCUMENT_ROOT
SERVER_ADMIN
SCRIPT_FILENAME
REMOTE_PORT 2439
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /elgg/delete_me.php
SCRIPT_NAME /elgg/delete_me.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /elgg/delete_me.php HTTP/1.1
Host
Connection keep-alive
Accept application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3
Accept-Encoding gzip,deflate,sdch
Accept-Language en-US,en;q=0.8
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie bn_u=6923205070568258563; __utmz=141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=259910805.418963726.1285003272.1285003272.1285081429.2; __utmc=259910805; __utmz=259910805.1285081429.2.3.utmccn=(organic)|utmcsr=google|utmctr=http://www.nasa.gov/|utmcmd=organic; ForeseeLoyalty_MID_E7F+G5PzBw=3; phpbb3_4jltp_u=2; phpbb3_4jltp_k=; phpbb3_4jltp_sid=556edd0689032cc45aa91865ea6b81a3; Elgg=da6866e3bc0bb582320ef08e9e3b2bc4; __utma=141349294.1931515651.1285074057.1285078135.1285167655.3; __utmc=141349294
HTTP Response Headers
X-Powered-By PHP/5.3.2
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
Core
PHP Version 5.3.2
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
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_globals_jit On On
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 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 /usr/local/inhouse/xcx/log/php_errors.log /usr/local/inhouse/xcx/log/php_errors.log
error_prepend_string no value no value
error_reporting 30711 30711
exit_on_timeout Off Off
expose_php On On
extension_dir /usr/local/httpd/modules /usr/local/httpd/modules
file_uploads On On
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/inhouse/include .:/usr/local/inhouse/include
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
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 16M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8388608 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
request_order no value no value
safe_mode Off Off
safe_mode_exec_dir /usr/local/inhouse/bin /usr/local/inhouse/bin
safe_mode_gid Off Off
safe_mode_include_dir /usr/local/inhouse/include /usr/local/inhouse/include
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 5242880 2M
upload_tmp_dir /usr/local/inhouse/tmp /usr/local/inhouse/tmp
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.enable_gc On On
ctype
ctype functions enabled
date
date/time support enabled
"Olson" Timezone Database Version 2010.3
Timezone Database internal
Default timezone America/New_York
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone America/New_York America/New_York
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.26
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
ereg
Regex Library Bundled library enabled
fileinfo
fileinfo support enabled
version 1.0.5-dev
filter
Input Validation and Filtering enabled
Revision $Revision: 294106 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
libPNG Version 1.2.10
WBMP Support enabled
XBM Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0
hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.5
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
json
json support enabled
json version 1.2.1
libxml
libXML support active
libXML Compiled Version 2.6.26
libXML Loaded Version 20626
libXML streams enabled
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_local_infile On On
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 /tmp/mysql.sock /tmp/mysql.sock
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.00 2009-10-19
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers sqlite, sqlite2
pdo_sqlite
PDO Driver for SQLite 3.x enabled
SQLite Library 3.6.22
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 8.4.1
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
Phar
Phar: PHP Archive support enabled
Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Revision: 290435 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression disabled (install ext/zlib)
bzip2 compression disabled (install pecl/bz2)
OpenSSL support disabled (install ext/openssl)
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive Local Value Master Value
phar.cache_list no value no value
phar.readonly On On
phar.require_hash On On
posix
Revision $Revision: 293036 $
Reflection
Reflection enabled
Version $Revision: 293036 $
session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
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_httponly Off Off
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.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0
SimpleXML
Simplexml support enabled
Revision $Revision: 293036 $
Schema support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 2.8.17
SQLite Encoding iso8859
Directive Local Value Master Value
sqlite.assoc_case 0 0
sqlite3
SQLite3 support enabled
SQLite3 module version 0.7-dev
SQLite Library 3.6.22
Directive Local Value Master Value
sqlite3.extension_dir no value no value
standard
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=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.26
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
Additional Modules
Module Name
Environment
Variable Value
CONSOLE /dev/console
SELINUX_INIT YES
TERM linux
LD_LIBRARY_PATH /usr/local/httpd-2.2.15/lib:
INIT_VERSION sysvinit-2.86
CONF_FILE /usr/local/apache/conf/httpd.conf
PATH /sbin:/usr/sbin:/bin:/usr/bin
runlevel 3
RUNLEVEL 3
PWD /
LANG en_US.UTF-8
previous N
PREVLEVEL N
PIDFILE /usr/local/apache/logs/httpd.pid
SHLVL 3
HOME /
APACHE_HOME /usr/local/apache
_ /usr/local/httpd-2.2.15/bin/httpd
PHP Variables
Variable Value
_REQUEST["bn_u"] 6923205070568258563
_REQUEST["__utmz"] 141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
_REQUEST["__utma"] 259910805.418963726.1285003272.1285003272.1285081429.2
_REQUEST["__utmc"] 259910805
_REQUEST["ForeseeLoyalty_MID_E7F_G5PzBw"] 3
_REQUEST["phpbb3_4jltp_u"] 2
_REQUEST["phpbb3_4jltp_k"] no value
_REQUEST["phpbb3_4jltp_sid"] 556edd0689032cc45aa91865ea6b81a3
_REQUEST["Elgg"] da6866e3bc0bb582320ef08e9e3b2bc4
_COOKIE["bn_u"] 6923205070568258563
_COOKIE["__utmz"] 141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
_COOKIE["__utma"] 259910805.418963726.1285003272.1285003272.1285081429.2
_COOKIE["__utmc"] 259910805
_COOKIE["ForeseeLoyalty_MID_E7F_G5PzBw"] 3
_COOKIE["phpbb3_4jltp_u"] 2
_COOKIE["phpbb3_4jltp_k"] no value
_COOKIE["phpbb3_4jltp_sid"] 556edd0689032cc45aa91865ea6b81a3
_COOKIE["Elgg"] da6866e3bc0bb582320ef08e9e3b2bc4
_SERVER["SCRIPT_URL"] /elgg/delete_me.php
_SERVER["SCRIPT_URI"]
_SERVER["HTTP_HOST"]
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_ACCEPT"] application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate,sdch
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-US,en;q=0.8
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.3
_SERVER["HTTP_COOKIE"] bn_u=6923205070568258563; __utmz=141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=259910805.418963726.1285003272.1285003272.1285081429.2; __utmc=259910805; __utmz=259910805.1285081429.2.3.utmccn=(organic)|utmcsr=google|utmctr=http://www.nasa.gov/|utmcmd=organic; ForeseeLoyalty_MID_E7F+G5PzBw=3; phpbb3_4jltp_u=2; phpbb3_4jltp_k=; phpbb3_4jltp_sid=556edd0689032cc45aa91865ea6b81a3; Elgg=da6866e3bc0bb582320ef08e9e3b2bc4; __utma=141349294.1931515651.1285074057.1285078135.1285167655.3; __utmc=141349294
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.15 (Unix) PHP/5.3.2
_SERVER["SERVER_NAME"]
_SERVER["SERVER_ADDR"]
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"]
_SERVER["DOCUMENT_ROOT"]
_SERVER["SERVER_ADMIN"]
_SERVER["SCRIPT_FILENAME"]
_SERVER["REMOTE_PORT"] 2439
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /elgg/delete_me.php
_SERVER["SCRIPT_NAME"] /elgg/delete_me.php
_SERVER["PHP_SELF"] /elgg/delete_me.php
_SERVER["REQUEST_TIME"] 1285182963
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["CONSOLE"] /dev/console
_ENV["SELINUX_INIT"] YES
_ENV["TERM"] linux
_ENV["LD_LIBRARY_PATH"] /usr/local/httpd-2.2.15/lib:
_ENV["INIT_VERSION"] sysvinit-2.86
_ENV["CONF_FILE"] /usr/local/apache/conf/httpd.conf
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_ENV["runlevel"] 3
_ENV["RUNLEVEL"] 3
_ENV["PWD"] /
_ENV["LANG"] en_US.UTF-8
_ENV["previous"] N
_ENV["PREVLEVEL"] N
_ENV["PIDFILE"] /usr/local/apache/logs/httpd.pid
_ENV["SHLVL"] 3
_ENV["HOME"] /
_ENV["APACHE_HOME"] /usr/local/apache
_ENV["_"] /usr/local/httpd-2.2.15/bin/httpd
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.
apache2handler
Apache Version Apache/2.2.15 (Unix) PHP/5.3.2
Apache API Version 20051115
Server Administrator
Hostname:Port
User/Group apache(48)/48
Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server Yes
Server Root /usr/local/httpd-2.2.15
Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_env mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_so mod_php5 mod_rewrite mod_speling
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
SCRIPT_URL /elgg/delete_me.php
SCRIPT_URI
HTTP_HOST
HTTP_CONNECTION keep-alive
HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3
HTTP_ACCEPT_ENCODING gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_COOKIE bn_u=6923205070568258563; __utmz=141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=259910805.418963726.1285003272.1285003272.1285081429.2; __utmc=259910805; __utmz=259910805.1285081429.2.3.utmccn=(organic)|utmcsr=google|utmctr=http://www.nasa.gov/|utmcmd=organic; ForeseeLoyalty_MID_E7F+G5PzBw=3; phpbb3_4jltp_u=2; phpbb3_4jltp_k=; phpbb3_4jltp_sid=556edd0689032cc45aa91865ea6b81a3; Elgg=da6866e3bc0bb582320ef08e9e3b2bc4; __utma=141349294.1931515651.1285074057.1285078135.1285167655.3; __utmc=141349294
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/2.2.15 (Unix) PHP/5.3.2
SERVER_NAME
SERVER_ADDR
SERVER_PORT 80
REMOTE_ADDR
DOCUMENT_ROOT
SERVER_ADMIN
SCRIPT_FILENAME
REMOTE_PORT 2439
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /elgg/delete_me.php
SCRIPT_NAME /elgg/delete_me.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /elgg/delete_me.php HTTP/1.1
Host
Connection keep-alive
Accept application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3
Accept-Encoding gzip,deflate,sdch
Accept-Language en-US,en;q=0.8
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie bn_u=6923205070568258563; __utmz=141349294.1285074057.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=259910805.418963726.1285003272.1285003272.1285081429.2; __utmc=259910805; __utmz=259910805.1285081429.2.3.utmccn=(organic)|utmcsr=google|utmctr=http://www.nasa.gov/|utmcmd=organic; ForeseeLoyalty_MID_E7F+G5PzBw=3; phpbb3_4jltp_u=2; phpbb3_4jltp_k=; phpbb3_4jltp_sid=556edd0689032cc45aa91865ea6b81a3; Elgg=da6866e3bc0bb582320ef08e9e3b2bc4; __utma=141349294.1931515651.1285074057.1285078135.1285167655.3; __utmc=141349294
HTTP Response Headers
X-Powered-By PHP/5.3.2
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
Core
PHP Version 5.3.2
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
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_globals_jit On On
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 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_prepend_string no value no value
error_reporting 30711 30711
exit_on_timeout Off Off
expose_php On On
extension_dir /usr/local/httpd/modules /usr/local/httpd/modules
file_uploads On On
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/inhouse/include .:/usr/local/inhouse/include
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
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 16M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8388608 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
request_order no value no value
safe_mode Off Off
safe_mode_exec_dir /usr/local/inhouse/bin /usr/local/inhouse/bin
safe_mode_gid Off Off
safe_mode_include_dir /usr/local/inhouse/include /usr/local/inhouse/include
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 5242880 2M
upload_tmp_dir /usr/local/inhouse/xcx/tmp /usr/local/inhouse/xcx/tmp
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.enable_gc On On
ctype
ctype functions enabled
date
date/time support enabled
"Olson" Timezone Database Version 2010.3
Timezone Database internal
Default timezone America/New_York
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone America/New_York America/New_York
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.26
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
ereg
Regex Library Bundled library enabled
fileinfo
fileinfo support enabled
version 1.0.5-dev
filter
Input Validation and Filtering enabled
Revision $Revision: 294106 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
libPNG Version 1.2.10
WBMP Support enabled
XBM Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0
hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.5
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
json
json support enabled
json version 1.2.1
libxml
libXML support active
libXML Compiled Version 2.6.26
libXML Loaded Version 20626
libXML streams enabled
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_local_infile On On
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 /tmp/mysql.sock /tmp/mysql.sock
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.00 2009-10-19
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers sqlite, sqlite2
pdo_sqlite
PDO Driver for SQLite 3.x enabled
SQLite Library 3.6.22
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 8.4.1
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
Phar
Phar: PHP Archive support enabled
Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Revision: 290435 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression disabled (install ext/zlib)
bzip2 compression disabled (install pecl/bz2)
OpenSSL support disabled (install ext/openssl)
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive Local Value Master Value
phar.cache_list no value no value
phar.readonly On On
phar.require_hash On On
posix
Revision $Revision: 293036 $
Reflection
Reflection enabled
Version $Revision: 293036 $
session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
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_httponly Off Off
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.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0
SimpleXML
Simplexml support enabled
Revision $Revision: 293036 $
Schema support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 2.8.17
SQLite Encoding iso8859
Directive Local Value Master Value
sqlite.assoc_case 0 0
sqlite3
SQLite3 support enabled
SQLite3 module version 0.7-dev
SQLite Library 3.6.22
Directive Local Value Master Value
sqlite3.extension_dir no value no value
standard
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=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.26
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
Additional Modules
Module Name
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- nasaresearcher@nasaresearcher
nasaresearcher - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- max_execution_time 30 30
- max_input_time 60 60
- memory_limit 64M 16M <-- ?????
- nasaresearcher@nasaresearcher
nasaresearcher - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- Cash@costelloc
Cash - 0 likes
- nasaresearcher@nasaresearcher
nasaresearcher - 0 likes
- jimm dethover@Dethnonymous
jimm dethover - 0 likes
You must log in to post replies.Did you check your error_log to see why the image uploads fail ?
@HL
What is "JPG support" in phpinfo ?
I do not have this "jpeg support" on my xampp and live servers, but can up-load images ;-)
I reckon "NASA" researcher (LOLZ) needs to read his error_log which should have the error messages that indicate exactly why the images fail to upload..
e.g.
[Tue Sep 21 08:07:26 2010] [error] [client 123.1230.123.1233] PHP WARNING: 2010-09-21 08:07:26 (EDT): "fopen() [<a href='function.fopen'>function.fopen</a>]: SAFE MODE Restriction in effect. The script whose uid is 10013 is not allowed to access /var/www/vhosts/domain.org/subdomains/community/httpdocs/data/2010/09/10/109306/profile/109306large.jpg owned by uid 48" in file /var/www/vhosts/domain.org/subdomains/community/httpdocs/site/engine/lib/filestore.php (line 198), referer: http://community.domain.org/pg/profile/adminDhrup/editicon/
@DhrupDeScoop - Interestingly enough, checking logs (apache/php) )was the first thing I did. I don't see any errors coming up when I run the process on my development or production systems, I haven't seen anything that seems relevant to my issues. That's part of my pain with this issue. If I had errors I would definitely had added them to my previous post. Thanks for your feedback though.
@H.Lunke - I did try JPG, PNG and GIF--JPG results in a "sorry..." message popping up in a green box, and when I try PNG or GIF I get a "white screen of death", basically a blank browser window with 2 lines of worthless html. I'll look into the JPEG support... Thanks for your advice.
post you prod domain here and maybe i'll have a look-see ;)
you could try higher values for these =>
the last one 2nd col = 16M is global value and so the local value @ col 164M means diddly b/c you caint override beyond the global limit ;-( and... Elgg will require at least 128M. I usually have 1024M (luxury of having a dedicated server;-)
Hey H.L.,
I think you're on to it. I turned debugging on and this time and got an error: Fatal error: Call to undefined function imagejpeg() in /usr/local/htdocs/elgg/engine/lib/filestore.php on line 931 I'm assuming that this has to do with the potential lack of the jpeg support being compiled with it. Anyway, I've just requested php be reinstalled on my server, and I'm adding imagemagik.
And yes, I can upload a png that I can't set as my profile image.
One other thing, xampp is a php/apache/mysql package that gives you all three in basically one shot. It's nice for setting up a site on a local machine and testing away.
Thanks again HL
And oh Dhrup: thanks for pointing out that memory allocation issue I bumped my memory up to 256M global
x = cross platform
a = apache
m = mysql
p = php
p = perl
;-)
@nasaresearcher - It definitely looks like your GD module does not have jpeg support. Without that profile photos cannot be created (regardless of whether you uploaded a JPEG, GIF, or PNG).
PROBLEM SOLVED! Just had php recompiled with jpeg support. Works like a charm now. That was the answer H.Lunke! thanks for your insight! Oops forgot about perl and the x--it's been a few years that I messed with xampp...
please help me http://community.elgg.org/discussion/view/1017876/avatar-didnt-shown