•  » Utilisation
  •  » Récupération de la valeur de date_creation dans la table _images

#1 2013-10-27 19:05:25

LucMorizur
Membre
Vienne (Isère, 38)
2009-03-01
1969

Récupération de la valeur de date_creation dans la table _images

Bonjour ;

malgré mon éloignement actuel du projet Piwigo (principalement dû à la mise en place d'un serveur personnel, ça prend quasiment tout mon temps disponible), je continue malgré tout à utiliser quelque peu Piwigo...

Je me suis donc installé une galerie sur un hébergement OVH. J'en suis globalement plutôt content.

Cependant je viens de constater que, dans la base de données, la valeur de date_creation dans la table pwg_images , comporte la date de création de la photo, mais pas l'heure ! Ce dans toutes les photos, que celles-ci proviennent d'un appareil comme d'un autre (ce qui a généré ma gêne, car le tri n'est pas effectué comme attendu).

Là où ça devient un peu plus sioux, c'est qu'en local, le champ est correctement renseigné, les informations de date et d'heure sont toutes deux présentes !

Je recopie ci-dessous l'extrait de local/config/config.inc.php portant sur les métadonnées, qui est identique dans les deux cas (la galerie chez OVH, et celle en local) :

Code:

$conf['show_iptc'] = true;
$conf['show_iptc_mapping'] = array(
  'iptc_caption_writer'  => '2#122',
  'iptc_copyright'       => '2#116'
  );
$conf['use_iptc'] = true;
$conf['use_iptc_mapping'] = array(
  'keywords'        => '2#025',
  'date_creation'   => '2#055',
  'author'          => '2#080',
  'name'            => '2#005',
  'comment'         => '2#120'
  );
$conf['show_exif'] = true;
$conf['show_exif_fields'] = array(
  'DateTimeOriginal',
  'COMPUTED;ApertureFNumber',
  'ExposureTime',
  'ISOSpeedRatings',
  'FocalLength',
  'FocalLengthIn35mmFilm',
  'ExposureBiasValue',
  'Flash'
  );
$conf['use_exif'] = true;
$conf['use_exif_mapping'] = array(
  'date_creation' => 'DateTimeOriginal'
);
$conf['show_metadata_by_default'] = true;

Les php info :

OVH :

Code:

PHP Logo
PHP Version 5.3.16

System   Linux web455.mp.ha.ovh.net 3.10.11-mutu-grs-ipv6-64 #1 SMP Tue Sep 24 18:07:54 CEST 2013 x86_64
Build Date   Aug 27 2012 17:34:03
Configure Command   './configure' '--prefix=/usr/local' '--with-ming' '--enable-memcached' '--enable-memcache' '--with-gd' '--enable-intl' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf=/usr' '--with-png-dir=/usr' '--with-expat-dir=/usr' '--with-dom=/usr' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--enable-wddx' '--enable-discard-path' '--with-config-file-path=/usr/local/lib' '--enable-sigchild' '--enable-magic-quotes' '--enable-short-tags' '--with-exec-dir=/home/' '--with-openssl=/usr' '--disable-rpath' '--enable-libgcc' '--disable-pic' '--with-zlib=/usr' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr' '--with-gdbm=/usr' '--with-db' '--enable-dbase' '--enable-xslt=/usr' '--with-xslt-sablot=/usr' '--with-dom=/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--enable-filepro' '--enable-ftp' '--with-gettext=/usr' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-mysql=/usr' '--with-pdflib=/var/log/ovh/PDFlib-7.0.0-Linux/bind/c' '--with-jpeg-dir=/usr' '--with-tiff-dir=/usr' '--enable-exif' '--with-sablot=/usr' '--enable-trans-sid' '--with-regex=system' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-zip' '--enable-inline-optimization' '--with-ttf=/usr' '--enable-soap' '--enable-mbstring' '--enable-mbregex' '--with-gnu-ld' '--with-xml' '--with-libxml-dir' '--enable-shared=yes' '--enable-static=yes' '--with-xsl=/usr' '--enable-track-vars' '--enable-sockets' '--with-xmlrpc' '--with-expat-dir=/usr' '--with-iconv' '--enable-pdo' '--with-pdo-mysql=/usr' '--with-pdo-pgsql=/usr' '--with-xpm-dir=/usr' '--with-t1lib=/usr' '--with-pcre-regex' '--with-freetype-dir=/usr' '--with-pspell' '--with-pgsql=/usr' '--with-bz2' '--with-gmp'
Server API   CGI/FastCGI
Virtual Directory Support   disabled
Configuration File (php.ini) Path   /usr/local/lib
Loaded Configuration File   /usr/local/lib/php.ini-2
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   https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports   tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters   zlib.*, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

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

PHP Credits
Configuration
bcmath
BCMath support   enabled

Directive  Local Value  Master Value
bcmath.scale  0  0

bz2
BZip2 Support   Enabled
Stream Wrapper support   compress.bzip2://
Stream Filter support   bzip2.decompress, bzip2.compress
BZip2 Version   1.0.5, 10-Dec-2007

calendar
Calendar support   enabled

cgi-fcgi
Directive  Local Value  Master Value
cgi.check_shebang_line  1  1
cgi.discard_path  0  0
cgi.fix_pathinfo  1  1
cgi.force_redirect  1  1
cgi.nph  0  0
cgi.redirect_status_env  no value  no value
cgi.rfc2616_headers  0  0
fastcgi.logging  1  1

Core
PHP Version   5.3.16

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  On  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  no value  no value
error_prepend_string  no value  no value
error_reporting  30719  30711
exit_on_timeout  Off  Off
expose_php  On  On
extension_dir  ./  ./
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/lib/php  .:/usr/local/lib/php
log_errors  On  On
log_errors_max_len  1024  1024
magic_quotes_gpc  On  On
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  120  120
max_file_uploads  20  20
max_input_nesting_level  64  64
max_input_time  60  60
max_input_vars  2000  2000
memory_limit  128M  128M
open_basedir  no value  no value
output_buffering  4096  4096
output_handler  no value  no value
post_max_size  64M  64M
precision  14  14
realpath_cache_size  2M  2M
realpath_cache_ttl  300  300
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  /home/  /home/
safe_mode_gid  Off  Off
safe_mode_include_dir  no value  no value
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  64M  64M
upload_tmp_dir  no value  no value
user_dir  no value  no value
user_ini.cache_ttl  300  300
user_ini.filename  .user.ini  .user.ini
variables_order  GPCS  GPCS
xmlrpc_error_number  0  0
xmlrpc_errors  Off  Off
y2k_compliance  On  On
zend.enable_gc  On  On

ctype
ctype functions   enabled

curl
cURL support   enabled
cURL Information   7.21.0
Age   3
Features
AsynchDNS   No
Debug   No
GSS-Negotiate   Yes
IDN   Yes
IPv6   Yes
Largefile   Yes
NTLM   Yes
SPNEGO   No
SSL   Yes
SSPI   No
krb4   No
libz   Yes
CharConv   No
Protocols   dict, file, ftp, ftps, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Host   i486-pc-linux-gnu
SSL Version   OpenSSL/0.9.8o
ZLib Version   1.2.3.4
libSSH Version   libssh2/1.2.6

date
date/time support   enabled
"Olson" Timezone Database Version   2012.3
Timezone Database   internal
Default timezone   Europe/Paris

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  Europe/Paris  Europe/Paris

dba
DBA support   enabled
Supported handlers   gdbm cdb cdb_make inifile flatfile

Directive  Local Value  Master Value
dba.default_handler  flatfile  flatfile

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

ereg
Regex Library   System library enabled

exif
EXIF Support   enabled
EXIF Version   1.4 $Id$
Supported EXIF Version   0220
Supported filetypes   JPEG,TIFF

Directive  Local Value  Master Value
exif.decode_jis_intel  JIS  JIS
exif.decode_jis_motorola  JIS  JIS
exif.decode_unicode_intel  UCS-2LE  UCS-2LE
exif.decode_unicode_motorola  UCS-2BE  UCS-2BE
exif.encode_jis  no value  no value
exif.encode_unicode  ISO-8859-15  ISO-8859-15

fileinfo
fileinfo support   enabled
version   1.0.5-dev

filter
Input Validation and Filtering   enabled
Revision   $Id: 2b8c730d7dfaa8485d07cd792f0c82852ffe4113 $

Directive  Local Value  Master Value
filter.default  unsafe_raw  unsafe_raw
filter.default_flags  no value  no 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.4.2
T1Lib Support   enabled
GIF Read Support   enabled
GIF Create Support   enabled
JPEG Support   enabled
libJPEG Version   6b
PNG Support   enabled
libPNG Version   1.2.44
WBMP Support   enabled
XPM Support   enabled
XBM Support   enabled

Directive  Local Value  Master Value
gd.jpeg_ignore_warning  0  0

gettext
GetText Support   enabled

gmp
gmp support   enabled
GMP version   4.3.2

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.11.3

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

imap
IMAP c-Client Version   2007e
SSL Support   enabled
Kerberos Support   enabled

intl
Internationalization support  enabled
version   1.1.0
ICU version   4.4.1
ICU Data version   4.4.0.1

Directive  Local Value  Master Value
intl.default_locale  no value  no value
intl.error_level  0  0

json
json support   enabled
json version   1.2.1

libxml
libXML support   active
libXML Compiled Version   2.7.8
libXML Loaded Version   20708
libXML streams   enabled

mbstring
Multibyte Support   enabled
Multibyte string engine   libmbfl
HTTP input encoding translation   disabled

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

Multibyte (japanese) regex support   enabled
Multibyte regex (oniguruma) backtrack check   On
Multibyte regex (oniguruma) version   4.7.1

Directive  Local Value  Master Value
mbstring.detect_order  no value  no value
mbstring.encoding_translation  Off  Off
mbstring.func_overload  0  0
mbstring.http_input  pass  pass
mbstring.http_output  pass  pass
mbstring.http_output_conv_mimetypes  ^(text/|application/xhtml\+xml)  ^(text/|application/xhtml\+xml)
mbstring.internal_encoding  no value  no value
mbstring.language  neutral  neutral
mbstring.strict_detection  Off  Off
mbstring.substitute_character  no value  no value

mcrypt
mcrypt support  enabled
mcrypt_filter support  enabled
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

Directive  Local Value  Master Value
mcrypt.algorithms_dir  no value  no value
mcrypt.modes_dir  no value  no value

memcache
memcache support  enabled
Version   3.0.6
Revision   $Revision: 310129 $

Directive  Local Value  Master Value
memcache.allow_failover  1  1
memcache.chunk_size  32768  32768
memcache.compress_threshold  20000  20000
memcache.default_port  11211  11211
memcache.hash_function  crc32  crc32
memcache.hash_strategy  consistent  consistent
memcache.lock_timeout  15  15
memcache.max_failover_attempts  20  20
memcache.protocol  ascii  ascii
memcache.redundancy  1  1
memcache.session_redundancy  2  2

memcached
memcached support  enabled
Version   1.0.2
libmemcached version   0.40
Session support   yes
igbinary support   no

mhash
MHASH support   Enabled
MHASH API Version   Emulated Support

ming
Ming SWF output library   enabled
Version   0.4.3

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

Directive  Local Value  Master Value
mysql.allow_local_infile  On  On
mysql.allow_persistent  Off  Off
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  /var/run/mysqld/mysqld.sock  /var/run/mysqld/mysqld.sock
mysql.default_user  no value  no value
mysql.max_links  Unlimited  Unlimited
mysql.max_persistent  0  0
mysql.trace_mode  Off  Off

mysqli
MysqlI Support  enabled
Client API library version   5.1.61
Active Persistent Links   0
Inactive Persistent Links   0
Active Links   1
Client API header version   5.1.61
MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock

Directive  Local Value  Master Value
mysqli.allow_local_infile  On  On
mysqli.allow_persistent  On  On
mysqli.default_host  no value  no value
mysqli.default_port  3306  3306
mysqli.default_pw  no value  no value
mysqli.default_socket  no value  no value
mysqli.default_user  no value  no value
mysqli.max_links  Unlimited  Unlimited
mysqli.max_persistent  Unlimited  Unlimited
mysqli.reconnect  Off  Off

openssl
OpenSSL support   enabled
OpenSSL Library Version   OpenSSL 0.9.8o 01 Jun 2010
OpenSSL Header Version   OpenSSL 0.9.8o 01 Jun 2010

pcre
PCRE (Perl Compatible Regular Expressions) Support   enabled
PCRE Library Version   8.12 2011-01-15

Directive  Local Value  Master Value
pcre.backtrack_limit  1000000  1000000
pcre.recursion_limit  100000  100000

pdf
PDF Support   enabled
PDFlib GmbH Binary-Version   7.0.0
PECL Version   2.1.1
Revision   $Revision: 1.3 $

PDO
PDO support  enabled
PDO drivers   mysql, pgsql, sqlite, sqlite2

pdo_mysql
PDO Driver for MySQL  enabled
Client API version   5.1.61

Directive  Local Value  Master Value
pdo_mysql.default_socket  /var/run/mysqld/mysqld.sock  /var/run/mysqld/mysqld.sock

pdo_pgsql
PDO Driver for PostgreSQL  enabled
PostgreSQL(libpq) Version   8.4.11
Module version   1.0.2
Revision   $Id$

pdo_sqlite
PDO Driver for SQLite 3.x  enabled
SQLite Library   3.7.7.1

pgsql
PostgreSQL Support  enabled
PostgreSQL(libpq) Version   8.4.11
Multibyte character support   enabled
SSL support   enabled
Active Persistent Links   0
Active Links   0

Directive  Local Value  Master Value
pgsql.allow_persistent  Off  Off
pgsql.auto_reset_persistent  Off  Off
pgsql.ignore_notice  Off  Off
pgsql.log_notice  Off  Off
pgsql.max_links  Unlimited  Unlimited
pgsql.max_persistent  0  0

Phar
Phar: PHP Archive support  enabled
Phar EXT version   2.0.1
Phar API version   1.1.1
SVN revision   $Id: f7d08da4ab9e515975840c28b830edc9437c3026 $
Phar-based phar archives   enabled
Tar-based phar archives   enabled
ZIP-based phar archives   enabled
gzip compression   enabled
bzip2 compression   enabled
OpenSSL support   enabled

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   $Id: c00b7465003bf16b27764ccaea3c159ca2e4419d $

pspell
PSpell Support   enabled

Reflection
Reflection  enabled
Version   $Id: 23c90449811cd1a9c860b115456b64946c2823a9 $

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

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  On  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  1000  1000
session.gc_maxlifetime  1440  1440
session.gc_probability  0  0
session.hash_bits_per_character  5  5
session.hash_function  0  0
session.name  pwg_id  PHPSESSID
session.referer_check  no value  no value
session.save_handler  user  files
session.save_path  /tmp  /tmp
session.serialize_handler  php  php
session.use_cookies  On  On
session.use_only_cookies  On  Off
session.use_trans_sid  0  1

SimpleXML
Simplexml support  enabled
Revision   $Id: a379111021e24ef020a2eefd8ca830cb1ab5b280 $
Schema support   enabled

soap
Soap Client   enabled
Soap Server   enabled

Directive  Local Value  Master Value
soap.wsdl_cache  1  1
soap.wsdl_cache_dir  /tmp  /tmp
soap.wsdl_cache_enabled  1  1
soap.wsdl_cache_limit  5  5
soap.wsdl_cache_ttl  86400  86400

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, 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 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.7.7.1

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
from  no value  no value
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=fakeentry  a=href,area=href,frame=src,input=src,form=fakeentry
user_agent  no value  no value

sysvmsg
sysvmsg support   enabled
Revision   $Id: bf99fb053e35d98fb01c414dda6d4813a55e6647 $

tokenizer
Tokenizer Support   enabled

wddx
WDDX Support  enabled
WDDX Session Serializer   enabled

xml
XML Support   active
XML Namespace Support   active
libxml2 Version   2.7.8

xmlreader
XMLReader   enabled

xmlrpc
core library version   xmlrpc-epi v. 0.51
php extension version   0.51
author   Dan Libby
homepage   http://xmlrpc-epi.sourceforge.net
open sourced by   Epinions.com

xmlwriter
XMLWriter   enabled

xsl
XSL   enabled
libxslt Version   1.1.26
libxslt compiled against libxml Version   2.7.7
EXSLT   enabled
libexslt Version   1.1.26

zip
Zip   enabled
Extension Version   $Id$
Zip version   1.11.0
Libzip version   0.10.1

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

Directive  Local Value  Master Value
zlib.output_compression  Off  Off
zlib.output_compression_level  -1  -1
zlib.output_handler  no value  no value

Additional Modules
Module Name
sysvsem
sysvshm

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.

Local :

Code:

PHP Logo
PHP Version 5.4.3

System   Windows NT FRA1028 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
Build Date   May 8 2012 00:47:34
Compiler   MSVC9 (Visual C++ 2008)
Architecture   x86
Configure Command   cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
Server API   Apache 2.0 Handler
Virtual Directory Support   enabled
Configuration File (php.ini) Path   C:\WINDOWS
Loaded Configuration File   C:\wamp\bin\apache\apache2.2.22\bin\php.ini
Scan this dir for additional .ini files   (none)
Additional .ini files parsed   (none)
PHP API   20100412
PHP Extension   20100525
Zend Extension   220100525
Zend Extension Build   API220100525,TS,VC9
PHP Extension Build   API20100525,TS,VC9
Debug Build   no
Thread Safety   enabled
Zend Signal Handling   disabled
Zend Memory Manager   enabled
Zend Multibyte Support   provided by mbstring
IPv6 Support   enabled
DTrace Support   disabled
Registered PHP Streams  php, file, glob, data, http, ftp, zip, compress.zlib, phar
Registered Stream Socket Transports  tcp, udp
Registered Stream Filters  convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans

PHP Credits
Configuration
apache2handler
Apache Version   Apache/2.2.22 (Win32) PHP/5.4.3
Apache API Version   20051115
Server Administrator   admin@localhost
Hostname:Port   localhost:80
Max Requests   Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts   Connection: 300 - Keep-Alive: 5
Virtual Server   No
Server Root   C:/wamp/bin/apache/apache2.2.22
Loaded Modules   core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

Directive  Local Value  Master Value
engine  1  1
last_modified  0  0
xbithack  0  0

Apache Environment
Variable  Value
HTTP_HOST   localhost
HTTP_USER_AGENT   Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0
HTTP_ACCEPT   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE   fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_ENCODING   gzip, deflate
HTTP_DNT   1
HTTP_REFERER   http://localhost/pwg-now/admin.php
HTTP_COOKIE   pwg_id=9fo411ep3dcdjqvbq45vbhqth4; page-menu=visible
HTTP_X_DNT_OVERSION   2.2.5.1205
HTTP_X_DNT_COHORT   2012-12-13
HTTP_X_DNT_VERSION   2.2.9.618 FF ffamo 10216
HTTP_CONNECTION   keep-alive
PATH   C:\;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\PROGRA~2;C:\PROGRA~2\Outils;C:\PROGRA~2\NOTEPA~1;C:\Program Files\Win Resource Kit tools\;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Intel\WiFi\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging\;C:\Program Files\Common Files\Nero\Lib\;C:\Programmes perso\Olaay\;C:\wamp\bin\php\PHP54~1.3;C:\Program Files\PostgreSQL\bin;C:\Programmes perso\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
SystemRoot   C:\WINDOWS
COMSPEC   C:\WINDOWS\system32\cmd.exe
PATHEXT   .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
WINDIR   C:\WINDOWS
SERVER_SIGNATURE   no value
SERVER_SOFTWARE   Apache/2.2.22 (Win32) PHP/5.4.3
SERVER_NAME   localhost
SERVER_ADDR   127.0.0.1
SERVER_PORT   80
REMOTE_ADDR   127.0.0.1
DOCUMENT_ROOT   C:/wamp/www/
SERVER_ADMIN   admin@localhost
SCRIPT_FILENAME   C:/wamp/www/pwg-now/admin.php
REMOTE_PORT   1367
GATEWAY_INTERFACE   CGI/1.1
SERVER_PROTOCOL   HTTP/1.1
REQUEST_METHOD   GET
QUERY_STRING   action=phpinfo
REQUEST_URI   /pwg-now/admin.php?action=phpinfo
SCRIPT_NAME   /pwg-now/admin.php

HTTP Headers Information
HTTP Request Headers
HTTP Request   GET /pwg-now/admin.php?action=phpinfo HTTP/1.1
Host   localhost
User-Agent   Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0
Accept   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language   fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding   gzip, deflate
DNT   1
Referer   http://localhost/pwg-now/admin.php
Cookie   pwg_id=9fo411ep3dcdjqvbq45vbhqth4; page-menu=visible
X-DNT-OVersion   2.2.5.1205
X-DNT-Cohort   2012-12-13
X-DNT-Version   2.2.9.618 FF ffamo 10216
Connection   keep-alive
HTTP Response Headers
X-Powered-By   PHP/5.4.3
Expires   Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma   no-cache

bcmath
BCMath support   enabled

Directive  Local Value  Master Value
bcmath.scale  0  0

calendar
Calendar support   enabled

com_dotnet
COM support  enabled
DCOM support  disabled
.Net support  enabled

Directive  Local Value  Master Value
com.allow_dcom  0  0
com.autoregister_casesensitive  1  1
com.autoregister_typelib  0  0
com.autoregister_verbose  0  0
com.code_page  no value  no value
com.typelib_file  no value  no value

Core
PHP Version   5.4.3

Directive  Local Value  Master Value
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
disable_classes  no value  no value
disable_functions  no value  no value
display_errors  On  On
display_startup_errors  On  On
doc_root  no value  no value
docref_ext  no value  no value
docref_root  no value  no value
enable_dl  Off  Off
enable_post_data_reading  On  On
error_append_string  no value  no value
error_log  no value  no value
error_prepend_string  no value  no value
error_reporting  32767  32767
exit_on_timeout  Off  Off
expose_php  On  On
extension_dir  c:/wamp/bin/php/php5.4.3/ext/  c:/wamp/bin/php/php5.4.3/ext/
file_uploads  On  On
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  .;C:\php\pear  .;C:\php\pear
log_errors  On  On
log_errors_max_len  1024  1024
mail.add_x_header  On  On
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
max_input_vars  1000  1000
memory_limit  128M  128M
open_basedir  no value  no value
output_buffering  1  1
output_handler  no value  no value
post_max_size  8M  8M
precision  14  14
realpath_cache_size  16K  16K
realpath_cache_ttl  120  120
register_argc_argv  Off  Off
report_memleaks  On  On
report_zend_debug  On  On
request_order  GP  GP
sendmail_from  lucmorizur@free.fr  lucmorizur@free.fr
sendmail_path  no value  no value
serialize_precision  100  100
short_open_tag  Off  Off
SMTP  smtp.free.fr  smtp.free.fr
smtp_port  25  25
sql.safe_mode  Off  Off
track_errors  On  On
unserialize_callback_func  no value  no value
upload_max_filesize  2M  2M
upload_tmp_dir  c:/wamp/tmp  c:/wamp/tmp
user_dir  no value  no value
user_ini.cache_ttl  300  300
user_ini.filename  .user.ini  .user.ini
variables_order  GPCS  GPCS
windows.show_crt_warning  Off  Off
xmlrpc_error_number  0  0
xmlrpc_errors  Off  Off
zend.detect_unicode  On  On
zend.enable_gc  On  On
zend.multibyte  Off  Off
zend.script_encoding  no value  no value

ctype
ctype functions   enabled

date
date/time support   enabled
"Olson" Timezone Database Version   2012.2
Timezone Database   internal
Default timezone   UTC

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  UTC  UTC

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

ereg
Regex Library   Bundled library enabled

exif
EXIF Support   enabled
EXIF Version   1.4 $Id$
Supported EXIF Version   0220
Supported filetypes   JPEG,TIFF

Directive  Local Value  Master Value
exif.decode_jis_intel  JIS  JIS
exif.decode_jis_motorola  JIS  JIS
exif.decode_unicode_intel  UCS-2LE  UCS-2LE
exif.decode_unicode_motorola  UCS-2BE  UCS-2BE
exif.encode_jis  no value  no value
exif.encode_unicode  ISO-8859-15  ISO-8859-15

filter
Input Validation and Filtering   enabled
Revision   $Id: e523cdc8829892d1b4f9cb7c3c57b2ba1c36b9ea $

Directive  Local Value  Master Value
filter.default  unsafe_raw  unsafe_raw
filter.default_flags  no value  no 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.4.3
GIF Read Support   enabled
GIF Create Support   enabled
JPEG Support   enabled
libJPEG Version   6b
PNG Support   enabled
libPNG Version   1.2.46
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 fnv132 fnv164 joaat 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   "libiconv"
iconv library version   1.11

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.7.7
libXML Loaded Version   20707
libXML streams   enabled

