1.在SAE新建项目打印出phpinfo
<?php
print phpinfo();
?>
2.
可见:PHP Version 5.3.8
【使用的是php5.3.8编译的】
3.
可见:
System
SAE LINUX ENVIRONMENT
Build Date
May 19 2013
【说明是一台共享的虚拟机,创建于2013.05.19】
4.
可见:Thread Safety
disabled
【可能使用的是fastcig模式】
5.
可见:
Zend Memory Manager
enabled
Zend Multibyte Support
disabled
IPv6 Support
disabled
Registered PHP Streams
compress.zlib, php, file, glob, data, zip, http, https, saemc, saestor, saekv
Registered Stream Socket Transports
tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters
zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*, mcrypt.*, mdecrypt.*
6.
可见:
apache2handler
【说明使用了--with-apxs2[=FILE] 参数】
7.
可见:
Max Requests
Per Child: 256 - Keep Alive: off - Max Per Connection: 100
【
该apache限制为每个子进程可以处理256次请求,每个线程最大连接数为100
进程数的最大值由MaxClients控制,在Apache1.3中最大只能设置为256,但在Apache2.0中,可以通过在配置开头增加ServerLimit项目来突破256的限制,此时必须MaxClients ≤ ServerLimit ≤ 20000
MaxRequestsPerChild用来控制每个进程在处理了多少次请求之后自动销毁
Keep Alive: off
】
8.
可见:
Timeouts
Connection: 20 - Keep-Alive: 5
【
MaxVhostClients 100
Keep-Alive: 5 这个应该没意义,因为Keep Alive: off
】
9.
可见:
Loaded Modules
core prefork http_core mod_so mod_mime mod_dir mod_log_config mod_setenvif mod_headers mod_filter mod_deflate mod_rewrite mod_php5 mod_extract_forwarded mod_usertrack mod_saestat mod_saeenv mod_auth_basicx mod_authz_hostx mod_authn_memory mod_authz_user mod_appconfig mod_applimit mod_execlimit mod_appsense
【该apache2支持上面这些模块】
10.Configuration中开启的模块
APC Support
enabled
BCMath support
enabled
ctype functions
enabled
cURL support
enabled
date/time support
enabled
DOM/XML
enabled
Regex Library
Bundled library enabled
EXIF Support
enabled
Input Validation and Filtering
enabled
GD Support
enabled
gmp support
enabled
hash support
enabled
iconv support
enabled
json support
enabled
kvclient support
enabled
libXML support
active
Multibyte Support
enabled
Multibyte (japanese) regex support
enabled
mcrypt support
enabled
memcache support
enabled
MySQL Support
enabled
MysqlI Support
enabled
OpenSSL support
enabled
PCRE (Perl Compatible Regular Expressions) Support
enabled
PDO support
enabled
PDO Driver for MySQL
enabled
Reflection
enabled
saecounter support
enabled 【SAE自己开发的php组件】
Session Support
enabled
Simplexml support
enabled
SPL support
enabled
Dynamic Library Support
enabled
Tokenizer Support
enabled
XML Support
active
yaf support
enabled
Zip
enabled
ZLib Support
enabled
11.支持的php 环境变量
Variable
Value
_SERVER["MEF_PROXY_ADDR"]
_SERVER["has_apphash"]
_SERVER["ApplimitOutOfCon"]
_SERVER["ApplimitOutOfMem"]
_SERVER["SCRIPT_URL"]
_SERVER["SCRIPT_URI"]
_SERVER["HTTP_X_FORWARDED_FOR"]
_SERVER["HTTP_HOST"]
_SERVER["HTTP_APPNAME"]
_SERVER["HTTP_APPVERSION"]
_SERVER["HTTP_ACCESSKEY"]
_SERVER["HTTP_APPHASH"]
_SERVER["HTTP_MYSQLPORT"]
_SERVER["HTTP_APPCOOKIE"]
_SERVER["HTTP_APPSRVC"]
_SERVER["HTTP_CONNECTION"]
_SERVER["HTTP_ACCEPT"]
_SERVER["HTTP_USER_AGENT"]
_SERVER["HTTP_ACCEPT_ENCODING"]
_SERVER["HTTP_ACCEPT_LANGUAGE"]
_SERVER["HTTP_ACCEPT_CHARSET"]
_SERVER["PATH"]
_SERVER["SERVER_SIGNATURE"]
_SERVER["SERVER_SOFTWARE"]
_SERVER["SERVER_NAME"]
_SERVER["SERVER_ADDR"]
_SERVER["SERVER_PORT"]
_SERVER["REMOTE_ADDR"]
_SERVER["DOCUMENT_ROOT"]
_SERVER["SERVER_ADMIN"]
_SERVER["SCRIPT_FILENAME"]
_SERVER["REMOTE_PORT"]
_SERVER["GATEWAY_INTERFACE"]
_SERVER["SERVER_PROTOCOL"]
_SERVER["REQUEST_METHOD"]
_SERVER["QUERY_STRING"]
_SERVER["REQUEST_URI"]
_SERVER["SCRIPT_NAME"]
_SERVER["PHP_SELF"]
_SERVER["REQUEST_TIME"]
_SERVER["HTTP_SECRETKEY"]
_ENV["LD_PRELOAD"]
_ENV["LD_LIBRARY_PATH"]
_ENV["PWD"]
_ENV["LANG"]
_ENV["DEBIAN_FRONTEND"]
_ENV["APT_LISTCHANGES_FRONTEND"]
_ENV["APT_LISTBUGS_FRONTEND"]
_ENV["_"]
_ENV["TMPDIR"]