homepage Welcome to WebmasterWorld Guest from 54.235.227.60
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Increase memory limit in a site only, using htaccess/php.ini, PHP as CGI
basketmen




msg:4299495
 7:47 pm on Apr 17, 2011 (gmt 0)

Hi guys, i have a dedicated server, the php are using fast-cgi
the server memory_limit in whm is 32M globally for all sites


now i want memory_limit is 256M only in a sites, lets say domain1.com
i already try using htaccess but its get 500 errors, maybe because its using fast-cgi

.htaccess file
RewriteEngine On
php_value memory_limit 256M


and also tried

RewriteEngine On
memory_limit 256M







Then i try using php.ini file in the domain1.com site root, but still not changed, i check in phpinfo.php

php.ini file
memory_limit = 256M


or

php_value memory_limit 256M






i already read few articles like below and try all, but no one works
[dialme.com ]
[blog.paulgu.com ]







i already tried add that htaccess/php.ini file in other site in that server, and checking using phpinfo file in that site too, but still no one working too, no one the memory_limit changed. Please help what can be make it not working


















here are my phpinfo content


PHP Version 5.2.14

System Linux server1.domain1.com 2.6.32.27-JS-grsec #1 SMP Fri Jan 7 16:04:09 WIT 2011 x86_64
Build Date Nov 19 2010 05:40:23
Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib
Loaded Configuration File /usr/local/lib/php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
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 compress.zlib, dict, ftp, ftps, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp, php, file, data
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

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

Configuration
PHP Core
DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOnOn
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_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsshow_source, system, shell_exec, passthru, popen, proc_openshow_source, system, shell_exec, passthru, popen, proc_open
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_logerror_logerror_log
error_prepend_stringno valueno value
error_reporting61356135
expose_phpOffOff
extension_dir/usr/local/lib/php/extensions/no-debug-non-zts-20060613/usr/local/lib/php/extensions/no-debug-non-zts-20060613
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/lib/php:/usr/local/lib/php.:/usr/lib/php:/usr/local/lib/php
log_errorsOnOn
log_errors_max_len10241024
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno valueno value
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time3030
memory_limit32M32M
open_basedirno valueno value
output_bufferingno valueno value
output_handlerno valueno value
post_max_size50M50M
precision1212
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOnOn
register_globalsOnOn
register_long_arraysOnOn
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOffOff
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_filesize105M105M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.ze1_compatibility_modeOffOff

bcmath
BCMath support enabled

calendar
Calendar support enabled

cgi-fcgi
DirectiveLocal ValueMaster Value
cgi.check_shebang_line11
cgi.fix_pathinfo11
cgi.nph00
cgi.rfc2616_headers00
fastcgi.logging11

ctype
ctype functions enabled

curl
cURL support enabled
cURL Information libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

date
date/time support enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone Asia/Jakarta

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.7.6
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

ffmpeg
ffmpeg-php version 0.6.0-svn
ffmpeg-php built on Nov 11 2010 22:52:08
ffmpeg-php gd support enabled
ffmpeg libavcodec version Lavc52.20.1
ffmpeg libavformat version Lavf52.31.0
ffmpeg swscaler version SwS0.7.1

DirectiveLocal ValueMaster Value
ffmpeg.allow_persistent00
ffmpeg.show_warnings00

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.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM 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.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 2007e
SSL Support enabled
Kerberos Support enabled

json
json support enabled
json version 1.2.1

libxml
libXML support active
libXML Version 2.7.6
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.8
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.92
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -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.92
Client API header version 5.0.91
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 8.02 2010-03-19

DirectiveLocal ValueMaster Value
pcre.backtrack_limit100000100000
pcre.recursion_limit100000100000

PDO
PDO supportenabled
PDO drivers sqlite, sqlite2, mysql

pdo_mysql
PDO Driver for MySQL, client library version5.0.92

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

posix
Revision $Revision: 293036 $

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

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OnOn
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_divisor100100
session.gc_maxlifetime14401440
session.gc_probability11
session.hash_bits_per_character44
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/tmp/tmp
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sid00

SimpleXML
Simplexml supportenabled
Revision $Revision: 299016 $
Schema support enabled

sockets
Sockets Support enabled

SourceGuardian
SourceGuardian Loader Support enabled
SourceGuardian Loader Version 8.2
SourceGuardian Loader Build Number 0x00000011
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=,fieldset=a=href,area=href,frame=src,input=src,form=,fieldset=
user_agentno valueno value