mbstring
Multibyte Support   enabled
Multibyte string engine   libmbfl
HTTP input encoding translation   disabled
libmbfl version   1.3.2

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

Multibyte (japanese) regex support   enabled
Multibyte regex (oniguruma) version   4.7.1

Directive  Local Value  Master Value
mbstring.detect_order  no value  no value
mbstring.encoding_translation  Off  Off
mbstring.func_overload  0  0
mbstring.http_input  pass  pass
mbstring.http_output  pass  pass
mbstring.http_output_conv_mimetypes  ^(text/|application/xhtml\+xml)  ^(text/|application/xhtml\+xml)
mbstring.internal_encoding  no value  no value
mbstring.language  neutral  neutral
mbstring.strict_detection  Off  Off
mbstring.substitute_character  no value  no value

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

Directive  Local Value  Master Value
mcrypt.algorithms_dir  no value  no value
mcrypt.modes_dir  no value  no value

mhash
MHASH support   Enabled
MHASH API Version   Emulated Support

mysql
MySQL Support  enabled
Active Persistent Links   0
Active Links   0
Client API version   mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $

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  no value  no value
mysql.default_user  no value  no value
mysql.max_links  Unlimited  Unlimited
mysql.max_persistent  Unlimited  Unlimited
mysql.trace_mode  Off  Off

mysqli
MysqlI Support  enabled
Client API library version   mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
Active Persistent Links   0
Inactive Persistent Links   0
Active Links   1

Directive  Local Value  Master Value
mysqli.allow_local_infile  On  On
mysqli.allow_persistent  On  On
mysqli.default_host  no value  no value
mysqli.default_port  3306  3306
mysqli.default_pw  no value  no value
mysqli.default_socket  no value  no value
mysqli.default_user  no value  no value
mysqli.max_links  Unlimited  Unlimited
mysqli.max_persistent  Unlimited  Unlimited
mysqli.reconnect  Off  Off

mysqlnd
mysqlnd  enabled
Version   mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
Compression   supported
SSL   supported
Command buffer size   4096
Read buffer size   32768
Read timeout   31536000
Collecting statistics   Yes
Collecting memory statistics   Yes
Tracing   n/a
Loaded plugins   mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
API Extensions   mysql,mysqli,pdo_mysql

mysqlnd statistics  
bytes_sent   22845
bytes_received   243068
packets_sent   500
packets_received   3568
protocol_overhead_in   14272
protocol_overhead_out   2000
bytes_received_ok_packet   0
bytes_received_eof_packet   0
bytes_received_rset_header_packet   1620
bytes_received_rset_field_meta_packet   0
bytes_received_rset_row_packet   1291
bytes_received_prepare_response_packet   51594
bytes_received_change_user_packet   186125
packets_sent_command   235
packets_received_ok   0
packets_received_eof   0
packets_received_rset_header   180
packets_received_rset_field_meta   0
packets_received_rset_row   209
packets_received_prepare_response   755
packets_received_change_user   2381
result_set_queries   180
non_result_set_queries   28
no_index_used   73
bad_index_used   0
slow_queries   0
buffered_sets   180
unbuffered_sets   0
ps_buffered_sets   0
ps_unbuffered_sets   0
flushed_normal_sets   0
flushed_ps_sets   0
ps_prepared_never_executed   0
ps_prepared_once_executed   0
rows_fetched_from_server_normal   2201
rows_fetched_from_server_ps   0
rows_buffered_from_client_normal   2201
rows_buffered_from_client_ps   0
rows_fetched_from_client_normal_buffered   2199
rows_fetched_from_client_normal_unbuffered   0
rows_fetched_from_client_ps_buffered   0
rows_fetched_from_client_ps_unbuffered   0
rows_fetched_from_client_ps_cursor   0
rows_affected_normal   9
rows_affected_ps   0
rows_skipped_normal   2201
rows_skipped_ps   0
copy_on_write_saved   3539
copy_on_write_performed   6015
command_buffer_too_small   0
connect_success   15
connect_failure   0
connection_reused   0
reconnect   0
pconnect_success   8
active_connections   18446744073709551605
active_persistent_connections   18446744073709551608
explicit_close   13
implicit_close   0
disconnect_close   0
in_middle_of_command_close   0
explicit_free_result   180
implicit_free_result   0
explicit_stmt_close   0
implicit_stmt_close   0
mem_emalloc_count   943
mem_emalloc_amount   97691
mem_ecalloc_count   2040
mem_ecalloc_amount   615884
mem_erealloc_count   1078
mem_erealloc_amount   153044
mem_efree_count   3032
mem_efree_amount   711915
mem_malloc_count   2767
mem_malloc_amount   2996371
mem_calloc_count   352
mem_calloc_amount   24524
mem_realloc_count   0
mem_realloc_amount   0
mem_free_count   3190
mem_free_amount   3021677
mem_estrndup_count   29
mem_strndup_count   30
mem_estndup_count   50
mem_strdup_count   41
proto_text_fetched_null   0
proto_text_fetched_bit   0
proto_text_fetched_tinyint   220
proto_text_fetched_short   508
proto_text_fetched_int24   319
proto_text_fetched_int   123
proto_text_fetched_bigint   1295
proto_text_fetched_decimal   0
proto_text_fetched_float   0
proto_text_fetched_double   25
proto_text_fetched_date   100
proto_text_fetched_year   0
proto_text_fetched_time   0
proto_text_fetched_datetime   497
proto_text_fetched_timestamp   0
proto_text_fetched_string   4881
proto_text_fetched_blob   616
proto_text_fetched_enum   0
proto_text_fetched_set   0
proto_text_fetched_geometry   0
proto_text_fetched_other   0
proto_binary_fetched_null   0
proto_binary_fetched_bit   0
proto_binary_fetched_tinyint   0
proto_binary_fetched_short   0
proto_binary_fetched_int24   0
proto_binary_fetched_int   0
proto_binary_fetched_bigint   0
proto_binary_fetched_decimal   0
proto_binary_fetched_float   0
proto_binary_fetched_double   0
proto_binary_fetched_date   0
proto_binary_fetched_year   0
proto_binary_fetched_time   0
proto_binary_fetched_datetime   0
proto_binary_fetched_timestamp   0
proto_binary_fetched_string   0
proto_binary_fetched_blob   0
proto_binary_fetched_enum   0
proto_binary_fetched_set   0
proto_binary_fetched_geometry   0
proto_binary_fetched_other   0
init_command_executed_count   0
init_command_failed_count   0
com_quit   13
com_init_db   13
com_query   209
com_field_list   0
com_create_db   0
com_drop_db   0
com_refresh   0
com_shutdown   0
com_statistics   0
com_process_info   0
com_connect   0
com_process_kill   0
com_debug   0
com_ping   0
com_time   0
com_delayed_insert   0
com_change_user   0
com_binlog_dump   0
com_table_dump   0
com_connect_out   0
com_register_slave   0
com_stmt_prepare   0
com_stmt_execute   0
com_stmt_send_long_data   0
com_stmt_close   0
com_stmt_reset   0
com_stmt_set_option   0
com_stmt_fetch   0
com_deamon   0
bytes_received_real_data_normal   166908
bytes_received_real_data_ps   0

example statistics  
stat1   0
stat2   0

odbc
ODBC Support  enabled
Active Persistent Links   0
Active Links   0
ODBC library   Win32

Directive  Local Value  Master Value
odbc.allow_persistent  On  On
odbc.check_persistent  On  On
odbc.default_cursortype  Static cursor  Static cursor
odbc.default_db  no value  no value
odbc.default_pw  no value  no value
odbc.default_user  no value  no value
odbc.defaultbinmode  return as is  return as is
odbc.defaultlrl  return up to 4096 bytes  return up to 4096 bytes
odbc.max_links  Unlimited  Unlimited
odbc.max_persistent  Unlimited  Unlimited

pcre
PCRE (Perl Compatible Regular Expressions) Support   enabled
PCRE Library Version   8.12 2011-01-15

Directive  Local Value  Master Value
pcre.backtrack_limit  1000000  1000000
pcre.recursion_limit  100000  100000

PDO
PDO support  enabled
PDO drivers   mysql, pgsql, sqlite

pdo_mysql
PDO Driver for MySQL  enabled
Client API version   mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $

pdo_pgsql
PDO Driver for PostgreSQL  enabled
PostgreSQL(libpq) Version   8.3.3
Module version   1.0.2
Revision   $Id$

pdo_sqlite
PDO Driver for SQLite 3.x  enabled
SQLite Library   3.7.7.1

pgsql
PostgreSQL Support  enabled
PostgreSQL(libpq) Version   8.3.3
Multibyte character support   enabled
SSL support   enabled
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   $Id: 2a47d3d0354109d8077e34d59f1228ccfd021d59 $
Phar-based phar archives   enabled
Tar-based phar archives   enabled
ZIP-based phar archives   enabled
gzip compression   enabled
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

Reflection
Reflection  enabled
Version   $Id: 1cf65cee164ed57874ce2d29e5c46b82f6139524 $

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

Directive  Local Value  Master Value
session.auto_start  Off  Off
session.cache_expire  180  180
session.cache_limiter  nocache  nocache
session.cookie_domain  no value  no value
session.cookie_httponly  On  Off
session.cookie_lifetime  0  0
session.cookie_path  /pwg-now/  /
session.cookie_secure  Off  Off
session.entropy_file  no value  no value
session.entropy_length  0  0
session.gc_divisor  1000  1000
session.gc_maxlifetime  1440  1440
session.gc_probability  1  1
session.hash_bits_per_character  5  5
session.hash_function  0  0
session.name  pwg_id  PHPSESSID
session.referer_check  no value  no value
session.save_handler  user  files
session.save_path  c:/wamp/tmp  c:/wamp/tmp
session.serialize_handler  php  php
session.upload_progress.cleanup  On  On
session.upload_progress.enabled  On  On
session.upload_progress.freq  1%  1%
session.upload_progress.min_freq  1  1
session.upload_progress.name  PHP_SESSION_UPLOAD_PROGRESS  PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix  upload_progress_  upload_progress_
session.use_cookies  On  On
session.use_only_cookies  On  On
session.use_trans_sid  0  0

SimpleXML
Simplexml support  enabled
Revision   $Id: 455280fc74f9f002b7314def7a456f6c3080eb92 $
Schema support   enabled

SPL
SPL support  enabled
Interfaces   Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes   AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

standard
Dynamic Library Support   enabled
Internal Sendmail Support for Windows   enabled

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
from  no value  no value
url_rewriter.tags  a=href,area=href,frame=src,input=src,form=fakeentry  a=href,area=href,frame=src,input=src,form=fakeentry
user_agent  no value  no value

tokenizer
Tokenizer Support   enabled

wddx
WDDX Support  enabled
WDDX Session Serializer   enabled

xdebug
xdebug support  enabled
Version   2.2.0
IDE Key   no value

Supported protocols  Revision
DBGp - Common DeBuGger Protocol   $Revision: 1.145 $

Directive  Local Value  Master Value
xdebug.auto_trace  Off  Off
xdebug.cli_color  0  0
xdebug.collect_assignments  Off  Off
xdebug.collect_includes  On  On
xdebug.collect_params  0  0
xdebug.collect_return  Off  Off
xdebug.collect_vars  Off  Off
xdebug.coverage_enable  On  On
xdebug.default_enable  On  On
xdebug.dump.COOKIE  no value  no value
xdebug.dump.ENV  no value  no value
xdebug.dump.FILES  no value  no value
xdebug.dump.GET  no value  no value
xdebug.dump.POST  no value  no value
xdebug.dump.REQUEST  no value  no value
xdebug.dump.SERVER  no value  no value
xdebug.dump.SESSION  no value  no value
xdebug.dump_globals  On  On
xdebug.dump_once  On  On
xdebug.dump_undefined  Off  Off
xdebug.extended_info  On  On
xdebug.file_link_format  no value  no value
xdebug.idekey  no value  no value
xdebug.manual_url  http://www.php.net  http://www.php.net
xdebug.max_nesting_level  100  100
xdebug.overload_var_dump  On  On
xdebug.profiler_aggregate  Off  Off
xdebug.profiler_append  Off  Off
xdebug.profiler_enable  Off  Off
xdebug.profiler_enable_trigger  Off  Off
xdebug.profiler_output_dir  c:/wamp/tmp  c:/wamp/tmp
xdebug.profiler_output_name  cachegrind.out.%t.%p  cachegrind.out.%t.%p
xdebug.remote_autostart  Off  Off
xdebug.remote_connect_back  Off  Off
xdebug.remote_cookie_expire_time  3600  3600
xdebug.remote_enable  Off  Off
xdebug.remote_handler  dbgp  dbgp
xdebug.remote_host  localhost  localhost
xdebug.remote_log  no value  no value
xdebug.remote_mode  req  req
xdebug.remote_port  9000  9000
xdebug.scream  Off  Off
xdebug.show_exception_trace  Off  Off
xdebug.show_local_vars  Off  Off
xdebug.show_mem_delta  Off  Off
xdebug.trace_enable_trigger  Off  Off
xdebug.trace_format  0  0
xdebug.trace_options  0  0
xdebug.trace_output_dir  \  \
xdebug.trace_output_name  trace.%c  trace.%c
xdebug.var_display_max_children  128  128
xdebug.var_display_max_data  512  512
xdebug.var_display_max_depth  3  3

xml
XML Support   active
XML Namespace Support   active
libxml2 Version   2.7.7

xmlreader
XMLReader   enabled

xmlwriter
XMLWriter   enabled

zip
Zip   enabled
Extension Version   $Id$
Zip version   1.9.1
Libzip version   0.9.0

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

Directive  Local Value  Master Value
zlib.output_compression  Off  Off
zlib.output_compression_level  -1  -1
zlib.output_handler  no value  no value

Additional Modules
Module Name

Environment
Variable  Value
ALLUSERSPROFILE   C:\Documents and Settings\All Users
asl.log   Destination=file
CLASSPATH   .;C:\Program Files\Java\jre7\lib\ext\QTJava.zip
CommonProgramFiles   C:\Program Files\Common Files
COMPUTERNAME   FRA1028
ComSpec   C:\WINDOWS\system32\cmd.exe
DEFLOGDIR   C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
DIRCMD   /p/oen
FP_NO_HOST_CHECK   NO
NUMBER_OF_PROCESSORS   2
OS   Windows_NT
Path   C:\;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\PROGRA~2;C:\PROGRA~2\Outils;C:\PROGRA~2\NOTEPA~1;C:\Program Files\Win Resource Kit tools\;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Intel\WiFi\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging\;C:\Program Files\Common Files\Nero\Lib\;C:\Programmes perso\Olaay\;C:\wamp\bin\php\PHP54~1.3;C:\Program Files\PostgreSQL\bin;C:\Programmes perso\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
PATHEXT   .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PHPRC   C:\wamp\bin\php\PHP53~1.0
PROCESSOR_ARCHITECTURE   x86
PROCESSOR_IDENTIFIER   x86 Family 6 Model 14 Stepping 8, GenuineIntel
PROCESSOR_LEVEL   6
PROCESSOR_REVISION   0e08
ProgramFiles   C:\Program Files
PSModulePath   C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
QTJAVA   C:\Program Files\Java\jre7\lib\ext\QTJava.zip
SystemDrive   C:
SystemRoot   C:\WINDOWS
TEMP   C:\WINDOWS\TEMP
TMP   C:\WINDOWS\TEMP
UATDATA   C:\WINDOWS\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERPROFILE   C:\Documents and Settings\LocalService
VSEDEFLOGDIR   C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
windir   C:\WINDOWS
AP_PARENT_PID   3512

PHP Variables
Variable  Value
_REQUEST["action"]  phpinfo
_GET["action"]  phpinfo
_COOKIE["pwg_id"]  9fo411ep3dcdjqvbq45vbhqth4
_COOKIE["page-menu"]  visible
_SERVER["HTTP_HOST"]  localhost
_SERVER["HTTP_USER_AGENT"]  Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0
_SERVER["HTTP_ACCEPT"]  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]  fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
_SERVER["HTTP_ACCEPT_ENCODING"]  gzip, deflate
_SERVER["HTTP_DNT"]  1
_SERVER["HTTP_REFERER"]  http://localhost/pwg-now/admin.php
_SERVER["HTTP_COOKIE"]  pwg_id=9fo411ep3dcdjqvbq45vbhqth4; page-menu=visible
_SERVER["HTTP_X_DNT_OVERSION"]  2.2.5.1205
_SERVER["HTTP_X_DNT_COHORT"]  2012-12-13
_SERVER["HTTP_X_DNT_VERSION"]  2.2.9.618 FF ffamo 10216
_SERVER["HTTP_CONNECTION"]  keep-alive
_SERVER["PATH"]  C:\;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\PROGRA~2;C:\PROGRA~2\Outils;C:\PROGRA~2\NOTEPA~1;C:\Program Files\Win Resource Kit tools\;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Intel\WiFi\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging\;C:\Program Files\Common Files\Nero\Lib\;C:\Programmes perso\Olaay\;C:\wamp\bin\php\PHP54~1.3;C:\Program Files\PostgreSQL\bin;C:\Programmes perso\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
_SERVER["SystemRoot"]  C:\WINDOWS
_SERVER["COMSPEC"]  C:\WINDOWS\system32\cmd.exe
_SERVER["PATHEXT"]  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
_SERVER["WINDIR"]  C:\WINDOWS
_SERVER["SERVER_SIGNATURE"]  no value
_SERVER["SERVER_SOFTWARE"]  Apache/2.2.22 (Win32) PHP/5.4.3
_SERVER["SERVER_NAME"]  localhost
_SERVER["SERVER_ADDR"]  127.0.0.1
_SERVER["SERVER_PORT"]  80
_SERVER["REMOTE_ADDR"]  127.0.0.1
_SERVER["DOCUMENT_ROOT"]  C:/wamp/www/
_SERVER["SERVER_ADMIN"]  admin@localhost
_SERVER["SCRIPT_FILENAME"]  C:/wamp/www/pwg-now/admin.php
_SERVER["REMOTE_PORT"]  1367
_SERVER["GATEWAY_INTERFACE"]  CGI/1.1
_SERVER["SERVER_PROTOCOL"]  HTTP/1.1
_SERVER["REQUEST_METHOD"]  GET
_SERVER["QUERY_STRING"]  action=phpinfo
_SERVER["REQUEST_URI"]  /pwg-now/admin.php?action=phpinfo
_SERVER["SCRIPT_NAME"]  /pwg-now/admin.php
_SERVER["PHP_SELF"]  /pwg-now/admin.php
_SERVER["REQUEST_TIME_FLOAT"]  1382889815.078
_SERVER["REQUEST_TIME"]  1382889815

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.

