Documentos de Académico
Documentos de Profesional
Documentos de Cultura
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
Linux lsiweb.lsi.us.es 2.6.18-308.20.1.el5 #1 SMP Tue Nov 6 04:38:29 EST 2012 x86_64 Jul 12 2013 04:46:18 './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' '--cachefile=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scandir=/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' '--enablegd-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' '--enablesockets' '--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' '--withoutmysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' Apache 2.0 Handler disabled
Server API Virtual Directory Support Configuration File (php.ini) Path Scan this dir for additional .ini files additional .ini files parsed PHP API PHP Extension Zend Extension Debug Build Thread Safety Zend Memory Manager IPv6 Support Registered PHP Streams
/etc/php.ini
/etc/php.d
/etc/php.d/dbase.ini, /etc/php.d/gd.ini, /etc/php.d/ldap.ini, /etc/php.d/mysql.ini, /etc/php.d /mysqli.ini, /etc/php.d/odbc.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d /pdo_odbc.ini, /etc/php.d/pdo_sqlite.ini 20041225 20050922 220051025 no disabled enabled enabled php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Stream Socket Transports Registered string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, Stream Filters convert.iconv.*, bzip2.*, zlib.*
This program makes use of the Zend Scripting Language Engine: Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
1 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
2 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
ignore_repeated_source ignore_user_abort implicit_flush include_path log_errors log_errors_max_len magic_quotes_gpc magic_quotes_runtime magic_quotes_sybase mail.force_extra_parameters max_execution_time max_file_uploads max_input_nesting_level max_input_time max_input_vars memory_limit open_basedir output_buffering output_handler post_max_size precision realpath_cache_size realpath_cache_ttl register_argc_argv register_globals register_long_arrays report_memleaks report_zend_debug safe_mode safe_mode_exec_dir safe_mode_gid safe_mode_include_dir sendmail_from sendmail_path serialize_precision short_open_tag SMTP smtp_port sql.safe_mode track_errors unserialize_callback_func upload_max_filesize upload_tmp_dir user_dir variables_order xmlrpc_error_number xmlrpc_errors y2k_compliance
Off Off Off .:/usr/share/pear:/usr/share/php On 1024 Off Off Off no value 30 20 64 60 1000 16M no value 4096 no value 70M 14 16K 120 Off Off Off On On Off no value Off no value no value /usr/sbin/sendmail -t -i 100 On localhost 25 Off Off no value 100M no value no value EGPCS 0 Off On
Off Off Off .:/usr/share/pear:/usr/share/php On 1024 Off Off Off no value 30 20 64 60 1000 16M no value 4096 no value 70M 14 16K 120 Off Off Off On On Off no value Off no value no value /usr/sbin/sendmail -t -i 100 On localhost 25 Off Off no value 100M no value no value EGPCS 0 Off On
3 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
zend.ze1_compatibility_mode
Off
Off
apache2handler
Apache Version Apache API Version Server Administrator Apache/2.2.3 (Red Hat) 20051115 root@localhost
Hostname:Port www.lsi.us.es:0 User/Group Max Requests Timeouts Virtual Server Server Root Loaded Modules apache(48)/48 Per Child: 4000 - Keep Alive: off - Max Per Connection: 100 Connection: 120 - Keep-Alive: 15 Yes /etc/httpd 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_auth_mysql mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl
Local Value 1 0 0
Master Value
Apache Environment
Variable HTTP_HOST HTTP_USER_AGENT HTTP_ACCEPT www.lsi.us.es Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Value
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5 HTTP_ACCEPT_ENCODING gzip, deflate HTTP_REFERER HTTP_COOKIE http://www.lsi.us.es/cursos/cursophp/ __utma=119604885.286934194.1374510753.1374510753.1374510753.1; __utmb=119604885.1.10.1374510753; __utmc=119604885; __utmz=119604885.1374510753.1.1.utmcsr=google|utmccn= (organic)|utmcmd=organic|utmctr=ejercicios%20de%20php%20con%20mysql max-stale=0 Keep-Alive DB7678CA3C0E3A3B /sbin:/usr/sbin:/bin:/usr/bin <address>Apache/2.2.3 (Red Hat) Server at www.lsi.us.es Port 80</address> Apache/2.2.3 (Red Hat)
4 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
SERVER_NAME SERVER_ADDR SERVER_PORT REMOTE_ADDR DOCUMENT_ROOT SERVER_ADMIN SCRIPT_FILENAME REMOTE_PORT GATEWAY_INTERFACE SERVER_PROTOCOL REQUEST_METHOD QUERY_STRING REQUEST_URI SCRIPT_NAME
www.lsi.us.es 10.141.1.18 80 179.184.141.210 /usr/local/web/lsi/ root@localhost /usr/local/web/lsi/cursos/cursophp/ejercicios/tema1/pruebaphp.php 30505 CGI/1.1 HTTP/1.1 GET no value /cursos/cursophp/ejercicios/tema1/pruebaphp.php /cursos/cursophp/ejercicios/tema1/pruebaphp.php
Cache-Control Connection
X-BlueCoat-Via DB7678CA3C0E3A3B HTTP Response Headers X-Powered-By Connection TransferEncoding Content-Type PHP/5.1.6 close chunked text/html
bz2
BZip2 Support Stream Wrapper support Stream Filter support BZip2 Version Enabled compress.bz2:// bzip2.decompress, bzip2.compress 1.0.3, 15-Feb-2005
5 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support CURL Information enabled libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
date
date/time support Timezone Database Version Timezone Database Default timezone enabled 0.system internal Europe/Berlin
exif
EXIF Support EXIF Version Supported EXIF Version Supported filetypes enabled 1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $ 0220 JPEG,TIFF
ftp
FTP support enabled
gd
GD Support GD Version FreeType Support FreeType Linkage enabled bundled (2.0.28 compatible) enabled with freetype
6 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
FreeType Version GIF Read Support GIF Create Support JPG Support PNG Support WBMP Support XBM Support
gettext
GetText Support enabled
gmp
gmp support enabled
hash
hash support Hashing Engines enabled md4 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 iconv implementation iconv library version enabled glibc 2.5
ldap
LDAP Support RCS Version Total Links API Version Vendor Name Vendor Version SASL Support enabled $Id: ldap.c,v 1.161.2.3 2006/01/01 12:50:08 sniper Exp $ 0/unlimited 3001 OpenLDAP 20343 Enabled
7 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
libxml
libXML support libXML Version libXML streams active 2.6.26 enabled
mime_magic
mime_magic support invalid magic file, disabled
Master Value
/usr/share/file/magic.mime
/usr/share/file/magic.mime
mysql
MySQL Support Active Persistent Links Active Links Client API version MYSQL_MODULE_TYPE MYSQL_SOCKET MYSQL_INCLUDE MYSQL_LIBS 0 0 5.0.95 external /var/lib/mysql/mysql.sock -I/usr/include/mysql -L/usr/lib64/mysql -lmysqlclient enabled
Directive mysql.allow_persistent mysql.connect_timeout mysql.default_host mysql.default_password mysql.default_port mysql.default_socket mysql.default_user mysql.max_links mysql.max_persistent mysql.trace_mode On 60
Local Value On 60
Master Value
mysqli
MysqlI Support Client API library version Client API header version MYSQLI_SOCKET 5.0.95 5.0.95 /var/lib/mysql/mysql.sock enabled
Directive mysqli.default_host
8 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
odbc
ODBC Support Active Persistent Links Active Links ODBC library ODBC_INCLUDE ODBC_LFLAGS ODBC_LIBS 0 0 unixODBC -I/usr/include -L/usr/lib64 -lodbc enabled
Directive odbc.allow_persistent odbc.check_persistent odbc.default_db odbc.default_pw odbc.default_user odbc.defaultbinmode odbc.defaultlrl odbc.max_links odbc.max_persistent On On no value no value no value return as is
Master Value
openssl
OpenSSL support OpenSSL Version enabled OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
pcre
PCRE (Perl Compatible Regular Expressions) Support PCRE Library Version enabled 6.6 06-Feb-2006
PDO
PDO support PDO drivers mysql, odbc, sqlite enabled
pdo_mysql
9 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
5.0.95
PDO_ODBC
PDO Driver for ODBC (unixODBC) ODBC Connection Pooling enabled Enabled, strict matching
pdo_sqlite
PDO Driver for SQLite 3.x PECL Module version SQLite Library enabled 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $ 3.3.6
posix
Revision $Revision: 1.70.2.3 $
pspell
PSpell Support enabled
Reflection
Reflection Version enabled $Id: php_reflection.c,v 1.164.2.33 2006/03/29 14:28:42 tony2001 Exp $
session
Session Support Registered save handlers Registered serializer handlers enabled files user php php_binary wddx
Directive session.auto_start session.bug_compat_42 session.bug_compat_warn session.cache_expire session.cache_limiter session.cookie_domain session.cookie_lifetime session.cookie_path session.cookie_secure session.entropy_file session.entropy_length Off Off On 180
Master Value
10 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
session.gc_divisor session.gc_maxlifetime session.gc_probability session.hash_bits_per_character session.hash_function session.name session.referer_check session.save_handler session.save_path session.serialize_handler session.use_cookies session.use_only_cookies session.use_trans_sid
shmop
shmop support enabled
SimpleXML
Simplexml support Revision Schema support $Revision: 1.151.2.22 $ enabled enabled
sockets
Sockets Support enabled
SPL
SPL support enabled
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 Dynamic Library Support Path to sendmail Bundled library enabled enabled /usr/sbin/sendmail -t -i
11 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
Directive assert.active assert.bail assert.callback assert.quiet_eval assert.warning auto_detect_line_endings default_socket_timeout safe_mode_allowed_env_vars 1 0 no value 0 1 0 60 PHP_
Master Value
LD_LIBRARY_PATH
sysvmsg
sysvmsg support Revision enabled $Revision: 1.20.2.3 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support WDDX Session Serializer enabled enabled
xml
XML Support XML Namespace Support libxml2 Version active active 2.6.26
zlib
ZLib Support Stream Wrapper support Stream Filter support Compiled Version Linked Version enabled compress.zlib:// zlib.inflate, zlib.deflate 1.2.3 1.2.3
Master Value
12 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
zlib.output_handler
no value
no value
Additional Modules
Module Name dbase sysvsem sysvshm
Environment
Variable TERM PATH PWD LANG SHLVL _ linux /sbin:/usr/sbin:/bin:/usr/bin / C 2 /usr/sbin/httpd Value
PHP Variables
Variable _REQUEST["__utma"] _REQUEST["__utmb"] _REQUEST["__utmc"] _REQUEST["__utmz"] _COOKIE["__utma"] _COOKIE["__utmb"] _COOKIE["__utmc"] _COOKIE["__utmz"] _SERVER["HTTP_HOST"] _SERVER["HTTP_USER_AGENT"] _SERVER["HTTP_ACCEPT"] Value 119604885.286934194.1374510753.1374510753.1374510753.1 119604885.1.10.1374510753 119604885 119604885.1374510753.1.1.utmcsr=google|utmccn= (organic)|utmcmd=organic|utmctr=ejercicios de php con mysql 119604885.286934194.1374510753.1374510753.1374510753.1 119604885.1.10.1374510753 119604885 119604885.1374510753.1.1.utmcsr=google|utmccn= (organic)|utmcmd=organic|utmctr=ejercicios de php con mysql www.lsi.us.es Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 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_REFERER"] _SERVER["HTTP_COOKIE"] http://www.lsi.us.es/cursos/cursophp/ __utma=119604885.286934194.1374510753.1374510753.1374510753.1; __utmb=119604885.1.10.1374510753; __utmc=119604885; __utmz=119604885.1374510753.1.1.utmcsr=google|utmccn= (organic)|utmcmd=organic|utmctr=ejercicios%20de%20php%20con%20mysql max-stale=0 Keep-Alive DB7678CA3C0E3A3B /sbin:/usr/sbin:/bin:/usr/bin <address>Apache/2.2.3 (Red Hat) Server at www.lsi.us.es Port 80</address>
13 of 14
phpinfo()
http://www.lsi.us.es/cursos/cursophp/ejercicios/tema1/pruebaphp.php
_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"] _ENV["TERM"] _ENV["PATH"] _ENV["PWD"] _ENV["LANG"] _ENV["SHLVL"] _ENV["_"]
Apache/2.2.3 (Red Hat) www.lsi.us.es 10.141.1.18 80 179.184.141.210 /usr/local/web/lsi/ root@localhost /usr/local/web/lsi/cursos/cursophp/ejercicios/tema1/pruebaphp.php 30505 CGI/1.1 HTTP/1.1 GET no value /cursos/cursophp/ejercicios/tema1/pruebaphp.php /cursos/cursophp/ejercicios/tema1/pruebaphp.php /cursos/cursophp/ejercicios/tema1/pruebaphp.php 1374511480 linux /sbin:/usr/sbin:/bin:/usr/bin / C 2 /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 license@php.net.
14 of 14