Pages : 1
#1 Le 01/06/2024, à 20:43
- samcelia
[Résolu] PHP ne fonctionne pas
Bonsoir,
Après avoir réinstallé Ubuntu 24.04, j'ai installé LAMP. Apache semble fonctionner. Il affiche le fichier index.html. Mysql fonctionne aussi. Par contre lorsque je souhaite faire fonctionner un fichier php depuis localhost, il affiche une page blanche.
gerard@gerard-ThinkCentre-M700:~$ php -v
PHP 8.3.6 (cli) (built: Apr 15 2024 19:21:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
gerard@gerard-ThinkCentre-M700:~$
et
gerard@gerard-ThinkCentre-M700:~$ apt list \*php\* --installed
En train de lister... Fait
libapache2-mod-php8.3/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
libapache2-mod-php/noble,now 2:8.3+93ubuntu2 all [installé]
php-common/noble,now 2:93ubuntu2 all [installé, automatique]
php-composer-ca-bundle/noble,now 1.4.1-1 all [installé, pouvant être supprimé automatiquement]
php-composer-class-map-generator/noble,now 1.1.0-2 all [installé, pouvant être supprimé automatiquement]
php-composer-metadata-minifier/noble,now 1.0.0-2 all [installé, pouvant être supprimé automatiquement]
php-composer-pcre/noble,now 3.1.1-1 all [installé, pouvant être supprimé automatiquement]
php-composer-semver/noble,now 3.4.0-1 all [installé, pouvant être supprimé automatiquement]
php-composer-spdx-licenses/noble,now 1.5.8-1 all [installé, pouvant être supprimé automatiquement]
php-composer-xdebug-handler/noble,now 3.0.3-3 all [installé, pouvant être supprimé automatiquement]
php-curl/noble,now 2:8.3+93ubuntu2 all [installé]
php-gd/noble,now 2:8.3+93ubuntu2 all [installé]
php-intl/noble,now 2:8.3+93ubuntu2 all [installé]
php-json/noble,now 2:8.3+93ubuntu2 all [installé]
php-mbstring/noble,now 2:8.3+93ubuntu2 all [installé]
php-mysql/noble,now 2:8.3+93ubuntu2 all [installé]
php-psr-container/noble,now 2.0.2-1 all [installé, pouvant être supprimé automatiquement]
php-psr-log/noble,now 3.0.0-1 all [installé, pouvant être supprimé automatiquement]
php-react-promise/noble,now 3.1.0-1 all [installé, pouvant être supprimé automatiquement]
php-seld-signal-handler/noble,now 2.0.2-1 all [installé, pouvant être supprimé automatiquement]
php-symfony-deprecation-contracts/noble,now 3.4.1-4 all [installé, pouvant être supprimé automatiquement]
php-symfony-finder/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, pouvant être supprimé automatiquement]
php-symfony-process/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, pouvant être supprimé automatiquement]
php-symfony-service-contracts/noble,now 3.4.1-4 all [installé, pouvant être supprimé automatiquement]
php-xml/noble,now 2:8.3+93ubuntu2 all [installé]
php-zip/noble,now 2:8.3+93ubuntu2 all [installé]
php8.3-cli/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-common/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-curl/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-gd/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-intl/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-mbstring/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-mysql/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-opcache/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-phpdbg/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-readline/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-xml/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-zip/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3/noble,now 8.3.6-0maysync1 all [installé, automatique]
php/noble,now 2:8.3+93ubuntu2 all [installé]
et voici un message d'erreur:
gerard@gerard-ThinkCentre-M700:~$ sudo a2enmod php8.3
[sudo] Mot de passe de gerard :
Désolé, essayez de nouveau.
[sudo] Mot de passe de gerard :
Considering dependency mpm_prefork for php8.3:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.3:
Module php8.3 already enabled
gerard@gerard-ThinkCentre-M700:~$
De simples programmes fonctionnent avec un IDE. J'ai accès au fichier de configuration "phpinfo" depuis cette IDE:
phpinfo()
PHP Version => 8.3.6
System => Linux gerard-ThinkCentre-M700 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
Build Date => Apr 15 2024 19:21:47
Build System => Linux
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/8.3/cli
Loaded Configuration File => /etc/php/8.3/cli/php.ini
Scan this dir for additional .ini files => /etc/php/8.3/cli/conf.d
Additional .ini files parsed => /etc/php/8.3/cli/conf.d/10-mysqlnd.ini,
/etc/php/8.3/cli/conf.d/10-opcache.ini,
/etc/php/8.3/cli/conf.d/10-pdo.ini,
/etc/php/8.3/cli/conf.d/15-xml.ini,
/etc/php/8.3/cli/conf.d/20-calendar.ini,
/etc/php/8.3/cli/conf.d/20-ctype.ini,
/etc/php/8.3/cli/conf.d/20-curl.ini,
/etc/php/8.3/cli/conf.d/20-dom.ini,
/etc/php/8.3/cli/conf.d/20-exif.ini,
/etc/php/8.3/cli/conf.d/20-ffi.ini,
/etc/php/8.3/cli/conf.d/20-fileinfo.ini,
/etc/php/8.3/cli/conf.d/20-ftp.ini,
/etc/php/8.3/cli/conf.d/20-gd.ini,
/etc/php/8.3/cli/conf.d/20-gettext.ini,
/etc/php/8.3/cli/conf.d/20-iconv.ini,
/etc/php/8.3/cli/conf.d/20-intl.ini,
/etc/php/8.3/cli/conf.d/20-mbstring.ini,
/etc/php/8.3/cli/conf.d/20-mysqli.ini,
/etc/php/8.3/cli/conf.d/20-pdo_mysql.ini,
/etc/php/8.3/cli/conf.d/20-phar.ini,
/etc/php/8.3/cli/conf.d/20-posix.ini,
/etc/php/8.3/cli/conf.d/20-readline.ini,
/etc/php/8.3/cli/conf.d/20-shmop.ini,
/etc/php/8.3/cli/conf.d/20-simplexml.ini,
/etc/php/8.3/cli/conf.d/20-sockets.ini,
/etc/php/8.3/cli/conf.d/20-sysvmsg.ini,
/etc/php/8.3/cli/conf.d/20-sysvsem.ini,
/etc/php/8.3/cli/conf.d/20-sysvshm.ini,
/etc/php/8.3/cli/conf.d/20-tokenizer.ini,
/etc/php/8.3/cli/conf.d/20-xmlreader.ini,
/etc/php/8.3/cli/conf.d/20-xmlwriter.ini,
/etc/php/8.3/cli/conf.d/20-xsl.ini,
/etc/php/8.3/cli/conf.d/20-zip.ini
PHP API => 20230831
PHP Extension => 20230831
Zend Extension => 420230831
Zend Extension Build => API420230831,NTS
PHP Extension Build => API20230831,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
Zend Max Execution Timers => disabled
IPv6 Support => enabled
DTrace Support => disabled
Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, convert.iconv.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
_______________________________________________________________________
Configuration
calendar
Calendar support => enabled
Core
PHP Version => 8.3.6
Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
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 => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
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 => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_log_mode => 0644 => 0644
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => On => On
extension_dir => /usr/lib/php/20230831 => /usr/lib/php/20230831
fiber.stack_size => no value => no value
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/php => .:/usr/share/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
mail.mixed_lf_and_crlf => Off => Off
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
max_multipart_body_parts => -1 => -1
memory_limit => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => -1 => -1
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sys_temp_dir => no value => no value
syslog.facility => LOG_USER => LOG_USER
syslog.filter => no-ctrl => no-ctrl
syslog.ident => php => php
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
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
zend.assertions => -1 => -1
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.exception_ignore_args => On => On
zend.exception_string_param_max_len => 0 => 0
zend.max_allowed_stack_size => 0 => 0
zend.multibyte => Off => Off
zend.reserved_stack_size => 0 => 0
zend.script_encoding => no value => no value
zend.signal_check => Off => Off
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => 8.5.0
Age => 10
Features
AsynchDNS => Yes
CharConv => No
Debug => No
GSS-Negotiate => No
IDN => Yes
IPv6 => Yes
krb4 => No
Largefile => Yes
libz => Yes
NTLM => Yes
NTLMWB => No
SPNEGO => Yes
SSL => Yes
SSPI => No
TLS-SRP => Yes
HTTP2 => Yes
GSSAPI => Yes
KERBEROS5 => Yes
UNIX_SOCKETS => Yes
PSL => Yes
HTTPS_PROXY => Yes
MULTI_SSL => No
BROTLI => Yes
ALTSVC => Yes
HTTP3 => No
UNICODE => No
ZSTD => Yes
HSTS => Yes
GSASL => No
Protocols => dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtmp, rtmpe, rtmps, rtmpt, rtmpte, rtmpts, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
Host => x86_64-pc-linux-gnu
SSL Version => OpenSSL/3.0.13
ZLib Version => 1.3
libSSH Version => libssh/0.10.6/openssl/zlib
Directive => Local Value => Master Value
curl.cainfo => no value => no value
date
date/time support => enabled
timelib version => 2022.10
"Olson" Timezone Database Version => 0.system
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.833333 => 90.833333
date.sunset_zenith => 90.833333 => 90.833333
date.timezone => UTC => UTC
dom
DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.9.14
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
exif
EXIF Support => enabled
Supported EXIF Version => 0220
Supported filetypes => JPEG, TIFF
Multibyte decoding support using mbstring => enabled
Extended EXIF tag formats => Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson
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
FFI
FFI support => enabled
Directive => Local Value => Master Value
ffi.enable => preload => preload
ffi.preload => no value => no value
fileinfo
fileinfo support => enabled
libmagic => 543
filter
Input Validation and Filtering => enabled
Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value
ftp
FTP support => enabled
FTPS support => enabled
gd
GD Support => enabled
GD headers Version => 2.3.3
GD library Version => 2.3.3
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled
Directive => Local Value => Master Value
gd.jpeg_ignore_warning => On => On
gettext
GetText Support => enabled
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat murmur3a murmur3c murmur3f xxh32 xxh64 xxh3 xxh128 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
MHASH support => Enabled
MHASH API Version => Emulated Support
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.39
Directive => Local Value => Master Value
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value
intl
Internationalization support => enabled
ICU version => 74.2
ICU Data version => 74.2
ICU TZData version => 2023c
ICU Unicode version => 15.1
Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => Off => Off
json
json support => enabled
libxml
libXML support => active
libXML Compiled Version => 2.9.14
libXML Loaded Version => 20914
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 => 6.9.9
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
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.regex_retry_limit => 1000000 => 1000000
mbstring.regex_stack_limit => 100000 => 100000
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
mysqli
MysqlI Support => enabled
Client API library version => mysqlnd 8.3.6
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
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 => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysqld.sock
mysqli.default_user => no value => no value
mysqli.local_infile_directory => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.rollback_on_cached_plink => Off => Off
mysqlnd
mysqlnd => enabled
Version => mysqlnd 8.3.6
Compression => supported
core SSL => supported
extended SSL => supported
Command buffer size => 4096
Read buffer size => 32768
Read timeout => 86400
Collecting statistics => Yes
Collecting memory statistics => No
Tracing => n/a
Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password
API Extensions => mysqli,pdo_mysql
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 3.0.13 30 Jan 2024
OpenSSL Header Version => OpenSSL 3.0.13 30 Jan 2024
Openssl default config => /usr/lib/ssl/openssl.cnf
Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value
pcntl
pcntl support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 10.42 2022-12-11
PCRE Unicode Version => 14.0.0
PCRE JIT Support => enabled
PCRE JIT Target => x86 64bit (little endian + unaligned)
Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.jit => On => On
pcre.recursion_limit => 100000 => 100000
PDO
PDO support => enabled
PDO drivers => mysql
pdo_mysql
PDO Driver for MySQL => enabled
Client API version => mysqlnd 8.3.6
Directive => Local Value => Master Value
pdo_mysql.default_socket => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysqld.sock
Phar
Phar: PHP Archive support => enabled
Phar API version => 1.1.1
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => disabled (install ext/bz2)
Native 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
POSIX support => enabled
random
Version => 8.3.6
readline
Readline Support => enabled
Readline library => EditLine wrapper
Directive => Local Value => Master Value
cli.pager => no value => no value
cli.prompt => \b \> => \b \>
Reflection
Reflection => enabled
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php_serialize php php_binary
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 => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_samesite => no value => no value
session.cookie_secure => Off => Off
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 0 => 0
session.lazy_write => On => On
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
session.serialize_handler => php => php
session.sid_bits_per_character => 5 => 5
session.sid_length => 26 => 26
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_strict_mode => Off => Off
session.use_trans_sid => Off => Off
shmop
shmop support => enabled
SimpleXML
SimpleXML support => enabled
Schema support => enabled
sockets
Sockets Support => enabled
sodium
sodium support => enabled
libsodium headers version => 1.0.18
libsodium library version => 1.0.18
SPL
SPL support => enabled
Interfaces => 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
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => On => On
assert.bail => Off => Off
assert.callback => no value => no value
assert.exception => On => On
assert.warning => On => On
auto_detect_line_endings => Off => Off
default_socket_timeout => 60 => 60
from => no value => no value
session.trans_sid_hosts => no value => no value
session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
unserialize_max_depth => 4096 => 4096
url_rewriter.hosts => no value => no value
url_rewriter.tags => form= => form=
user_agent => no value => no value
sysvmsg
sysvmsg support => enabled
sysvsem
sysvsem support => enabled
sysvshm
sysvshm support => enabled
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.9.14
xmlreader
XMLReader => enabled
xmlwriter
XMLWriter => enabled
xsl
XSL => enabled
libxslt Version => 1.1.39
libxslt compiled against libxml Version => 2.9.14
EXSLT => enabled
libexslt Version => 0.8.21
Zend OPcache
Opcode Caching => Disabled
Optimization => Disabled
SHM Cache => Enabled
File Cache => Disabled
JIT => Disabled
Startup Failed => Opcode Caching is disabled for CLI
Directive => Local Value => Master Value
opcache.blacklist_filename => no value => no value
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => Off => Off
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.file_cache => no value => no value
opcache.file_cache_consistency_checks => On => On
opcache.file_cache_only => Off => Off
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.huge_code_pages => Off => Off
opcache.interned_strings_buffer => 8 => 8
opcache.jit => no value => no value
opcache.jit_bisect_limit => 0 => 0
opcache.jit_blacklist_root_trace => 16 => 16
opcache.jit_blacklist_side_trace => 8 => 8
opcache.jit_buffer_size => 0 => 0
opcache.jit_debug => 0 => 0
opcache.jit_hot_func => 127 => 127
opcache.jit_hot_loop => 64 => 64
opcache.jit_hot_return => 8 => 8
opcache.jit_hot_side_exit => 8 => 8
opcache.jit_max_exit_counters => 8192 => 8192
opcache.jit_max_loop_unrolls => 8 => 8
opcache.jit_max_polymorphic_calls => 2 => 2
opcache.jit_max_recursive_calls => 2 => 2
opcache.jit_max_recursive_returns => 2 => 2
opcache.jit_max_root_traces => 1024 => 1024
opcache.jit_max_side_traces => 128 => 128
opcache.jit_max_trace_length => 1024 => 1024
opcache.jit_prof_threshold => 0.005 => 0.005
opcache.lockfile_path => /tmp => /tmp
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 10000 => 10000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 128 => 128
opcache.opt_debug_level => 0 => 0
opcache.optimization_level => 0x7FFEBFFF => 0x7FFEBFFF
opcache.preferred_memory_model => no value => no value
opcache.preload => no value => no value
opcache.preload_user => no value => no value
opcache.protect_memory => Off => Off
opcache.record_warnings => Off => Off
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => On => On
opcache.use_cwd => On => On
opcache.validate_permission => Off => Off
opcache.validate_root => Off => Off
opcache.validate_timestamps => On => On
zip
Zip => enabled
Zip version => 1.22.3
Libzip version => 1.7.3
BZIP2 compression => Yes
XZ compression => No
ZSTD compression => No
AES-128 encryption => Yes
AES-192 encryption => Yes
AES-256 encryption => Yes
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.3
Linked Version => 1.3
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
BAMF_DESKTOP_FILE_HINT => /var/lib/snapd/desktop/applications/code_code.desktop
CHROME_DESKTOP => code-url-handler.desktop
DBUS_SESSION_BUS_ADDRESS => unix:path=/run/user/1000/bus
DEBUGINFOD_URLS => https://debuginfod.ubuntu.com
DESKTOP_SESSION => ubuntu
DISPLAY => :0
ELECTRON_NO_ATTACH_CONSOLE => 1
GDK_BACKEND => x11
GDK_PIXBUF_MODULEDIR => /snap/code/159/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE => /home/gerard/snap/code/common/.cache/gdk-pixbuf-loaders.cache
GDMSESSION => ubuntu
GIO_LAUNCHED_DESKTOP_FILE => /var/lib/snapd/desktop/applications/code_code.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID => 57286
GIO_MODULE_DIR => /home/gerard/snap/code/common/.cache/gio-modules
GJS_DEBUG_OUTPUT => stderr
GJS_DEBUG_TOPICS => JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID => this-is-deprecated
GNOME_SETUP_DISPLAY => :1
GNOME_SHELL_SESSION_MODE => ubuntu
GSETTINGS_SCHEMA_DIR => /home/gerard/snap/code/159/.local/share/glib-2.0/schemas
GSM_SKIP_SSH_AGENT_WORKAROUND => true
GTK_EXE_PREFIX => /snap/code/159/usr
GTK_IM_MODULE_FILE => /home/gerard/snap/code/common/.cache/immodules/immodules.cache
GTK_MODULES => gail:atk-bridge
GTK_PATH => /snap/code/159/usr/lib/x86_64-linux-gnu/gtk-3.0
HOME => /home/gerard
IM_CONFIG_CHECK_ENV => 1
IM_CONFIG_PHASE => 1
INVOCATION_ID => 1228299e076b4af9bd5823c415d90bac
JOURNAL_STREAM => 8:16220
LANG => fr_FR.UTF-8
LESSCLOSE => /usr/bin/lesspipe %s %s
LESSOPEN => | /usr/bin/lesspipe %s
LOCPATH => /snap/code/159/usr/lib/locale
LOGNAME => gerard
MANAGERPID => 2152
MEMORY_PRESSURE_WATCH => /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
MEMORY_PRESSURE_WRITE => c29tZSAyMDAwMDAgMjAwMDAwMAA=
ORIGINAL_XDG_CURRENT_DESKTOP => ubuntu:GNOME
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD => /home/gerard
QT_ACCESSIBILITY => 1
QT_IM_MODULE => ibus
SESSION_MANAGER => local/gerard-ThinkCentre-M700:@/tmp/.ICE-unix/2379,unix/gerard-ThinkCentre-M700:/tmp/.ICE-unix/2379
SHELL => /bin/bash
SHLVL => 0
SNAP => /snap/code/159
SNAP_ARCH => amd64
SNAP_COMMON => /var/snap/code/common
SNAP_CONTEXT => PxXx950JIfZ_JbEqjiU8WS6_lvyIXtD9R8wQ_yjL5Qm68qlG29YD
SNAP_COOKIE => PxXx950JIfZ_JbEqjiU8WS6_lvyIXtD9R8wQ_yjL5Qm68qlG29YD
SNAP_DATA => /var/snap/code/159
SNAP_EUID => 1000
SNAP_INSTANCE_NAME => code
SNAP_LAUNCHER_ARCH_TRIPLET => x86_64-linux-gnu
SNAP_LIBRARY_PATH => /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
SNAP_NAME => code
SNAP_REAL_HOME => /home/gerard
SNAP_REVISION => 159
SNAP_UID => 1000
SNAP_USER_COMMON => /home/gerard/snap/code/common
SNAP_USER_DATA => /home/gerard/snap/code/159
SNAP_VERSION => dc96b837
SSH_AUTH_SOCK => /run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID => 2412
USER => gerard
USERNAME => gerard
VSCODE_AMD_ENTRYPOINT => vs/workbench/api/node/extensionHostProcess
VSCODE_CLI => 1
VSCODE_CODE_CACHE_PATH => /home/gerard/.config/Code/CachedData/dc96b837cf6bb4af9cd736aa3af08cf8279f7685
VSCODE_CRASH_REPORTER_PROCESS_TYPE => extensionHost
VSCODE_CWD => /home/gerard
VSCODE_HANDLES_UNCAUGHT_ERRORS => true
VSCODE_IPC_HOOK => /run/user/1000/vscode-35a868c6-1.89-main.sock
VSCODE_NLS_CONFIG => {"locale":"en-us","osLocale":"fr-fr","availableLanguages":{},"_languagePackSupport":true}
VSCODE_PID => 57339
WAYLAND_DISPLAY => wayland-0
XAUTHORITY => /run/user/1000/.mutter-Xwaylandauth.9YABO2
XDG_CONFIG_DIRS => /etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CONFIG_DIRS_VSCODE_SNAP_ORIG => /etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP => Unity
XDG_DATA_DIRS => /home/gerard/snap/code/159/.local/share:/home/gerard/snap/code/159:/snap/code/159/usr/share:/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_DATA_DIRS_VSCODE_SNAP_ORIG => /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX => gnome-
XDG_RUNTIME_DIR => /run/user/1000
XDG_SESSION_CLASS => user
XDG_SESSION_DESKTOP => ubuntu
XDG_SESSION_TYPE => wayland
XMODIFIERS => @im=ibus
_ => /snap/code/159/usr/share/code/code
XDEBUG_MODE => debug,develop
XDEBUG_CONFIG => client_port=35693
PHP Variables
Variable => Value
$_SERVER['BAMF_DESKTOP_FILE_HINT'] => /var/lib/snapd/desktop/applications/code_code.desktop
$_SERVER['CHROME_DESKTOP'] => code-url-handler.desktop
$_SERVER['DBUS_SESSION_BUS_ADDRESS'] => unix:path=/run/user/1000/bus
$_SERVER['DEBUGINFOD_URLS'] => https://debuginfod.ubuntu.com
$_SERVER['DESKTOP_SESSION'] => ubuntu
$_SERVER['DISPLAY'] => :0
$_SERVER['ELECTRON_NO_ATTACH_CONSOLE'] => 1
$_SERVER['GDK_BACKEND'] => x11
$_SERVER['GDK_PIXBUF_MODULEDIR'] => /snap/code/159/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
$_SERVER['GDK_PIXBUF_MODULE_FILE'] => /home/gerard/snap/code/common/.cache/gdk-pixbuf-loaders.cache
$_SERVER['GDMSESSION'] => ubuntu
$_SERVER['GIO_LAUNCHED_DESKTOP_FILE'] => /var/lib/snapd/desktop/applications/code_code.desktop
$_SERVER['GIO_LAUNCHED_DESKTOP_FILE_PID'] => 57286
$_SERVER['GIO_MODULE_DIR'] => /home/gerard/snap/code/common/.cache/gio-modules
$_SERVER['GJS_DEBUG_OUTPUT'] => stderr
$_SERVER['GJS_DEBUG_TOPICS'] => JS ERROR;JS LOG
$_SERVER['GNOME_DESKTOP_SESSION_ID'] => this-is-deprecated
$_SERVER['GNOME_SETUP_DISPLAY'] => :1
$_SERVER['GNOME_SHELL_SESSION_MODE'] => ubuntu
$_SERVER['GSETTINGS_SCHEMA_DIR'] => /home/gerard/snap/code/159/.local/share/glib-2.0/schemas
$_SERVER['GSM_SKIP_SSH_AGENT_WORKAROUND'] => true
$_SERVER['GTK_EXE_PREFIX'] => /snap/code/159/usr
$_SERVER['GTK_IM_MODULE_FILE'] => /home/gerard/snap/code/common/.cache/immodules/immodules.cache
$_SERVER['GTK_MODULES'] => gail:atk-bridge
$_SERVER['GTK_PATH'] => /snap/code/159/usr/lib/x86_64-linux-gnu/gtk-3.0
$_SERVER['HOME'] => /home/gerard
$_SERVER['IM_CONFIG_CHECK_ENV'] => 1
$_SERVER['IM_CONFIG_PHASE'] => 1
$_SERVER['INVOCATION_ID'] => 1228299e076b4af9bd5823c415d90bac
$_SERVER['JOURNAL_STREAM'] => 8:16220
$_SERVER['LANG'] => fr_FR.UTF-8
$_SERVER['LESSCLOSE'] => /usr/bin/lesspipe %s %s
$_SERVER['LESSOPEN'] => | /usr/bin/lesspipe %s
$_SERVER['LOCPATH'] => /snap/code/159/usr/lib/locale
$_SERVER['LOGNAME'] => gerard
$_SERVER['MANAGERPID'] => 2152
$_SERVER['MEMORY_PRESSURE_WATCH'] => /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
$_SERVER['MEMORY_PRESSURE_WRITE'] => c29tZSAyMDAwMDAgMjAwMDAwMAA=
$_SERVER['ORIGINAL_XDG_CURRENT_DESKTOP'] => ubuntu:GNOME
$_SERVER['PATH'] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
$_SERVER['PWD'] => /home/gerard
$_SERVER['QT_ACCESSIBILITY'] => 1
$_SERVER['QT_IM_MODULE'] => ibus
$_SERVER['SESSION_MANAGER'] => local/gerard-ThinkCentre-M700:@/tmp/.ICE-unix/2379,unix/gerard-ThinkCentre-M700:/tmp/.ICE-unix/2379
$_SERVER['SHELL'] => /bin/bash
$_SERVER['SHLVL'] => 0
$_SERVER['SNAP'] => /snap/code/159
$_SERVER['SNAP_ARCH'] => amd64
$_SERVER['SNAP_COMMON'] => /var/snap/code/common
$_SERVER['SNAP_CONTEXT'] => PxXx950JIfZ_JbEqjiU8WS6_lvyIXtD9R8wQ_yjL5Qm68qlG29YD
$_SERVER['SNAP_COOKIE'] => PxXx950JIfZ_JbEqjiU8WS6_lvyIXtD9R8wQ_yjL5Qm68qlG29YD
$_SERVER['SNAP_DATA'] => /var/snap/code/159
$_SERVER['SNAP_EUID'] => 1000
$_SERVER['SNAP_INSTANCE_NAME'] => code
$_SERVER['SNAP_LAUNCHER_ARCH_TRIPLET'] => x86_64-linux-gnu
$_SERVER['SNAP_LIBRARY_PATH'] => /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
$_SERVER['SNAP_NAME'] => code
$_SERVER['SNAP_REAL_HOME'] => /home/gerard
$_SERVER['SNAP_REVISION'] => 159
$_SERVER['SNAP_UID'] => 1000
$_SERVER['SNAP_USER_COMMON'] => /home/gerard/snap/code/common
$_SERVER['SNAP_USER_DATA'] => /home/gerard/snap/code/159
$_SERVER['SNAP_VERSION'] => dc96b837
$_SERVER['SSH_AUTH_SOCK'] => /run/user/1000/keyring/ssh
$_SERVER['SYSTEMD_EXEC_PID'] => 2412
$_SERVER['USER'] => gerard
$_SERVER['USERNAME'] => gerard
$_SERVER['VSCODE_AMD_ENTRYPOINT'] => vs/workbench/api/node/extensionHostProcess
$_SERVER['VSCODE_CLI'] => 1
$_SERVER['VSCODE_CODE_CACHE_PATH'] => /home/gerard/.config/Code/CachedData/dc96b837cf6bb4af9cd736aa3af08cf8279f7685
$_SERVER['VSCODE_CRASH_REPORTER_PROCESS_TYPE'] => extensionHost
$_SERVER['VSCODE_CWD'] => /home/gerard
$_SERVER['VSCODE_HANDLES_UNCAUGHT_ERRORS'] => true
$_SERVER['VSCODE_IPC_HOOK'] => /run/user/1000/vscode-35a868c6-1.89-main.sock
$_SERVER['VSCODE_NLS_CONFIG'] => {"locale":"en-us","osLocale":"fr-fr","availableLanguages":{},"_languagePackSupport":true}
$_SERVER['VSCODE_PID'] => 57339
$_SERVER['WAYLAND_DISPLAY'] => wayland-0
$_SERVER['XAUTHORITY'] => /run/user/1000/.mutter-Xwaylandauth.9YABO2
$_SERVER['XDG_CONFIG_DIRS'] => /etc/xdg/xdg-ubuntu:/etc/xdg
$_SERVER['XDG_CONFIG_DIRS_VSCODE_SNAP_ORIG'] => /etc/xdg/xdg-ubuntu:/etc/xdg
$_SERVER['XDG_CURRENT_DESKTOP'] => Unity
$_SERVER['XDG_DATA_DIRS'] => /home/gerard/snap/code/159/.local/share:/home/gerard/snap/code/159:/snap/code/159/usr/share:/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
$_SERVER['XDG_DATA_DIRS_VSCODE_SNAP_ORIG'] => /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
$_SERVER['XDG_MENU_PREFIX'] => gnome-
$_SERVER['XDG_RUNTIME_DIR'] => /run/user/1000
$_SERVER['XDG_SESSION_CLASS'] => user
$_SERVER['XDG_SESSION_DESKTOP'] => ubuntu
$_SERVER['XDG_SESSION_TYPE'] => wayland
$_SERVER['XMODIFIERS'] => @im=ibus
$_SERVER['_'] => /snap/code/159/usr/share/code/code
$_SERVER['XDEBUG_MODE'] => debug,develop
$_SERVER['XDEBUG_CONFIG'] => client_port=35693
$_SERVER['PHP_SELF'] => /var/www/html/phpinfos.php
$_SERVER['SCRIPT_NAME'] => /var/www/html/phpinfos.php
$_SERVER['SCRIPT_FILENAME'] => /var/www/html/phpinfos.php
$_SERVER['PATH_TRANSLATED'] => /var/www/html/phpinfos.php
$_SERVER['DOCUMENT_ROOT'] =>
$_SERVER['REQUEST_TIME_FLOAT'] => 1717270849.1638
$_SERVER['REQUEST_TIME'] => 1717270849
$_SERVER['argv'] => Array
(
[0] => /var/www/html/phpinfos.php
)
$_SERVER['argc'] => 1
_______________________________________________________________________
PHP Credits
PHP Group
Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski
Language Design & Concept
Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger
PHP Authors
Contribution => Authors
Zend Scripting Language Engine => Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov
Extension Module API => Andi Gutmans, Zeev Suraski, Andrei Zmievski
UNIX Build and Modularization => Stig Bakken, Sascha Schumann, Jani Taskinen, Peter Kokot
Windows Support => Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski, Kalle Sommer Nielsen
Server API (SAPI) Abstraction Layer => Andi Gutmans, Shane Caraveo, Zeev Suraski
Streams Abstraction Layer => Wez Furlong, Sara Golemon
PHP Data Objects Layer => Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky
Output Handler => Zeev Suraski, Thies C. Arntzen, Marcus Boerger, Michael Wallner
Consistent 64 bit support => Anthony Ferrara, Anatol Belski
SAPI Modules
Contribution => Authors
Apache 2.0 Handler => Ian Holsman, Justin Erenkrantz (based on Apache 2.0 Filter code)
CGI / FastCGI => Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry Stogov
CLI => Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui
Embed => Edin Kadribasic
FastCGI Process Manager => Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet
litespeed => George Wang
phpdbg => Felipe Pena, Joe Watkins, Bob Weinand
Module Authors
Module => Authors
BC Math => Andi Gutmans
Bzip2 => Sterling Hughes
Calendar => Shane Caraveo, Colin Viebrock, Hartmut Holzgraefe, Wez Furlong
COM and .Net => Wez Furlong
ctype => Hartmut Holzgraefe
cURL => Sterling Hughes
Date/Time Support => Derick Rethans
DB-LIB (MS SQL, Sybase) => Wez Furlong, Frank M. Kromann, Adam Baratz
DBA => Sascha Schumann, Marcus Boerger
DOM => Christian Stocker, Rob Richards, Marcus Boerger
enchant => Pierre-Alain Joye, Ilia Alshanetsky
EXIF => Rasmus Lerdorf, Marcus Boerger
FFI => Dmitry Stogov
fileinfo => Ilia Alshanetsky, Pierre Alain Joye, Scott MacVicar, Derick Rethans, Anatol Belski
Firebird driver for PDO => Ard Biesheuvel
FTP => Stefan Esser, Andrew Skalski
GD imaging => Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger, Mark Randall
GetText => Alex Plotnick
GNU GMP support => Stanislav Malyshev
Iconv => Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi
IMAP => Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky
Input Filter => Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky
Internationalization => Ed Batutis, Vladimir Iordanov, Dmitry Lakhtyuk, Stanislav Malyshev, Vadim Savchuk, Kirti Velankar
JSON => Jakub Zelenka, Omar Kilani, Scott MacVicar
LDAP => Amitay Isaacs, Eric Warnke, Rasmus Lerdorf, Gerrit Thomson, Stig Venaas
LIBXML => Christian Stocker, Rob Richards, Marcus Boerger, Wez Furlong, Shane Caraveo
Multibyte String Functions => Tsukada Takuya, Rui Hirokawa
MySQL driver for PDO => George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter
MySQLi => Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel
MySQLnd => Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter
OCI8 => Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation
ODBC driver for PDO => Wez Furlong
ODBC => Stig Bakken, Andreas Karajannis, Frank M. Kromann, Daniel R. Kalowsky
Opcache => Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Dmitry Stogov, Xinchen Hui
OpenSSL => Stig Venaas, Wez Furlong, Sascha Kettler, Scott MacVicar, Eliot Lear
Oracle (OCI) driver for PDO => Wez Furlong
pcntl => Jason Greene, Arnaud Le Blanc
Perl Compatible Regexps => Andrei Zmievski
PHP Archive => Gregory Beaver, Marcus Boerger
PHP Data Objects => Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky
PHP hash => Sara Golemon, Rasmus Lerdorf, Stefan Esser, Michael Wallner, Scott MacVicar
Posix => Kristian Koehntopp
PostgreSQL driver for PDO => Edin Kadribasic, Ilia Alshanetsky
PostgreSQL => Jouni Ahto, Zeev Suraski, Yasuo Ohgaki, Chris Kings-Lynne
Pspell => Vlad Krupin
random => Go Kudo, Tim Düsterhus, Guilliam Xavier, Christoph M. Becker, Jakub Zelenka, Bob Weinand, Máté Kocsis, and Original RNG implementators
Readline => Thies C. Arntzen
Reflection => Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski, Johannes Schlueter
Sessions => Sascha Schumann, Andrei Zmievski
Shared Memory Operations => Slava Poliakov, Ilia Alshanetsky
SimpleXML => Sterling Hughes, Marcus Boerger, Rob Richards
SNMP => Rasmus Lerdorf, Harrie Hazewinkel, Mike Jackson, Steven Lawrance, Johann Hanne, Boris Lytochkin
SOAP => Brad Lafountain, Shane Caraveo, Dmitry Stogov
Sockets => Chris Vandomelen, Sterling Hughes, Daniel Beulshausen, Jason Greene
Sodium => Frank Denis
SPL => Marcus Boerger, Etienne Kneuss
SQLite 3.x driver for PDO => Wez Furlong
SQLite3 => Scott MacVicar, Ilia Alshanetsky, Brad Dewar
System V Message based IPC => Wez Furlong
System V Semaphores => Tom May
System V Shared Memory => Christian Cartus
tidy => John Coggeshall, Ilia Alshanetsky
tokenizer => Andrei Zmievski, Johannes Schlueter
XML => Stig Bakken, Thies C. Arntzen, Sterling Hughes
XMLReader => Rob Richards
XMLWriter => Rob Richards, Pierre-Alain Joye
XSL => Christian Stocker, Rob Richards
Zip => Pierre-Alain Joye, Remi Collet
Zlib => Rasmus Lerdorf, Stefan Roehrich, Zeev Suraski, Jade Nicoletti, Michael Wallner
PHP Documentation
Authors => Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey
Editor => Peter Cowburn
User Note Maintainers => Daniel P. Brown, Thiago Henrique Pojda
Other Contributors => Previously active authors, editors and other contributors are listed in the manual.
PHP Quality Assurance Team
Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena, David Soria Parra, Stanislav Malyshev, Julien Pauli, Stephen Zarkos, Anatol Belski, Remi Collet, Ferenc Kovacs
Websites and Infrastructure team
PHP Websites Team => Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen, Peter Cowburn, Adam Harvey, Ferenc Kovacs, Levi Morrison
Event Maintainers => Damien Seguy, Daniel P. Brown
Network Infrastructure => Daniel P. Brown
Windows Infrastructure => Alex Schoenmaker
Debian Packaging
Ondřej Surý
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.
Merci pour votre aide.
Dernière modification par samcelia (Le 02/06/2024, à 22:49)
Hors ligne
#2 Le 02/06/2024, à 05:07
- jplemoine
Re : [Résolu] PHP ne fonctionne pas
phpinfo fonctionne --> Donc, contrairement à ce que semble dire le titre, php fonctionne parfaitement.
La page blanche est souvent due à une erreur (de syntaxe ?) dans la page que l'on veut afficher.
Pour savoir où est le problème, il faut commenter une partie de la page et trouver la ligne incriminée.
On utilise souvent la dichotomie (on coupe le nombre de ligne en 2 mais attention à ne pas couper un bloc).
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.
Déconnecté jusqu’à nouvel ordre
Hors ligne
#3 Le 02/06/2024, à 07:30
- bruno
Re : [Résolu] PHP ne fonctionne pas
Bonjour,
phpinfo fonctionne --> Donc, contrairement à ce que semble dire le titre, php fonctionne parfaitement.
L'interpréteur PHP en ligne de commande fonctionne parfaitement (php-cli). Ce qui ne veut pas dire que l'interpréteur PHP d'apache mod_php, ou autre SAPI (php_fpm par exemple) fonctionne.
Des dépôts exotiques (non officiels ont été utilisés et il y a visiblement un conflit entre deux version de PHP :
libapache2-mod-php8.3/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
libapache2-mod-php/noble,now 2:8.3+93ubuntu2 all [installé]
Il faut supprimer proprement le dépôt qui fournit les versions 8.3.6-0maysync1 pour repartir sur des bases saines. Voir le point 4.3 de la doc php et le point 4.3 de la doc ppa.
Dernière modification par bruno (Le 02/06/2024, à 18:57)
#4 Le 02/06/2024, à 08:30
- jplemoine
Re : [Résolu] PHP ne fonctionne pas
@bruno : bien vu.
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.
Déconnecté jusqu’à nouvel ordre
Hors ligne
#5 Le 02/06/2024, à 17:57
- samcelia
Re : [Résolu] PHP ne fonctionne pas
Bonjour à tous les deux,
D'abord, merci pour vos réponses rapides.
J'ai fait quelques manips. Je pensais avoir réglé la situation:
- La fonction phpinfo() affiche le tableau
- xdebug semblait fonctionner
- Dès que j'ai voulu tester un programme utilisant un framework, que j'avais testé sur une version antérieure à la 24.04, cela n'a pas marché
- En fait j'ai tourné en rond, par le jeu des dépendances. Voici la liste des paquets php!
gerard@gerard-ThinkCentre-M700:~$ apt list \*php\* --installed
En train de lister... Fait
libapache2-mod-php8.3/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
libapache2-mod-php/noble,now 2:8.3+93ubuntu2 all [installé]
php-common/noble,now 2:93ubuntu2 all [installé, automatique]
php-composer-ca-bundle/noble,now 1.4.1-1 all [installé, automatique]
php-composer-class-map-generator/noble,now 1.1.0-2 all [installé, automatique]
php-composer-metadata-minifier/noble,now 1.0.0-2 all [installé, automatique]
php-composer-pcre/noble,now 3.1.1-1 all [installé, automatique]
php-composer-semver/noble,now 3.4.0-1 all [installé, automatique]
php-composer-spdx-licenses/noble,now 1.5.8-1 all [installé, automatique]
php-composer-xdebug-handler/noble,now 3.0.3-3 all [installé, automatique]
php-curl/noble,now 2:8.3+93ubuntu2 all [installé]
php-gd/noble,now 2:8.3+93ubuntu2 all [installé]
php-intl/noble,now 2:8.3+93ubuntu2 all [installé]
php-json-schema/noble,now 5.2.13-1 all [installé, automatique]
php-json/noble,now 2:8.3+93ubuntu2 all [installé]
php-mbstring/noble,now 2:8.3+93ubuntu2 all [installé]
php-mysql/noble,now 2:8.3+93ubuntu2 all [installé]
php-psr-container/noble,now 2.0.2-1 all [installé, automatique]
php-psr-log/noble,now 3.0.0-1 all [installé, automatique]
php-react-promise/noble,now 3.1.0-1 all [installé, automatique]
php-seld-signal-handler/noble,now 2.0.2-1 all [installé, automatique]
php-symfony-console/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, automatique]
php-symfony-deprecation-contracts/noble,now 3.4.1-4 all [installé, automatique]
php-symfony-filesystem/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, automatique]
php-symfony-finder/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, automatique]
php-symfony-process/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, automatique]
php-symfony-service-contracts/noble,now 3.4.1-4 all [installé, automatique]
php-symfony-string/noble,now 6.4.5+dfsg-3ubuntu3 all [installé, automatique]
php-xdebug/noble,now 3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1 amd64 [installé]
php-xml/noble,now 2:8.3+93ubuntu2 all [installé]
php-zip/noble,now 2:8.3+93ubuntu2 all [installé]
php8.3-cli/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-common/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-curl/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-gd/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-intl/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-mbstring/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-mysql/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-opcache/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-readline/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-xdebug/noble,now 3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1 amd64 [installé, automatique]
php8.3-xml/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3-zip/noble,now 8.3.6-0maysync1 amd64 [installé, automatique]
php8.3/noble,now 8.3.6-0maysync1 all [installé, automatique]
php/noble,now 2:8.3+93ubuntu2 all [installé]
et sudo update-alternatives --config php donne:
gerard@gerard-ThinkCentre-M700:~$ sudo update-alternatives --config php
Il existe 1 choix pour l'alternative php (qui fournit /usr/bin/php).
Sélection Chemin Priorité État
------------------------------------------------------------
* 0 /usr/bin/php8.3 83 mode automatique
1 /usr/bin/php8.3 83 mode manuel
Appuyez sur <enter> pour conserver le choix actuel [*], ou tapez le numéro de sélection :
Un petit coup de main? Je n'ai pas utilisé de ppa.
Merci d'avance pour votre aide
Hors ligne
#6 Le 02/06/2024, à 18:56
- bruno
Re : [Résolu] PHP ne fonctionne pas
Au temps pour moi, apparemment pas de ppa c'est le nom des paquets et une lecture trop rapide qui m'a induit en erreur
Quand tu dis que la fonction phpinfo() affiche un tableau, est-ce bien via le navigateur web et non en ligne de commande ?
Dans ce cas le module PHP d'Apahce fonctionne et c'est un script en particulier qui engendre une page blanche. Il faudra alors examiner les logs pour voir l'erreur précise.
Dernière modification par bruno (Le 02/06/2024, à 19:09)
#7 Le 02/06/2024, à 20:10
- samcelia
Re : [Résolu] PHP ne fonctionne pas
Rien de mal. J'avais beau essayer de ne pas installer les php8.3, rien à faire...
Quand tu dis que la fonction phpinfo() affiche un tableau, est-ce bien via le navigateur web et non en ligne de commande ?
Dans ce cas le module PHP d'Apahce fonctionne et c'est un script en particulier qui engendre une page blanche. Il faudra alors examiner les logs pour voir l'erreur précise.
Il n'y a plus de page blanche avec phpinfo(). Elle apparait dans une page web. Par contre j'ai un soucis avec xdebug. J'ai bien suivi la partie 2.3 (https://doc.ubuntu-fr.org/visual_studio_code) (c'est moi qui l'ai écrit ),. Je vais regarder cela à tête reposée.
Dernière modification par samcelia (Le 02/06/2024, à 20:11)
Hors ligne
#8 Le 02/06/2024, à 20:43
- samcelia
Re : [Résolu] PHP ne fonctionne pas
Pour php-xdebug, j'avais oublié d'installer la deuxième ligne de la page LAMP (https://doc.ubuntu-fr.org/lamp)
sudo apt install php-curl php-gd php-intl php-json php-mbstring php-xml php-zip
la page Xdebug apparait aussi dans une page web.
Hors ligne
#9 Le 02/06/2024, à 22:48
- samcelia
Re : [Résolu] PHP ne fonctionne pas
Et pour le programme utilisant un framework, j'avais oublié qu'il fallait faire quelques réglages d'apache: https://www.slimframework.com/docs/v4/s … rvers.html
Bonne nuit!
Hors ligne
Pages : 1