suhosin
Suhosin logo This server is protected with the Suhosin Extension 0.9.32.1

Copyright (c) 2006-2007 Hardened-PHP Project
Copyright (c) 2007-2010 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_depth10001000
suhosin.cookie.max_array_index_length500500
suhosin.cookie.max_name_length6464
suhosin.cookie.max_totalname_length256256
suhosin.cookie.max_value_length200000200000
suhosin.cookie.max_vars500500
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.blacklistno valueno value
suhosin.executor.func.whitelistno valueno value
suhosin.executor.include.allow_writable_filesOnOn
suhosin.executor.include.blacklist[void.ru ][void.ru ]
suhosin.executor.include.max_traversal66
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_depth10001000
suhosin.get.max_array_index_length500500
suhosin.get.max_name_length6464
suhosin.get.max_totalname_length256256
suhosin.get.max_value_length200000200000
suhosin.get.max_vars500500
suhosin.log.file00
suhosin.log.file.nameno valueno value
suhosin.log.phpscript00
suhosin.log.phpscript.is_safeOffOff
suhosin.log.phpscript.nameno valueno value
suhosin.log.sapi00
suhosin.log.script00
suhosin.log.script.nameno valueno value
suhosin.log.syslogno valueno value
suhosin.log.syslog.facility99
suhosin.log.syslog.priorityno valueno value
suhosin.log.use-x-forwarded-forOffOff
suhosin.mail.protect00
suhosin.memory_limit128128
suhosin.mt_srand.ignoreOnOn
suhosin.multiheaderOffOff
suhosin.perdir00
suhosin.post.disallow_nul11
suhosin.post.disallow_ws00
suhosin.post.max_array_depth10001000
suhosin.post.max_array_index_length500500
suhosin.post.max_name_length6464
suhosin.post.max_totalname_length256256
suhosin.post.max_value_length200000200000
suhosin.post.max_vars500500
suhosin.protectkeyOnOn
suhosin.request.disallow_nul11
suhosin.request.disallow_ws00
suhosin.request.max_array_depth10001000
suhosin.request.max_array_index_length500500
suhosin.request.max_totalname_length256256
suhosin.request.max_value_length200000200000
suhosin.request.max_varname_length6464
suhosin.request.max_vars500500
suhosin.server.encodeOnOn
suhosin.server.stripOnOn
suhosin.session.checkraddr00
suhosin.session.cryptdocrootOnOn
suhosin.session.cryptkey[ protected ][ protected ]
suhosin.session.cryptraddr00
suhosin.session.cryptuaOffOff
suhosin.session.encryptOnOn
suhosin.session.max_id_length10241024
suhosin.simulationOffOff
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_elfno valueno value
suhosin.upload.max_uploads300300
suhosin.upload.remove_binary00
suhosin.upload.verification_scriptno valueno value

tokenizer
Tokenizer Support enabled

XCache
XCache Supportenabled
Version 1.3.0
Modules Built cacher
Readonly Protection N/A
Cache Init Time 2011-04-18 01:19:26
Cache Instance Id 4693
Opcode Cache enabled, 134,217,728 bytes, 1 split(s), with 8192 slots each
Variable Cache enabled, 134,217,728 bytes, 1 split(s), with 8192 slots each
Shared Memory Schemes mmap

DirectiveLocal ValueMaster Value
xcache.admin.enable_authOffOff
xcache.cacherOnOn
xcache.coredump_directoryno valueno value
xcache.count11
xcache.gc_interval00
xcache.mmap_path/dev/zero/dev/zero
xcache.readonly_protection00
xcache.shm_schememmapmmap
xcache.size128M128M
xcache.slots8K8K
xcache.statOnOn
xcache.test00
xcache.ttl00
xcache.var_count11
xcache.var_gc_interval120120
xcache.var_maxttl00
xcache.var_size128M128M
xcache.var_slots8K8K
xcache.var_ttl00

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.7.6

xmlreader
XMLReader enabled

xmlwriter
XMLWriter enabled

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

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
ionCube Loader

Environment
VariableValue
PATH /usr/local/bin:/usr/bin:/bin
PWD /usr/local/cpanel/cgi-sys
SHLVL 0