J'ai cherché dans les tags et dans différents messages, dans les forums franco- et anglophones, je n'ai rien trouvé.

Merci si quelqu'un a une idée ! (Autre que modifier à la main la table pwg_images -_- ... :-p !)

Hors ligne

#2 2014-01-24 14:31:54

kdedino
Invité

Re: Récupération de la valeur de date_creation dans la table _images

bonjour lucmorizur,
1 idée, avec la fonction datetime de php c'est à dire par exemple, j'ai un appareil photo, je devrai prendre la valeur de l'heure sur la photo prise. Voire code ci dessous.

http://fr2.php.net/manual/fr/datetime.settime.php

Cordialement
kdedino

#3 2014-05-21 01:00:22

LucMorizur
Membre
Vienne (Isère, 38)
2009-03-01
1969

Re: Récupération de la valeur de date_creation dans la table _images

Bonjour ;

bon, j'ai trouvé ce qui ne va pas : lorsqu'on demande à utiliser les EXIF et les IPTC ($conf['use_iptc'] = true; et $conf['show_exif'] = true; dans config.inc.php), et qu'on demande à utiliser la date de création dans les deux cas ($conf['use_iptc_mapping'] = array('date_creation'   => '2#055'); et $conf['use_exif_mapping'] = array('date_creation' => 'DateTimeOriginal'); – je sais, c'est pas forcément très intelligent :-/ ...), c'est la récupération des données IPTC qui a lieu en dernier (dans functions_metadata.inc.php\get_iptc_data($filename, $map)), et là les informations de date et d'heure sont séparées, et seule la date est conservée (si l'on n'utilise que le champ IPTC 2#055 (la date) et pas le 2#060 (l'heure), mais gros bug si on rajoute $conf['use_iptc_mapping'] = array('date_creation'   => '2#055', 'time_creation'   => '2#060');). Donc ensuite à la synchronisation, l'heure n'est pas conservée dans la base de données. En retirant 'date_creation'   => '2#055' de $conf['use_iptc_mapping'], toutes les informations sont récupérées, et on peut utiliser sans souci l'ordre par défaut des photos par date et heure :-) .

À plus !

Hors ligne

#4 2020-12-17 17:07:36

chrisaga
Former Piwigo Team
France (92)
2005-08-10
566

Re: Récupération de la valeur de date_creation dans la table _images

Bonjour,
Je reviens sur ce sujet déjà ancien car d'après ce que j'ai pu comprendre, Piwigo ne prend pas l'heure IPTC pour sa synchronisation. De ce fait si (pour une raison que je n'ai pas encore complètement comprise, mais qui semble lié à php chez mon hébergeur) on ne peut pas utiliser la date et l'heure EXIF, on revient à la situation d'il y a … très longtemps, à savoir pas d'heure de création des photos (en fait initialisée à 00:00:00).

Y aurait-il moyen de récupérer l'heure de création IPTC dans la synchro ?
A+
Chrisaga


Utilisateur depuis la version 1.3, Impliqué depuis la 1.4, Responsable du template des 1.5 et 1.6  ... et en (in)disponibilité sur la 1.7

Hors ligne

#5 2020-12-17 17:55:59

ddtddt
Équipe Piwigo
Quetigny (21) - France
2007-07-27
16915

Re: Récupération de la valeur de date_creation dans la table _images

Bonjour


$conf['use_iptc_mapping'] = array(
  'date_creation'   => '2#055',
  );

ce réglage ne fonctionne pas pour la date de création ?


Vous aimez Piwigo alors n'hésitez pas à participer avec nous, plus d'infos sur la page "Contribuer à Piwigo". Si vous n'avez pas beaucoup de temps et que vous souhaitez nous soutenir vous pouvez aussi le faire par un don.

Hors ligne

#6 2020-12-18 09:30:07

chrisaga
Former Piwigo Team
France (92)
2005-08-10
566

Re: Récupération de la valeur de date_creation dans la table _images

Hello !
si, bien sûr, ça fonctionne pour la date de création.
L'heure est dans un autre tag IPTC.
Il faudrait quelque chose comme

Code:

$conf['use_iptc_mapping'] = array(
  'date_creation'   => '2#055',
  'time_creation'   => '2#060',
  );

Je suis allé voir dans le code (première fois depuis ± 10 ans :-D) et la fonction get_sync_iptc_data() dans admin/include/functions_metadate.php ne traite que la date, pas l'heure.

En creusant la question, je me suis rendu compte que l'on traînait un petit souci depuis le début : EXIF ne gère pas la timezone dans son tag date. Apparemment ça a été rajouté après dans un champ séparé, et il nous faudrait gérer un tag supplémentaire. Pour être précis, il faudrait même gérer un autre tag pour les centièmes de secondes et ça donnerait dans la config un truc comme :

Code:

$conf['use_exif_mapping'] = array(
  'date_creation' => 'DateTimeOriginal',
  'offset_creation' => 'OffsetTimeOriginal'
  'sub_sec_creation' => 'SubSecTimeOriginal'
  );

Nouvelles valeurs à utiliser dans get_sync_exif_data() pour reconstituer l'heure de prise de vue.

Dernier point, sur le support d'EXIF par php. Mon phpinfo dit : --enable-exif et --enable-exif=shared. J'en conclus que php devrait supporter EXIF, et pwigo me dit que le module exif n'est pas activé (ce qui fait que je suis arrivé là).
Dans admin/include/photos_add_direct_prepare.inc.php, on teste l'existance de la  fonction read_exif_data() pour lever un warning.
Effectivement, je ne troue cette fonction nulle part : ni dans Piwigo (est-ce qu'il y a un plugin à installer ?) ni dans php.
Php connaît la fonction exif_read_data(), mais ça me parait un peut trop gros pour que ce soit un bug sur lequel je viendrais de tomber.

N'étant plus dans le bain depuis fort longtemps, je ne suis pas allé plus loin. En espérant que ça puisse vous être utile.


Utilisateur depuis la version 1.3, Impliqué depuis la 1.4, Responsable du template des 1.5 et 1.6  ... et en (in)disponibilité sur la 1.7

Hors ligne

  •  » Utilisation
  •  » Récupération de la valeur de date_creation dans la table _images

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact