php mail issue

6 views
Skip to first unread message

Brendan Brink

unread,
Jan 21, 2011, 12:38:28 AM1/21/11
to nzp...@googlegroups.com
trying to send a basic email using the following code:

ini_set("display_errors","on");

function sendBasicEmailStarTrack($to,$subject,$sendbody) {


    $from = 'twl_st...@spoc.co.nz';
        $from = 'twl_st...@spoc.co.nz';

    $organisation = 'T';


    $mail= new htmlMimeMail();
    $mail->setReturnPath('bre...@sell2cell.co.nz');
    $mail->setFrom($from);
    $mail->setHeader('Reply-To',$from);
    $mail->setHeader('X-Mailer',$organisation);
    $mail->setSubject($subject);
    $mail->setSMTPParams('smtp.webhost.co.nz','25','sell2cell.co.nz',true, 'bre...@sell2cell.co.nz','password');
 
    $mail->setHtml('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" <http://www.w3.org/TR/html4/loose.dtd>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><style type="text/css">

body {

font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
color:#333333;


}

</style></head>
<body >'.$sendbody.'</body>
</html>
');
    //$_SESSION['email_server'] = 'sell2cell.co.nz';

    $mail->send(array($to),'smtp');
}


sendBasicEmailStarTrack("bre...@sell2cell.co.nz","Test","");

mail("bre...@sell2cell.co.nz","test","test","From: bre...@textvouchers.com");

_____________

and it works on old hosting, but not on new server - NO emails are received using either mailing method.

phpinfo on shared hosting (where works) is as below and have put the phpinfo from new server (where it doesnt work after that), any help or pointers would be most appreciated.
PHP Logo

PHP Version 5.2.17


System Linux ws2 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 x86_64
Build Date Jan 11 2011 12:48:40
Configure Command './configure' '--prefix=/usr/local/php5' '--with-apache=../apache_1.3.41' '--enable-sockets' '--enable-soap' '--enable-exif' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-pear' '--enable-inline-optimization' '--enable-bcmath' '--with-xsl' '--with-xslt-sablot=/usr' '--with-xsl=/usr' '--enable-zip' '--with-tidy=/usr' '--enable-calendar' '--with-ldap=/usr' '--with-ldap-sasl=/usr' '--enable-mbstring=all' '--enable-mbregex' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-pspell' '--with-imap=/usr/local/imap-2007e' '--with-openssl=/usr' '--with-mhash=/usr' '--with-mcrypt=/usr' '--with-mysql' '--enable-pdo' '--with-pdo-mysql' '--with-sqlite' '--with-pdo-sqlite' '--with-mysqli' '--with-pgsql' '--with-curl' '--with-gettext' '--with-freetype-dir' '--with-zlib-dir' '--with-zlib' '--with-kerberos' '--with-imap-ssl' '--with-config-file-scan-dir=/usr/local/php5/lib/ini'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php5/lib
Loaded Configuration File /usr/local/Zend_php5/etc/php.ini
Scan this dir for additional .ini files /usr/local/php5/lib/ini
additional .ini files parsed /usr/local/php5/lib/ini/suhosin.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams https, ftps, compress.zlib, php, file, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed

Suhosin logo This server is protected with the Suhosin Patch 0.9.7
Copyright (c) 2006 Hardened-PHP Project

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies


PHP Credits


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOffOff
allow_url_fopenOnOn
allow_url_includeOffOff
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_file/usr/local/apache/phpinc/prepend.php/usr/local/apache/phpinc/prepend.php
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOnOn
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOffOff
error_append_stringno valueno value
error_log/var/log/httpd/php5_error.log/var/log/httpd/php5_error.log
error_prepend_stringno valueno value
error_reporting61356135
expose_phpOnOn
extension_dir//
file_uploadsOnOn
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_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path./:/usr/local/lib/php:/usr/share/pear/:/usr/local/apache/phpinc/:/home/textvouchers/thewarehouse/.:/usr/local/php5/lib/php
log_errorsOnOn
log_errors_max_len10241024
magic_quotes_gpcOffOff
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno valueno value
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time6060
memory_limit64M64M
open_basedir/tmp:/usr/local/lib/php:/usr/local/apache/phpinc/:/home/textvouchers/thewarehouse/no value
output_buffering40964096
output_handlerob_gzhandlerno value
post_max_size24M24M
precision1414
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOffOff
register_globalsOffOff
register_long_arraysOffOff
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOnOff
safe_mode_exec_dir/home/httpd/phpbinno value
safe_mode_gidOnOff
safe_mode_include_dir./:/usr/local/lib/php:/usr/local/apache/phpinc/:/home/textvouchers/thewarehouse/no value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i 
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
suhosin.log.phpscript.is_safeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize24M24M
upload_tmp_dir/tmpno value
user_dirno valueno value
variables_orderGPCSGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.ze1_compatibility_modeOffOff

apache

APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/5.2.17 with Suhosin-Patch
Apache Release 10341100
Apache API Version 19990320
Hostname:Port 202.89.43.125:80
User/Group nobody(99)/99
Max Requests Per Child: 100 - Keep Alive: on - Max Per Connection: 75
Timeouts Connection: 240 - Keep-Alive: 3
Server Root /usr/local/apache_php5
Loaded Modules mod_frontpage, mod_ssl, mod_php5, mod_bandwidth, mod_security, mod_setenvif, mod_so, mod_expires, mod_proxy, mod_digest, mod_auth_db, mod_auth, mod_access, mod_rewrite, mod_alias, mod_actions, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core

DirectiveLocal ValueMaster Value
child_terminate00
engine11
last_modified00
xbithack00

Apache Environment

VariableValue
DOCUMENT_ROOT /home
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CONNECTION keep-alive
HTTP_COOKIE PHPSESSID=m63m1tc2v4qn9274sa5ppt7hv2
HTTP_HOST www.spoc.co.nz
HTTP_KEEP_ALIVE 115
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REMOTE_ADDR 202.74.223.76
REMOTE_PORT 49910
SCRIPT_FILENAME /home/httpd/vhlinks/www.spoc.co.nz/phpinfo.php
SERVER_ADDR 119.47.114.97
SERVER_ADMIN nor...@mydns.net.nz
SERVER_NAME www.spoc.co.nz
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.41 Server at www.spoc.co.nz Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/5.2.17 with Suhosin-Patch
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpinfo.php
SCRIPT_NAME /phpinfo.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /phpinfo.php HTTP/1.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding gzip,deflate
Accept-Language en-us,en;q=0.5
Connection keep-alive
Cookie PHPSESSID=m63m1tc2v4qn9274sa5ppt7hv2
Host www.spoc.co.nz
Keep-Alive 115
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
HTTP Response Headers
X-Powered-By PHP/5.2.17

bcmath

BCMath support enabled

calendar

Calendar support enabled

ctype

ctype functions enabled

curl

cURL support enabled
cURL Information libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18

date

date/time support enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone Pacific/Auckland

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333
date.timezoneno valueno value

dom

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

exif

EXIF Support enabled
EXIF Version 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

filter

Input Validation and Filtering enabled
Revision $Revision: 298196 $

DirectiveLocal ValueMaster Value
filter.defaultunsafe_rawunsafe_raw
filter.default_flagsno valueno value

ftp

FTP support enabled

gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

gettext

GetText Support enabled

hash

hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b 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.7

DirectiveLocal ValueMaster Value
iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1
iconv.output_encodingISO-8859-1ISO-8859-1

imap

IMAP c-Client Version 2007e
SSL Support enabled

json

json support enabled
json version 1.2.1

ldap

LDAP Support enabled
RCS Version $Id: ldap.c 293036 2010-01-03 09:23:27Z sebastian $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20411
SASL Support Enabled

libxml

libXML support active
libXML Version 2.6.32
libXML streams enabled

mbstring

Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value

mcrypt

mcrypt supportenabled
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

DirectiveLocal ValueMaster Value
mcrypt.algorithms_dirno valueno value
mcrypt.modes_dirno valueno value

mhash

MHASH support Enabled
MHASH API Version 20060101

mysql

MySQL Supportenabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

DirectiveLocal ValueMaster Value
mysql.allow_persistentOffOff
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff

mysqli

MysqlI Supportenabled
Client API library version 5.0.51a
Client API header version 5.0.51a
MYSQLI_SOCKET /var/run/mysqld/mysqld.sock

DirectiveLocal ValueMaster Value
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socketno valueno value
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.reconnectOffOff

openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8g 19 Oct 2007

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.02 2010-03-19

DirectiveLocal ValueMaster Value
pcre.backtrack_limit100000100000
pcre.recursion_limit100000100000

pdf

PDF Supportenabled
PDFlib GmbH Version 7.0.4p4
PECL Version 2.1.6
Revision $Revision: 1.9 $

PDO

PDO supportenabled
PDO drivers sqlite, mysql, sqlite2

pdo_mysql

PDO Driver for MySQL, client library version5.0.51a

pdo_sqlite

PDO Driver for SQLite 3.xenabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 3.3.7

pgsql

PostgreSQL Supportenabled
PostgreSQL(libpq) Version 8.3.12
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0

DirectiveLocal ValueMaster Value
pgsql.allow_persistentOffOff
pgsql.auto_reset_persistentOffOff
pgsql.ignore_noticeOffOff
pgsql.log_noticeOffOff
pgsql.max_linksUnlimitedUnlimited
pgsql.max_persistentUnlimitedUnlimited

posix

Revision $Revision: 293036 $

pspell

PSpell Support enabled

Reflection

Reflectionenabled
Version $Id: php_reflection.c 300129 2010-06-03 00:43:37Z felipe $

session

Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OffOff
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_httponlyOffOff
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor10001000
session.gc_maxlifetime14401440
session.gc_probability11
session.hash_bits_per_character55
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handleruserfiles
session.save_pathno valueno value
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sid00

SimpleXML

Simplexml supportenabled
Revision $Revision: 299016 $
Schema support enabled

soap

Soap Client enabled
Soap Server enabled

DirectiveLocal ValueMaster Value
soap.wsdl_cache11
soap.wsdl_cache_dir/tmp/tmp
soap.wsdl_cache_enabled11
soap.wsdl_cache_limit55
soap.wsdl_cache_ttl8640086400

sockets

Sockets Support enabled

SourceGuardian

SourceGuardian Loader Support enabled
SourceGuardian Loader Version 8.0.1
SourceGuardian Loader Build Number 0x00000010
phpSHIELD Support enabled

DirectiveLocal ValueMaster Value
sourceguardian.restrict_unencoded00

SPL

SPL supportenabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite supportenabled
PECL Module version 2.0-dev $Id: sqlite.c 298697 2010-04-28 12:10:10Z iliaa $
SQLite Library 2.8.17
SQLite Encoding iso8859

DirectiveLocal ValueMaster Value
sqlite.assoc_case00

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=fakeentrya=href,area=href,frame=src,input=src,form=fakeentry
user_agentno valueno value

suhosin

Suhosin logo This server is protected with the Suhosin Extension 0.9.27

Copyright (c) 2006-2007 Hardened-PHP Project
Copyright (c) 2007-2008 SektionEins GmbH

DirectiveLocal ValueMaster Value
suhosin.apc_bug_workaroundOffOff
suhosin.cookie.checkraddr00
suhosin.cookie.cryptdocrootOnOn
suhosin.cookie.cryptkey[ protected ][ protected ]
suhosin.cookie.cryptlistno valueno value
suhosin.cookie.cryptraddr00
suhosin.cookie.cryptuaOnOn
suhosin.cookie.disallow_nul11
suhosin.cookie.disallow_ws11
suhosin.cookie.encryptOffOff
suhosin.cookie.max_array_depth5050
suhosin.cookie.max_array_index_length6464
suhosin.cookie.max_name_length6464
suhosin.cookie.max_totalname_length256256
suhosin.cookie.max_value_length1000010000
suhosin.cookie.max_vars100100
suhosin.cookie.plainlistno valueno value
suhosin.coredumpOffOff
suhosin.disable.display_errorsOffOff
suhosin.executor.allow_symlinkOffOff
suhosin.executor.disable_emodifierOffOff
suhosin.executor.disable_evalOffOff
suhosin.executor.eval.blacklistno valueno value
suhosin.executor.eval.whitelistno valueno value
suhosin.executor.func.blacklistsystem, exec, shell_exec, pcntl_exec, passthru, proc_open, escapeshellcmd, escapeshellargsystem, exec, shell_exec, pcntl_exec, passthru, proc_open, escapeshellcmd, escapeshellarg
suhosin.executor.func.whitelistno valueno value
suhosin.executor.include.blacklistno valueno value
suhosin.executor.include.max_traversal00
suhosin.executor.include.whitelistno valueno value
suhosin.executor.max_depth00
suhosin.filter.actionno valueno value
suhosin.get.disallow_nul11
suhosin.get.disallow_ws00
suhosin.get.max_array_depth5050
suhosin.get.max_array_index_length6464
suhosin.get.max_name_length128128
suhosin.get.max_totalname_length256256
suhosin.get.max_value_length20482048
suhosin.get.max_vars100100
suhosin.mail.protect22
suhosin.memory_limit00
suhosin.mt_srand.ignoreOnOn
suhosin.multiheaderOffOff
suhosin.perdir00
suhosin.post.disallow_nul11
suhosin.post.disallow_ws00
suhosin.post.max_array_depth5050
suhosin.post.max_array_index_length6464
suhosin.post.max_name_length128128
suhosin.post.max_totalname_length256256
suhosin.post.max_value_length10485761048576
suhosin.post.max_vars20002000
suhosin.protectkeyOnOn
suhosin.request.disallow_nul11
suhosin.request.disallow_ws00
suhosin.request.max_array_depth5050
suhosin.request.max_array_index_length6464
suhosin.request.max_totalname_length256256
suhosin.request.max_value_length6500065000
suhosin.request.max_varname_length6464
suhosin.request.max_vars20002000
suhosin.server.encodeOnOn
suhosin.server.stripOnOn
suhosin.session.checkraddr00
suhosin.session.cryptdocrootOnOn
suhosin.session.cryptkey[ protected ][ protected ]
suhosin.session.cryptraddr00
suhosin.session.cryptuaOnOn
suhosin.session.encryptOnOn
suhosin.session.max_id_length128128
suhosin.simulationOnOn
suhosin.sql.bailout_on_errorOffOff
suhosin.sql.comment00
suhosin.sql.multiselect00
suhosin.sql.opencomment00
suhosin.sql.union00
suhosin.sql.user_postfixno valueno value
suhosin.sql.user_prefixno valueno value
suhosin.srand.ignoreOnOn
suhosin.stealthOnOn
suhosin.upload.disallow_binary00
suhosin.upload.disallow_elf11
suhosin.upload.max_uploads2525
suhosin.upload.remove_binary00
suhosin.upload.verification_scriptno valueno value

tidy

Tidy supportenabled
libTidy Release 6 November 2007
Extension Version 2.0 ($Id: tidy.c 293036 2010-01-03 09:23:27Z sebastian $)

DirectiveLocal ValueMaster Value
tidy.clean_outputno valueno value
tidy.default_configno valueno value

tokenizer

Tokenizer Support enabled

wddx

WDDX Supportenabled
WDDX Session Serializer enabled

xml

XML Support active
XML Namespace Support active
libxml2 Version 2.6.32

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

xsl

XSL enabled
libxslt Version 1.1.24
libxslt compiled against libxml Version 2.6.32
EXSLT enabled
libexslt Version 1.1.24

Zend Optimizer

Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value
Obfuscation level 3

zip

Zip enabled
Extension Version $Id: php_zip.c 305848 2010-11-30 11:04:06Z pajoye $
Zip version 1.8.11
Libzip version 0.9.0

zlib

ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3.3
Linked Version 1.2.3.3

DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name
ionCube Loader

Environment

VariableValue
TERM xterm
SHELL /bin/bash
SSH_CLIENT 119.47.119.239 59551 22
SSH_TTY /dev/pts/0
USER root
MAIL /var/mail/root
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD /usr/src/apache-php/build/apache_1.3.41
LANG en_NZ.UTF-8
SHLVL 3
HOME /root
LOGNAME root
SSH_CONNECTION 119.47.119.239 59551 202.89.43.72 22
_ /usr/local/apache_php5/bin/httpd

PHP Variables

VariableValue
_REQUEST["PHPSESSID"]m63m1tc2v4qn9274sa5ppt7hv2
_COOKIE["PHPSESSID"]m63m1tc2v4qn9274sa5ppt7hv2
_SERVER["DOCUMENT_ROOT"]/home/textvouchers/thewarehouse/
_SERVER["HTTP_ACCEPT"]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_CHARSET"]ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"]gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us,en;q=0.5
_SERVER["HTTP_CONNECTION"]keep-alive
_SERVER["HTTP_COOKIE"]PHPSESSID=m63m1tc2v4qn9274sa5ppt7hv2
_SERVER["HTTP_HOST"]www.spoc.co.nz
_SERVER["HTTP_KEEP_ALIVE"]115
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
_SERVER["PATH"]/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_SERVER["REMOTE_ADDR"]202.74.223.76
_SERVER["REMOTE_PORT"]49910
_SERVER["SCRIPT_FILENAME"]/home/httpd/vhlinks/www.spoc.co.nz/phpinfo.php
_SERVER["SERVER_ADDR"]119.47.114.97
_SERVER["SERVER_ADMIN"]nor...@mydns.net.nz
_SERVER["SERVER_NAME"]www.spoc.co.nz
_SERVER["SERVER_PORT"]80
_SERVER["SERVER_SIGNATURE"]<ADDRESS>Apache/1.3.41 Server at www.spoc.co.nz Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"]Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/5.2.17 with Suhosin-Patch
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PROTOCOL"]HTTP/1.1
_SERVER["REQUEST_METHOD"]GET
_SERVER["QUERY_STRING"]no value
_SERVER["REQUEST_URI"]/phpinfo.php
_SERVER["SCRIPT_NAME"]/phpinfo.php
_SERVER["PATH_TRANSLATED"]/home/httpd/vhlinks/www.spoc.co.nz/phpinfo.php
_SERVER["PHP_SELF"]/phpinfo.php
_SERVER["REQUEST_TIME"]1295587036

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 lic...@php.net.


1

PHP Logo

PHP Version 5.1.6


System Linux linuxvpswhl.icetel.co.nz 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64
Build Date Nov 29 2010 16:49:11
Configure Command './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/dbase.ini, /etc/php.d/dom.ini, /etc/php.d/gd.ini, /etc/php.d/imap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/xmlreader.ini, /etc/php.d/xmlwriter.ini, /etc/php.d/xsl.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


PHP Credits


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOffOff
allow_url_fopenOnOn
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOffOff
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting20472047
expose_phpOnOn
extension_dir/usr/lib64/php/modules/usr/lib64/php/modules
file_uploadsOnOn
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_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:.:
log_errorsOnOn
log_errors_max_len10241024
magic_quotes_gpcOffOff
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno valueno value
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time6060
memory_limit128M128M
open_basedir/var/www/vhosts/spoc.co.nz/httpdocs:/tmpno value
output_buffering40964096
output_handlerno valueno value
post_max_size8M8M
precision1414
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOffOff
register_globalsOffOff
register_long_arraysOffOff
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOnOn
safe_mode_exec_dirno valueno value
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize2M2M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.ze1_compatibility_modeOffOff

apache2handler

Apache Version Apache/2.2.3 (CentOS)
Apache API Version 20051115
Server Administrator gu...@icetel.co.nz
Hostname:Port spoc.co.nz:80
User/Group apache(48)/48
Max Requests Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 120 - Keep-Alive: 15
Virtual Server Yes
Server Root /etc/httpd
Loaded Modules core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_version mod_ssl mod_fcgid mod_perl mod_php5 mod_proxy_ajp mod_python

DirectiveLocal ValueMaster Value
engine11
last_modified00
xbithack00

Apache Environment

VariableValue
HTTP_ACCEPT */*
HTTP_HOST spoc.co.nz
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache/2.2.3 (CentOS) Server at spoc.co.nz Port 80</address>
SERVER_SOFTWARE Apache/2.2.3 (CentOS)
SERVER_NAME spoc.co.nz
SERVER_ADDR 111.65.227.83
SERVER_PORT 80
REMOTE_ADDR 111.65.227.83
DOCUMENT_ROOT /var/www/vhosts/spoc.co.nz/httpdocs
SERVER_ADMIN gu...@icetel.co.nz
SCRIPT_FILENAME /var/www/vhosts/spoc.co.nz/httpdocs/phpinfo.php
REMOTE_PORT 56777
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpinfo.php
SCRIPT_NAME /phpinfo.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /phpinfo.php HTTP/1.1
Accept */*
Host spoc.co.nz
HTTP Response Headers
X-Powered-By PHP/5.1.6
Connection close
Transfer-Encoding chunked
Content-Type text/html

bz2

BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.3, 15-Feb-2005

calendar

Calendar support enabled

ctype

ctype functions enabled

curl

CURL support enabled
CURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

date

date/time support enabled
Timezone Database Version 0.system
Timezone Database internal
Default timezone Pacific/Auckland

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333
date.timezoneno valueno value

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

exif

EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

ftp

FTP support enabled

gd

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

gettext

GetText Support enabled

gmp

gmp support enabled

hash

hash supportenabled
Hashing Enginesmd4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b 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

DirectiveLocal ValueMaster Value
iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1
iconv.output_encodingISO-8859-1ISO-8859-1

imap

IMAP c-Client Version 2004
SSL Support enabled
Kerberos Support enabled

libxml

libXML support active
libXML Version 2.6.26
libXML streams enabled

mbstring

Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value

mime_magic

mime_magic supportinvalid magic file, disabled

DirectiveLocal ValueMaster Value
mime_magic.debugOffOff
mime_magic.magicfile/usr/share/file/magic.mime/usr/share/file/magic.mime

mysql

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

DirectiveLocal ValueMaster Value
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff

mysqli

MysqlI Supportenabled
Client API library version 5.0.77
Client API header version 5.0.77
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

DirectiveLocal ValueMaster Value
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socketno valueno value
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.reconnectOffOff

openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006

PDO

PDO supportenabled
PDO drivers mysql, sqlite

pdo_mysql

PDO Driver for MySQL, client library version5.0.77

pdo_sqlite

PDO Driver for SQLite 3.xenabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $
SQLite Library 3.3.6

posix

Revision $Revision: 1.70.2.3 $

pspell

PSpell Support enabled

Reflection

Reflectionenabled
Version $Id: php_reflection.c,v 1.164.2.33 2006/03/29 14:28:42 tony2001 Exp $

session

Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OffOff
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor10001000
session.gc_maxlifetime14401440
session.gc_probability11
session.hash_bits_per_character55
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/var/lib/php/session/var/lib/php/session
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sid00

shmop

shmop support enabled

SimpleXML

Simplexml supportenabled
Revision $Revision: 1.151.2.22 $
Schema support enabled

sockets

Sockets Support enabled

SPL

SPL supportenabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=fakeentrya=href,area=href,frame=src,input=src,form=fakeentry
user_agentno valueno value

sysvmsg

sysvmsg support enabled
Revision $Revision: 1.20.2.3 $

tokenizer

Tokenizer Support enabled

wddx

WDDX Supportenabled
WDDX Session Serializer enabled

xml

XML Support active
XML Namespace Support active
libxml2 Version 2.6.26

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

xsl

XSL enabled
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26
EXSLT enabled
libexslt Version 1.1.17

zlib

ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name
dbase
sysvsem
sysvshm

Environment

VariableValue
PHP_FCGI_CHILDREN 3
PATH /sbin:/usr/sbin:/bin:/usr/bin
PWD /etc/rc.d/init.d
LANG C
PSA_RUN_MODE 1
SHLVL 3
PHP_FCGI_MAX_REQUESTS 10
_ /usr/sbin/httpd

PHP Variables

VariableValue
_SERVER["HTTP_ACCEPT"]*/*
_SERVER["HTTP_HOST"]spoc.co.nz
_SERVER["PATH"]/sbin:/usr/sbin:/bin:/usr/bin
_SERVER["SERVER_SIGNATURE"]<address>Apache/2.2.3 (CentOS) Server at spoc.co.nz Port 80</address>
_SERVER["SERVER_SOFTWARE"]Apache/2.2.3 (CentOS)
_SERVER["SERVER_NAME"]spoc.co.nz
_SERVER["SERVER_ADDR"]111.65.227.83
_SERVER["SERVER_PORT"]80
_SERVER["REMOTE_ADDR"]111.65.227.83
_SERVER["DOCUMENT_ROOT"]/var/www/vhosts/spoc.co.nz/httpdocs
_SERVER["SERVER_ADMIN"]gu...@icetel.co.nz
_SERVER["SCRIPT_FILENAME"]/var/www/vhosts/spoc.co.nz/httpdocs/phpinfo.php
_SERVER["REMOTE_PORT"]56777
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PROTOCOL"]HTTP/1.1
_SERVER["REQUEST_METHOD"]GET
_SERVER["QUERY_STRING"]no value
_SERVER["REQUEST_URI"]/phpinfo.php
_SERVER["SCRIPT_NAME"]/phpinfo.php
_SERVER["PHP_SELF"]/phpinfo.php
_SERVER["REQUEST_TIME"]1295587088
_ENV["PHP_FCGI_CHILDREN"]3
_ENV["PATH"]/sbin:/usr/sbin:/bin:/usr/bin
_ENV["PWD"]/etc/rc.d/init.d
_ENV["LANG"]C
_ENV["PSA_RUN_MODE"]1
_ENV["SHLVL"]3
_ENV["PHP_FCGI_MAX_REQUESTS"]10
_ENV["_"]/usr/sbin/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 lic...@php.net.


1

Simon Holywell

unread,
Jan 21, 2011, 4:08:59 AM1/21/11
to nzp...@googlegroups.com
We run Plesk on a server and the usual reason for mail not being delivered is that you have forgotten to turn off the mail in the Plesk control panel. This is only an issue when your server is hosting the website, but not the email for the domain. If you don't switch it off the server will think that it is supposed to process the mail.

This means that it will first check to see if it can route the mail itself i.e. to an account hosted on your server. If the mail setting is switched on then it will think it can and the email will never leave your server. With the setting turned off it will not attempt to deliver it to itself but spit it out onto the WWW.

There are two ways to verify if this is the problem:
  1. Change the email address you are sending to something like GMail, Hotmail/Live etc and see if it gets through.
  2. Turn off mail in Plesk and see if it gets through.
This setting can be adjust on a domain by domain basis. Just go to your domain and click the mail link and up near the top of the page somewhere there should be a big turn off mail button.

Hope that helps.

Thanks,
Simon


--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com



--
Simon Holywell
http://www.simonholywell.com
Reply all
Reply to author
Forward
0 new messages