PHP Variables
VariableValue
PHP_SELF /phpinfo.php
_REQUEST["PHPSESSID"]dcdf90833c200f555f5bbfed354b5185
_COOKIE["PHPSESSID"]dcdf90833c200f555f5bbfed354b5185
_SERVER["PATH"]/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
_SERVER["PWD"]/usr/local/cpanel/cgi-sys
_SERVER["SHLVL"]0
_SERVER["FCGI_ROLE"]RESPONDER
_SERVER["UNIQUE_ID"]Tas8jK3U8aoAAHdCYy8AAAAH
_SERVER["HTTP_HOST"]domain1.com
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 AlexaToolbar/alxf-1.54 Firefox/3.5.11
_SERVER["HTTP_ACCEPT"]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"]gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"]ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_CONNECTION"]close
_SERVER["HTTP_COOKIE"]PHPSESSID=dcdf90833c200f555f5bbfed354b5185
_SERVER["SERVER_SIGNATURE"]no value
_SERVER["SERVER_SOFTWARE"]Apache
_SERVER["SERVER_NAME"]domain1.com
_SERVER["SERVER_ADDR"]173.212.241.170
_SERVER["SERVER_PORT"]80
_SERVER["REMOTE_ADDR"]125.161.160.155
_SERVER["DOCUMENT_ROOT"]/home/domain1/public_html
_SERVER["SERVER_ADMIN"][email]webmaster@domain1.com[/email]
_SERVER["SCRIPT_FILENAME"]/home/domain1/public_html/phpinfo.php
_SERVER["REMOTE_PORT"]1586
_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"]1303067788
_SERVER["argv"]

Array
(
)

_SERVER["argc"]0
_ENV["PATH"]/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
_ENV["PWD"]/usr/local/cpanel/cgi-sys
_ENV["SHLVL"]0
_ENV["FCGI_ROLE"]RESPONDER
_ENV["UNIQUE_ID"]Tas8jK3U8aoAAHdCYy8AAAAH
_ENV["HTTP_HOST"]domain1.com
_ENV["HTTP_USER_AGENT"]Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 AlexaToolbar/alxf-1.54 Firefox/3.5.11
_ENV["HTTP_ACCEPT"]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_ENV["HTTP_ACCEPT_LANGUAGE"]en-us,en;q=0.5
_ENV["HTTP_ACCEPT_ENCODING"]gzip,deflate
_ENV["HTTP_ACCEPT_CHARSET"]ISO-8859-1,utf-8;q=0.7,*;q=0.7
_ENV["HTTP_CONNECTION"]close
_ENV["HTTP_COOKIE"]PHPSESSID=dcdf90833c200f555f5bbfed354b5185
_ENV["SERVER_SIGNATURE"]no value
_ENV["SERVER_SOFTWARE"]Apache
_ENV["SERVER_NAME"]domain1.com
_ENV["SERVER_ADDR"]173.212.241.170
_ENV["SERVER_PORT"]80
_ENV["REMOTE_ADDR"]125.161.160.155
_ENV["DOCUMENT_ROOT"]/home/domain1/public_html
_ENV["SERVER_ADMIN"][email]webmaster@domain1.com[/email]
_ENV["SCRIPT_FILENAME"]/home/domain1/public_html/phpinfo.php
_ENV["REMOTE_PORT"]1586
_ENV["GATEWAY_INTERFACE"]CGI/1.1
_ENV["SERVER_PROTOCOL"]HTTP/1.1
_ENV["REQUEST_METHOD"]GET
_ENV["QUERY_STRING"]no value
_ENV["REQUEST_URI"]/phpinfo.php
_ENV["SCRIPT_NAME"]/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]license@php.net[/email].

1

 

g1smd




msg:4299542
 10:04 pm on Apr 17, 2011 (gmt 0)

You must be joking. I haven't got time to go all the way through that lot.

basketmen




msg:4299553
 10:50 pm on Apr 17, 2011 (gmt 0)

i am sorry, no need to take a look all phpinfo content, just give me clue if you have it

rocknbil




msg:4299967
 6:01 pm on Apr 18, 2011 (gmt 0)

What does your support for the dedi host say? Dedicated servers generally come with a half decent support line.

sundaridevi




msg:4303680
 4:43 pm on Apr 25, 2011 (gmt 0)

You can allocate more memory from directly within the php script if you need it for uploading files or something (I don't have the command handy)

rocknbil




msg:4304208
 4:39 pm on Apr 26, 2011 (gmt 0)

Oh. Here it is. Non numeric values must be quoted? (.htaccess example)

php_value max_execution_time 200
php_value memory_limit "256M"

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved