creaimmo
Posts: 5
Joined: Wed Jul 31, 2019 9:11 pm

Impossible de mettre a jour ma version de PHP

Thu Aug 01, 2019 6:03 pm

Bonjour je vous contact car, depuis quelques jours j'essaie de mettre a jour la version php de mon serveur web perso mais celui-ci ne veut pas se mettre a jour et je reste en PHP version 5.4.45-0+deb7u8.

Pourtant quand j'essaie de mettre a jour via la commande

Code: Select all

 sudo apt-get install php5


j'obtiens ceci

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libmysqlclient16
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  php5
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 1,028 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  php5
Install these packages without verification [y/N]? y
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5 all 5.4.45-0+deb7u8
  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5_5.4.45-0+deb7u8_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
La version de mon raspbian

Code: Select all

uname -a 
Linux presspi 4.19.60-v7+ #1247 SMP Thu Jul 25 14:41:19 BST 2019 armv7l GNU/Linux
Si quelqu'un peut m'aider ?

totoharibo
Posts: 4245
Joined: Thu Jan 24, 2013 8:43 am

Re: Impossible de mettre a jour ma version de PHP

Thu Aug 01, 2019 8:07 pm

tu as lu à la fin ?
"E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"

creaimmo
Posts: 5
Joined: Wed Jul 31, 2019 9:11 pm

Re: Impossible de mettre a jour ma version de PHP

Thu Aug 01, 2019 8:48 pm

oui j'ai essayé avec update etcc. et rien n'y fait

jelopo
Posts: 1515
Joined: Wed Oct 17, 2012 7:53 pm

Re: Impossible de mettre a jour ma version de PHP

Fri Aug 02, 2019 9:11 am

Bonjour,

Pour mettre à jour un logiciel, il est impératif de récupérer la liste de tous les logiciels disponibles dans leur dernière version en fonction de l'OS actif.
Cette liste comporte la version cohérente et validée des logiciels entre eux.

Pour cela exécuter cette commande et vérifier qu'elle se termine bien.

Code: Select all

sudo apt-get update
Ensuite rechercher la version d'un logiciel avec

Code: Select all

sudo apt-cache search php
Ceci va donner pleins de lignes mais on va trouver le nom du paquet souhaité, ensuite consulter la version de ce paquet avec

Code: Select all

sudo apt-cache show php
La ligne Depends: va dire quelle est la version de PHP disponible, il est fort possible que dans ton cas ce soit PHP7 ?

N.B.:
Dans ton message ils est demandé de passer aussi cette commande pour nettoyer des paquets non nécessaires

Code: Select all

sudo apt-get autoremove
A+

creaimmo
Posts: 5
Joined: Wed Jul 31, 2019 9:11 pm

Re: Impossible de mettre a jour ma version de PHP

Fri Aug 02, 2019 5:09 pm

Bonjour,

Donc j'ai regardé par rapport a ce que tu m'a dit ci-dessus et voici les résultats

Code: Select all

sudo apt-get update
Je l'avais déjà fait et j'obtiens ceci (dont la plupart avec des erreurs).

Code: Select all

Get:1 http://archive.raspberrypi.org wheezy Release.gpg [488 B]
Get:2 http://archive.raspberrypi.org wheezy Release [17.6 kB]                  
Ign http://mirrordirector.raspbian.org wheezy Release.gpg                      
Ign http://mirrordirector.raspbian.org wheezy Release                          
Err http://raspberrypi.collabora.com wheezy Release.gpg                        
  Could not resolve 'raspberrypi.collabora.com'
Get:3 http://archive.raspberrypi.org wheezy/main armhf Packages [145 kB]
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB               
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Err http://mirrordirector.raspbian.org wheezy/main armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
  404  Not Found
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 163 kB in 2s (54.5 kB/s)
Reading package lists... Done
W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/Release.gpg  Could not resolve 'raspberrypi.collabora.com'

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/binary-armhf/Packages  404  Not Found

W: Some index files failed to download. They have been ignored, or old ones used instead.

Code: Select all

sudo apt-cache search php
ca me donne ceci

Code: Select all

adminer - Web-based database administration tool
ampache - web-based audio file management system
ampache-common - web-based audio file management system common files
ampache-themes - Themes for Ampache
aolserver4-doc - AOL web server version 4 - documentation
apache2-prefork-dev - Apache development headers - non-threaded MPM
apertium - Shallow-transfer machine translation engine
bandwidthd - Tracks usage of TCP/IP and builds html files with graphs
bandwidthd-pgsql - Tracks usage of TCP/IP and builds html files with graphs
cacti - web interface for graphing of monitoring systems
cacti-spine - Multi-Threading poller for cacti
cakephp - MVC rapid application development framework for PHP
cakephp-instaweb - Development webserver for CakePHP applications
cakephp-scripts - MVC rapid application development framework for PHP (scripts)
chameleon-cursor-theme - modern but not gaudy X11 mouse theme
checkservice - Checks the status of services on (remote) hosts
chora2 - code repository viewing component for horde framework
coderay - Helper programs for CodeRay Ruby lib for syntax highlighting
debpear - automatically builds and installs PEAR package as Debian packages
dh-linktree - Create symlink trees within a Debian package
dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions
dia2code - a dia-UML code generator
dimp1 - dynamic webmail component for horde framework
doctrine - Tool for object-relational mapping in PHP
doxygen - Documentation system for C, C++, Java, Python and other languages
doxygen-doc - Documentation for doxygen
doxygen-gui - GUI configuration tool for doxygen
doxygen-latex - Documentation system for C, C++, Java, Python and other languages
drupal6-mod-contemplate - contemplate module for Drupal 6
drush - command line shell and Unix scripting interface for Drupal
dwoo - PHP5 template engine
dynalogin-client-php - two-factor HOTP authentication - PHP client
emdebian-grip-server - server-side support for Emdebian Grip
empty-expect - Run processes and applications under pseudo-terminal
extremetuxracer-gimp-dev - plugins for GIMP for easy development of etracer courses
exuberant-ctags - build tag file indexes of source code definitions
fckeditor - rich text format javascript web editor
freeradius-dialupadmin - set of PHP scripts for administering a FreeRADIUS server
gallery - a web-based photo album written in php
ganglia-webfrontend - cluster monitoring toolkit - web front-end
geany - fast and lightweight IDE
geany-common - fast and lightweight IDE -- common files
gosa-plugin-phpgw - phpgw plugin for GOsa²
gosa-plugin-phpgw-schema - LDAP schema for GOsa² phpgw plugin
gosa-plugin-phpscheduleit - phpscheduleit plugin for GOsa²
gosa-plugin-phpscheduleit-schema - LDAP schema for GOsa² phpscheduleit plugin
gphpedit - development environment for PHP/HTML/CSS
grub-imageboot - boot iso, harddisk and floppy images with grub2 and syslinux memdisk
haserl - CGI scripting program for embedded environments
horde3 - horde web application framework
hsetroot - tool for compose root-pixmaps for X11
htcheck-php - Simple php interface to database generated by ht://Check
html-helper-mode - A popular HTML editing mode for emacs
ibus-table-yong - ibus-table input method: YongMa
imp4 - webmail component for horde framework
ir.lv2 - LV2 IR reverb
jclicmoodle - JClic module for Moodle
jed - editor for programmers (textmode version)
jffnms - PHP Network Management System
jkmeter - horizontal or vertical bargraph audio level meter for Jack Audio Connection Kit
kdevelop-php - PHP plugin for KDevelop
kdevelop-php-dbg - debugging symbols for the KDevelop PHP plugin
kdevelop-php-docs - PHP documentation plugin for KDevelop
kdevelop-php-docs-l10n - localization files for KDevelop PHP documentation plugin
kdevelop-php-l10n - localization files for KDevelop PHP plugin
klone - embedded web application development framework
kronolith2 - calendar component for Horde Framework
kwin-style-dekorator - Windows decoration engine for KDE 4 using user-supplied PNG files
letodms - document management system based on PHP and MySQL
libapache2-mod-auth-tkt - lightweight single-sign-on authentication module for Apache
libapache2-mod-authn-yubikey - Yubikey authentication provider for Apache
libapache2-mod-fcgid - an alternative module compat with mod_fastcgi
libapache2-mod-fcgid-dbg - debugging symbols for mod_fcgid
libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module)
libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter module)
libapache2-mod-suphp - Apache2 module to run PHP scripts with the owner permissions
libapache2-mod-xsendfile - Serve large static files efficiently from web applications
libarc-php - Flexible RDF system for semantic web and PHP practitioners
libawl-php - Andrew's Web Libraries - PHP Utility Libraries
libcgi-session-serialize-yaml-perl - YAML and YAML::Syck support for CGI::Session's serializers
libct4 - libraries for connecting to MS SQL and Sybase SQL servers
libcups2-dev - Common UNIX Printing System(tm) - Development files CUPS library
libexpect-php5 - expect module for PHP 5
libfann-dbg - Debugging symbols for FANN
libfann-dev - Development libraries and header files for FANN
libfann-doc - API documentation for FANN
libfann2 - Fast Artificial Neural Network Library
libfpdf-tpl-php - PHP library to use PDF templates with FPDF
libfpdi-php - PHP library for importing existing PDF documents into FPDF
libghc-highlighting-kate-dev - syntax highlighting library based on Kate syntax descriptions
libghc-highlighting-kate-doc - library documentation for highlighting-kate
libghc-highlighting-kate-prof - highlighting-kate library with profiling enabled
libgtksourceview-3.0-common - common files for the GTK+ syntax highlighting widget
libgtksourceview2.0-common - common files for the GTK+ syntax highlighting widget
libgv-php5 - PHP5 bindings for graphviz
libhtml-defang-perl - Cleans HTML as well as CSS of scripting and other executable contents, and neutralises XSS attacks.
libhtml-wikiconverter-phpwiki-perl - HTML to wiki markup converter - PhpWiki dialect
libjs-edit-area - a free javascript editor for source code
libjs-jquery-jush - jQuery Syntax Highlighter
libkohana-php - swift, secure, and small PHP 5 framework
libkohana2-modules-php - lightweight PHP5 MVC framework (extension modules)
libkohana2-php - lightweight PHP5 MVC framework
libkohana3.1-core-php - PHP5 framework core classes
libkohana3.1-mod-auth-php - swift, secure, and small PHP 5 framework, auth module
libkohana3.1-mod-cache-php - swift, secure, and small PHP 5 framework, cache module
libkohana3.1-mod-codebench-php - swift, secure, and small PHP 5 framework, codebench module
libkohana3.1-mod-database-php - swift, secure, and small PHP 5 framework, database module
libkohana3.1-mod-image-php - swift, secure, and small PHP 5 framework, image module
libkohana3.1-mod-orm-php - swift, secure, and small PHP 5 framework, ORM module
libkohana3.1-mod-unittest-php - swift, secure, and small PHP 5 framework, unittest module
libkohana3.1-mod-userguide-php - swift, secure, and small PHP 5 framework, userguide module
libkohana3.1-php - PHP5 framework metapackage
libkohana3.2-core-php - PHP5 framework core classes
libkohana3.2-mod-auth-php - swift, secure, and small PHP 5 framework, auth module
libkohana3.2-mod-cache-php - swift, secure, and small PHP 5 framework, cache module
libkohana3.2-mod-codebench-php - swift, secure, and small PHP 5 framework, codebench module
libkohana3.2-mod-database-php - swift, secure, and small PHP 5 framework, database module
libkohana3.2-mod-image-php - swift, secure, and small PHP 5 framework, image module
libkohana3.2-mod-orm-php - swift, secure, and small PHP 5 framework, ORM module
libkohana3.2-mod-unittest-php - swift, secure, and small PHP 5 framework, unittest module
libkohana3.2-mod-userguide-php - swift, secure, and small PHP 5 framework, userguide module
libkohana3.2-php - PHP5 framework metapackage
liblangscan-ruby - Ruby module of scanners for programming languages
libmarkdown-php - PHP library for rendering Markdown data
libmdb2 - Core library for accessing JET / MS Access (MDB) files
libming-dev - Library to generate SWF (Flash) Files (development files)
libming-util - Library to generate SWF (Flash) Files - Utilities
libming1 - Library to generate SWF (Flash) Files
libnet-libidn-perl - Perl bindings for GNU Libidn
libnusoap-php - SOAP toolkit for PHP
liboauth-php - PHP library implementing the OAuth secure authentication protocol
libocsigen-ocaml-dev - development librairies for Ocsigen
libow-php5 - Dallas 1-wire support: PHP5 bindings
libownet-php - Dallas 1-wire support: PHP OWNet library
libphp-adodb - ADOdb database abstraction layer for PHP
libphp-jabber - Object-oriented PHP interface for the Jabber/XMPP protocol
libphp-jpgraph - Object oriented graph library for php5
libphp-jpgraph-examples - Object oriented graph library for php5 (examples)
libphp-magpierss - provides an XML-based RSS parser in PHP
libphp-pclzip - zip archive manager class for PHP
libphp-phpmailer - full featured email transfer class for PHP
libphp-serialization-perl - Perl module to manipulate serialized PHP data structures
libphp-simplepie - RSS and Atom feed parsing in PHP
libphp-snoopy - Snoopy is a PHP class that simulates a web browser
libphp-swiftmailer - component-based library for sending e-mails
libphp5-embed - HTML-embedded scripting language (Embedded SAPI library)
libpuzzle-php - quick similar image finder - PHP bindings
libsmokeakonadi3 - Akonadi SMOKE library
libsmokeattica3 - Attica SMOKE library
libsmokebase3 - SMOKE base library
libsmokekde-dev - KDE SMOKE libraries -- development files
libsmokekde4-dbg - KDE SMOKE libraries -- debug symbols
libsmokekdecore4-3 - KDE Core SMOKE libraries
libsmokekdeui4-3 - KDE Ui SMOKE libraries
libsmokekfile3 - KFile SMOKE library
libsmokekhtml3 - KHTML SMOKE library
libsmokekio3 - KIO SMOKE library
libsmokeknewstuff2-3 - KNewStuff2 SMOKE library
libsmokeknewstuff3-3 - KNewStuff3 SMOKE library
libsmokekparts3 - KParts SMOKE libraries
libsmokektexteditor3 - KTextEditor SMOKE libraries
libsmokekutils3 - KUtils SMOKE libraries
libsmokenepomuk3 - Nepomuk SMOKE libraries
libsmokenepomukquery3 - Nepomuk Query SMOKE libraries
libsmokeokular3 - Okular SMOKE bindings
libsmokephonon3 - Qt Phonon SMOKE library
libsmokeplasma3 - Plasma SMOKE library
libsmokeqimageblitz3 - QImageBlitz SMOKE libraries
libsmokeqsci3 - QScintilla2 SMOKE library
libsmokeqt3support4-3 - Qt3 Support SMOKE library
libsmokeqt4-dbg - Qt SMOKE libraries debug symbols
libsmokeqt4-dev - Development files for Qt SMOKE libraries
libsmokeqtcore4-3 - Qt Core SMOKE library
libsmokeqtdbus4-3 - Qt D-Bus SMOKE library
libsmokeqtdeclarative4-3 - Qt Declarative SMOKE library
libsmokeqtgui4-3 - Qt Gui SMOKE library
libsmokeqthelp4-3 - Qt Help SMOKE library
libsmokeqtnetwork4-3 - Qt Network SMOKE library
libsmokeqtopengl4-3 - Qt OpenGL SMOKE library
libsmokeqtscript4-3 - Qt Script SMOKE library
libsmokeqtsql4-3 - Qt Sql SMOKE library
libsmokeqtsvg4-3 - Qt Svg SMOKE library
libsmokeqttest4-3 - Qt Test SMOKE library
libsmokeqtuitools4-3 - Qt Ui Tools SMOKE library
libsmokeqtwebkit4-3 - Qt WebKit SMOKE library
libsmokeqtxml4-3 - Qt Xml SMOKE library
libsmokeqtxmlpatterns4-3 - Qt XmlPatterns SMOKE library
libsmokesolid3 - Solid SMOKE libraries
libsmokesoprano3 - Soprano SMOKE library
libsmokesopranoclient3 - Soprano Client SMOKE library
libsmokesopranoserver3 - Soprano Server SMOKE library
libsparkline-php - sparkline graphing library for php
libssh2-php - PHP Bindings for libssh2
libstring-koremutake-perl - Convert to/from Koremutake Memorable Random Strings
libswe-doc - documentation for the libswe package
libswf-perl - Ming (SWF) module for Perl
libtext-mediawikiformat-perl - Convert Mediawiki markup into other text formats
libtntnet-dev - Tntnet library development headers
libtntnet10 - Tntnet libraries
libwebinject-perl - Perl Module for testing web services
libwww-facebook-api-perl - Facebook API implementation
libykclient-dev - Yubikey client library development files
libykclient3 - Yubikey client library runtime
llgal - Command-line online gallery generator
mantis - web-based bug tracking system
ming-fonts-dejavu - Ming format DejaVue Fonts
ming-fonts-opensymbol - Ming format Opensymbol Fonts
mlmmj-php-web - web interface for mlmmj, written in php
mlmmj-php-web-admin - administrative web interface for mlmmj, written in php
modsecurity-crs - modsecurity's Core Rule Set
monkey - fast, efficient, small and easy to configure web server
mrename - A tool for easy and automatic renaming of many files
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
nanourl - Lightweight analog of TinyURL
navit - Car navigation system with routing engine
netbeans - Extensible Java IDE
nzb - Usenet binary grabber
nzbget - command-line based binary newsgrabber for nzb files
ocsigen - web server and programming framework in OCaml
ocsigen-dev - development metapackage for Ocsigen
papercut - simple and extensible NNTP server
parrot - virtual machine for dynamic languages
pear-horde-channel - PEAR Horde channel definition file
pear-phpunit-channel - PEAR pear.phpunit.de channel definition file
pear-symfony-project-channel - PEAR Symfony Project channel definition file
pgtap - Unit testing framework for PostgreSQL
phamm - PHP front-end to manage virtual services on LDAP - main package
phamm-ldap - PHP front-end to manage virtual services on LDAP - back-end files
phamm-ldap-amavis - PHP front-end to manage virtual services on LDAP - back-end files
phamm-ldap-vacation - PHP front-end to manage virtual services on LDAP - back-end files
php-apc - APC (Alternative PHP Cache) module for PHP 5
php-auth - PHP PEAR modules for creating an authentication system
php-auth-http - HTTP authentication
php-auth-sasl - Abstraction of various SASL mechanism responses
php-benchmark - Framework to benchmark PHP scripts or function calls
php-cache - framework for caching of arbitrary data
php-cache-lite - Fast and lite data cache system
php-cas - Central Authentication Service client library in php
php-codecoverage - provides collection, processing and rendering for PHP code coverage information
php-codesniffer - PHP, CSS and JavaScript coding standard analyzer and checker
php-compat - Provides components to achieve PHP version independence
php-config - Your configuration's swiss-army knife
php-console-table - PHP PEAR module to make it easy to build console style tables
php-crypt-blowfish - Allows for quick two-way blowfish encryption without requiring the MCrypt PHP extension
php-crypt-cbc - PEAR class to emulate Perl's Crypt::CBC module
php-crypt-gpg - PHP PEAR module for encrypting and decrypting with GnuPG
php-date - PHP PEAR module for date and time manipulation
php-db - PHP PEAR Database Abstraction Layer
php-doc - Documentation for PHP5
php-elisp - Emacs support for php files
php-event-dispatcher - Dispatch notifications using PHP callbacks
php-file - PHP Pear modules for common file and directory routines
php-file-iterator - FilterIterator implementation for PHP
php-fpdf - PHP class to generate PDF files
php-geshi - Generic Syntax Highlighter
php-getid3 - PHP script to extract informations from multimedia files
php-gettext - read gettext MO files directly, without requiring anything other than PHP
php-horde-activesync - Horde ActiveSync Server Library
php-horde-alarm - Horde Alarm Libraries
php-horde-argv - Horde command-line argument parsing package
php-horde-auth - Horde Authentication API
php-horde-autoloader - Horde Autoloader
php-horde-browser - Horde Browser API
php-horde-cache - Horde Caching API
php-horde-cli - Horde Command Line Interface API
php-horde-compress - Horde Compression API
php-horde-constraint - Horde Constraint library
php-horde-controller - Horde Controller libraries
php-horde-core - Horde Core Framework libraries
php-horde-crypt - Horde Cryptography API
php-horde-data - Horde Data API
php-horde-date - Horde Date package
php-horde-date-parser - Horde Date Parser
php-horde-db - Horde Database Libraries
php-horde-editor - Horde Editor API
php-horde-exception - Horde Exception Handler
php-horde-form - Horde Form API
php-horde-group - Horde User Groups System
php-horde-history - API for tracking the history of an object
php-horde-http - Horde HTTP libraries
php-horde-icalendar - iCalendar API
php-horde-image - Horde Image API
php-horde-imap-client - Horde IMAP abstraction interface
php-horde-injector - Horde dependency injection container
php-horde-itip - iTip invitation response handling
php-horde-lock - Horde Resource Locking System
php-horde-log - Horde Logging library
php-horde-logintasks - Horde Login Tasks System
php-horde-mail - Horde Mail Library
php-horde-mime - Horde MIME Library
php-horde-mime-viewer - Horde MIME Viewer Library
php-horde-nls - Native Language Support (NLS)
php-horde-notification - Horde Notification System
php-horde-perms - Horde Permissions System
php-horde-prefs - Horde Preferences API
php-horde-rdo - Rampage Data Objects
php-horde-role - PEAR installer role used to install Horde components
php-horde-rpc - Horde RPC API
php-horde-secret - Secret Encryption API
php-horde-serialize - Data Encapulation API
php-horde-sessionhandler - Horde Session Handler API
php-horde-share - Horde Shared Permissions System
php-horde-spellchecker - Spellcheck API
php-horde-stream-filter - Horde Stream filters
php-horde-stream-wrapper - Horde Stream wrappers
php-horde-support - Horde support package
php-horde-syncml - Horde_SyncMl provides an API for processing SyncML requests
php-horde-template - Horde Template System
php-horde-text-diff - Engine for performing and rendering text diffs
php-horde-text-filter - Horde Text Filter API
php-horde-text-filter-csstidy - Horde Text Filter API
php-horde-text-flowed - Horde API for flowed text as per RFC 3676
php-horde-token - Horde Token API
php-horde-translation - Horde translation library
php-horde-tree - Horde Tree API
php-horde-url - Horde Url class
php-horde-util - Horde Utility Libraries
php-horde-vfs - Virtual File System API
php-horde-view - Horde View API
php-horde-xml-element - Horde Xml Element object
php-horde-xml-wbxml - Horde_Xml_Wbxml provides an API for encoding and decoding WBXML documents used in SyncML and other wireless applications
php-html-common - base class for other HTML classes
php-html-safe - strip down all potentially dangerous content within HTML
php-html-template-it - PEAR HTML Isotemplate API
php-htmlpurifier - Standards-compliant HTML filter
php-http - PHP PEAR module for HTTP related stuff
php-http-request - PEAR class to provide an easy way to perform HTTP requests
php-http-upload - Easy and secure management of files submitted via HTML Forms
php-http-webdav-server - WebDAV server base class
php-image-text - PEAR module to do advanced text manipulations in images
php-imlib - PHP Imlib2 Extension
php-invoker - utility class for invoking callables with a timeout
php-kolab-filter - Postfix filters for the Kolab server
php-kolab-freebusy - provide Kolab free/busy information
php-letodms-core - Document management system - Core files
php-letodms-lucene - Document management system - Fulltext search
php-log - log module for PEAR
php-mail - PHP PEAR module for sending email
php-mail-mime - PHP PEAR module for creating MIME messages
php-mail-mimedecode - PHP PEAR module to decode MIME messages
php-mdb2 - merge of the PEAR DB and Metabase php database abstraction layers
php-mdb2-driver-mysql - PHP PEAR module to provide a MySQL driver for MDB2
php-mdb2-driver-pgsql - PHP PEAR module to provide a PostgreSQL driver for MDB2
php-mdb2-schema - XML based database schema manager
php-mime-type - Utility class for dealing with MIME types
php-net-checkip - check the syntax of IPv4 addresses
php-net-dime - class that implements DIME encoding
php-net-dnsbl - Checks if a given host or URL is listed on a DNSBL or SURBL
php-net-ftp - provides an OO interface to the PHP FTP functions
php-net-imap - Provides an implementation of the IMAP protocol
php-net-ipv4 - IPv4 network calculations and validation
php-net-ipv6 - Check and validate IPv6 addresses
php-net-ldap - a OO interface for searching and manipulating LDAP-entries
php-net-ldap2 - PHP PEAR module for searching and manipulating LDAP-entries
php-net-lmtp - PHP PEAR module implementing LMTP protocol
php-net-nntp - PHP Pear module for NNTP
php-net-ping - PEAR class wrapper around the ping shell utility
php-net-portscan - Portscanner utilities
php-net-sieve - net_sieve module for PEAR
php-net-smartirc - provides an OO interface to the PHP IRC functions
php-net-smtp - PHP PEAR module implementing SMTP protocol
php-net-socket - PHP PEAR Network Socket Interface module
php-net-url - easy parsing of Urls
php-net-url2 - Class for parsing and handling URL
php-net-whois - PHP PEAR module for querying whois services
php-numbers-words - PEAR module providing methods for spelling numerals in words
php-openid - PHP OpenID library
php-pager - Pages an array of data, creating links to previous and next pages
php-pear - PEAR - PHP Extension and Application Repository
php-radius-legacy - Radius protocol implementation in PHP
php-sabredav - SabreDAV allows you to easily add WebDAV support to a PHP application
php-services-json - PHP implementaion of json_encode/decode
php-services-weather - acts as an interface to various online weather-services
php-soap - a SOAP Client/Server class for PHP
php-symfony-yaml - Symfony YAML: A PHP library that speaks YAML
php-text-captcha - PEAR module for generating CAPTCHAs
php-text-figlet - PEAR module for rendering text using FIGlet fonts
php-text-password - a PEAR module for creating passwords with PHP
php-text-template - Simple php template engine
php-text-wiki - transforms Wiki and BBCode markup into XHTML, LaTeX or plain text markup
php-timer - PHP Utility class for timing
php-token-stream - Wrapper around PHP's tokenizer extension
php-validate - validation class
php-wikidiff2 - external diff engine for mediawiki
php-xajax - A library to develop Ajax applications
php-xml-dtd - parsing of DTD files and DTD validation of XML files
php-xml-htmlsax3 - SAX parser for HTML and other badly formed XML documents
php-xml-parser - PHP PEAR module for parsing XML
php-xml-rpc - PHP implementation of the XML-RPC protocol
php-xml-rpc2 - PHP XML-RPC client/server library
php-xml-rss - php based parser for RSS news feeds
php-xml-serializer - swiss-army knife for reading and writing XML files
php-zeroc-ice - Ice for PHP extension
php5 - server-side, HTML-embedded scripting language (metapackage)
php5-adodb - Extension optimising the ADOdb database abstraction library
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
php5-cli - command-line interpreter for the php5 scripting language
php5-common - Common files for packages built from the php5 source
php5-curl - CURL module for php5
php5-dbg - Debug symbols for PHP5
php5-dev - Files for PHP5 module development
php5-enchant - Enchant module for php5
php5-exactimage - fast image manipulation library (PHP bindings)
php5-ffmpeg - audio and video support via ffmpeg for php5
php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php5-gd - GD module for php5
php5-gdcm - Grassroots DICOM PHP5 bindings
php5-geoip - GeoIP module for php5
php5-gmp - GMP module for php5
php5-imagick - ImageMagick module for php5
php5-imap - IMAP module for php5
php5-interbase - interbase/firebird module for php5
php5-intl - internationalisation module for php5
php5-lasso - Library for Liberty Alliance and SAML protocols - PHP 5 bindings
php5-ldap - LDAP module for php5
php5-librdf - PHP5 language bindings for the Redland RDF library
php5-mapscript - php5-cgi module for MapServer
php5-mcrypt - MCrypt module for php5
php5-memcache - memcache extension module for PHP5
php5-memcached - memcached extension module for PHP5, uses libmemcached
php5-midgard2 - Midgard2 Content Repository - PHP5 language bindings and module
php5-ming - Ming module for php5
php5-mysql - MySQL module for php5
php5-mysqlnd - MySQL module for php5 (Native Driver)
php5-odbc - ODBC module for php5
php5-pgsql - PostgreSQL module for php5
php5-ps - ps module for PHP 5
php5-pspell - pspell module for php5
php5-radius - PECL radius module for PHP 5
php5-recode - recode module for php5
php5-remctl - PECL module for Kerberos-authenticated command execution
php5-rrd - rrd module for PHP 5
php5-sasl - Cyrus SASL extension for PHP 5
php5-snmp - SNMP module for php5
php5-sqlite - SQLite module for php5
php5-svn - PHP Bindings for the Subversion Revision control system
php5-sybase - Sybase / MS SQL Server module for php5
php5-tidy - tidy module for php5
php5-tokyo-tyrant - PHP interface to Tokyo Cabinet's network interface, Tokyo Tyrant
php5-vtkgdcm - Grassroots DICOM VTK PHP bindings
php5-xcache - Fast, stable PHP opcode cacher
php5-xdebug - Xdebug Module for PHP 5
php5-xmlrpc - XML-RPC module for php5
php5-xsl - XSL module for php5
phpbb3 - full-featured, skinnable non-threaded web forum
phpbb3-l10n - additional language files for phpBB
phpgacl - PHP Generic Access Control Lists
phpldapadmin - web based interface for administering LDAP servers
phpmyadmin - MySQL web administration tool
phppgadmin - web-based administration tool for PostgreSQL
phpreports - XML-based report generator for PHP
phpsysinfo - PHP based host information
phpunit - Unit testing suite for PHP5
phpunit-mock-object - Mock Object library for PHPUnit
phpunit-selenium - Selenium RC integration for PHPUnit
phpunit-story - extension to facilitate Behaviour-Driven Development
phpwebcounter - simple and light web hit counter
phpwebcounter-extra - extra graphical numbers to PHP Web Counter
pkg-php-tools - various packaging tools and scripts for PHP PEAR packages
poppassd - password change server for Eudora and NUPOP
postfix-cluebringer-webui - anti-spam plugin for Postfix
postfixadmin - Virtual mail hosting interface for Postfix
prayer - standalone IMAP-based webmail server
prayer-accountd - account management daemon for Prayer
prayer-templates-dev - tools for compiling Prayer templates
prayer-templates-src - templates for customizing Prayer Webmail
preprocess - portable multi-language file preprocessor
psi-plus - Qt-based XMPP/Jabber client (basic version)
psi-plus-common - common files for Psi+
psi-plus-content-downloader - content downloader plugin for Psi+
psi-plus-dbg - Qt-based XMPP/Jabber client (basic version) [debug symbols]
psi-plus-plugins - plugins for Psi+
psi-plus-plugins-dbg - plugins for Psi+ [debug symbols]
psi-plus-skins - skins for Psi+
psi-plus-sounds - sound files for Psi+
psi-plus-webkit - Qt-based XMPP/Jabber client (WebKit version)
psi-plus-webkit-dbg - Qt-based XMPP/Jabber client (WebKit version) [debug symbols]
python-adodb - A database abstraction library for python
python-cheetah - text-based template engine and Python code generator
python-django-extdirect - Ext.Direct serverside implementation for Django
python-htmltmpl - Templating engine for separation of code and HTML
python-jinja - small but fast and easy to use stand-alone template engine
python-kid - simple Pythonic template language for XML based vocabularies
python-ming - Ming (SWF) module for Python
python-pyfann - Python bindings for FANN
python-pyfann-dbg - Debugging symbols for FANN Python wrapper
python-simplemediawiki - extremely low-level Python wrapper to the MediaWiki API
python-templayer - layered template library for Python
python-vatnumber - Python module to validate VAT numbers
rats - Rough Auditing Tool for Security
rhythmbox-ampache - play audio streams from an Ampache server
rofs - Read-Only Filesystem for FUSE
rtgui - Web based front-end for rTorrent
ruby-coderay - Ruby library for syntax highlighting
ruby-erubis - fast and extensible eRuby implementation which supports multi-language
sbnc-php-dev - IRC proxy for multiple users (PHP classes)
sbox-dtc - CGI chroot wrapper script for safer hosting environment
scummvm - engine for several graphical adventure games
scummvm-data - engine for several graphical adventure games (data files)
simpleid - simple OpenID provider implemented in PHP
simpleid-ldap - simple OpenID provider implemented in PHP - LDAP plugin
simpleid-store-dynalogin - two-factor HOTP authentication - OpenID provider
simplesamlphp - Authentication and federation application supporting several protocols
slbackup-php - Web-based administration tool for slbackup
sloccount - programs for counting physical source lines of code (SLOC)
smarty - Template engine for PHP
smarty-gettext - Gettext plugin enabling internationalization in Smarty
smarty-validate - Server-side form validation plugin for Smarty
smarty3 - Template engine for PHP
smbind - PHP-based tool for managing DNS zones for BIND
smoke-dev-tools - SMOKE development tools
smokegen-dbg - SMOKE development tools -- debug symbols
spl-core - SPL Programming Language
squirrelmail - Webmail for nuts
squirrelmail-compatibility - SquirrelMail plugin: Let other plugins work with older/newer SM versions
squirrelmail-lockout - SquirrelMail plugin: Disallow access to users/domains
squirrelmail-logger - SquirrelMail plugin: Add logging functionality to your webmail interface
squirrelmail-quicksave - SquirrelMail plugin: Auto-save messages while composing
squirrelmail-secure-login - SquirrelMail plugin: Force users to use SSL encrypted connections
squirrelmail-sent-confirmation - SquirrelMail plugin: display a confimation message after sending mails
squirrelmail-spam-buttons - SquirrelMail plugin: Place "Spam" buttons on the mailbox message list page
squirrelmail-viewashtml - SquirrelMail plugin: View mails as HTML
srg - Fast, Flexible and Detailed log analysis for the Squid Proxy
suphp-common - Common files for mod suphp
swig - Generate scripting interfaces to C/C++ code
swig2.0 - Generate scripting interfaces to C/C++ code
synergy - Share mouse, keyboard and clipboard over the network
therion-doc - Documentation for Therion Cave surveying software
tntnet - modular, multithreaded web application server for C++
tntnet-demos - demo web applications for Tntnet
tntnet-doc - documentation for Tntnet
torrentflux - web based, feature-rich BitTorrent download manager
txt2regex - A Regular Expression "wizard", all written with bash2 builtins
ukolovnik - Simple todo manager using PHP and MySQL
universalindentgui - GUI frontend for several code beautifiers
uphpmvault - upload recovery images to HP MediaVault2 via Ethernet
vdr-plugin-infosatepg - include TechniSat EPG data via satelite in vdr
velocity - Java-based template engine for web application
wapiti - Web application vulnerability scanner
websvn - interface for Subversion repositories written in PHP
weechat-scripts - script collection for the WeeChat IRC client
wwwconfig-common - Debian web auto configuration
xine-ui - the xine video player, user interface
xjed - editor for programmers (x11 version)
yasat - simple stupid audit tool
yate-scripts - PHP scripts for YATE
yhsm-validation-server - Validation server using YubiHSM
yubikey-server-c - Yubikey validation server
zabbix-frontend-php - network monitoring solution - PHP front-end
zendframework - powerful PHP framework
zendframework-bin - binary scripts for zendframework
zendframework-resources - resource scripts for zendframework
zoph - Web based digital image presentation and management system
mgltools-cadd - Computer Aided Drug Discovery (CADD) Pipeline

Donc si je vois bien j'ai du PHP5

du coup j'ai taper ceci

Code: Select all

sudo apt-cache show php5/code]

ce qui me donne 
[code]Package: php5
Version: 5.4.45-0+deb7u8
Installed-Size: 21
Maintainer: Debian PHP Maintainers <[email protected]>
Architecture: all
Depends: libapache2-mod-php5 (>= 5.4.45-0+deb7u8) | libapache2-mod-php5filter (>= 5.4.45-0+deb7u8) | php5-cgi (>= 5.4.45-0+deb7u8) | php5-fpm (>= 5.4.45-0+deb7u8), php5-common (>= 5.4.45-0+deb7u8)
Size: 1028
SHA256: 48************************************************************71
SHA1: 07*95ac************************
MD5sum: 6e*******************************************3510
Description: server-side, HTML-embedded scripting language (metapackage)
 This package is a metapackage that, when installed, guarantees that you
 have at least one of the four server-side versions of the PHP5 interpreter
 installed. Removing this package won't remove PHP5 from your system, however
 it may remove other packages that depend on this one.
 .
 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
 open source general-purpose scripting language that is especially suited
 for web development and can be embedded into HTML.
Homepage: http://www.php.net/
Section: web
Priority: optional
Filename: pool/main/p/php5/php5_5.4.45-0+deb7u8_all.deb
pourquoi quand j'essai l'update de php5 ca ne veut pas me le mettre en dernière version.
Si vous savez comment je peut mettre directement a jour vers php7 je suis preneur comme. car la je bloque !

totoharibo
Posts: 4245
Joined: Thu Jan 24, 2013 8:43 am

Re: Impossible de mettre a jour ma version de PHP

Fri Aug 02, 2019 7:16 pm

<HS>
wheezy est un peu vieux (2015) maintenant c'est buster. Y passer ?
reprogrammer une nouvelle distrib sur une autre carte SD et y copier les fichiers du serveur web.
</HS>
il y a des fichiers de config qu'il ne trouve pas. ceci explique peut-être cela.
qu'il trouve trace des définitions des packages dans la base de données ne veut pas dire qu'ils sont accessibles à l'update.

"dkpg -l php*" te dira ce qui est chargé.

creaimmo
Posts: 5
Joined: Wed Jul 31, 2019 9:11 pm

Re: Impossible de mettre a jour ma version de PHP

Fri Aug 02, 2019 10:04 pm

totoharibo wrote:
Fri Aug 02, 2019 7:16 pm
<HS>
wheezy est un peu vieux (2015) maintenant c'est buster. Y passer ?
reprogrammer une nouvelle distrib sur une autre carte SD et y copier les fichiers du serveur web.
</HS>
Je suis bien sur Buster 4.19.60, mon problème c'est que je n'arrive pas a mettre a jour les REPO pour correspondre a Buster. J'ai pas eu de soucis pour mettre a jour Raspbian vers Buster 4.19.60 la version que j'ai est celle du 25 Juillet 2019. Donc de ce coté je suis bon.

Mais il m'est impossible de mettre a jour les REPO pour aller chercher PHP a jour etc...

Le soucis c'est que je peux pas repartir de zero car j'ai des modifications perso et ça me demanderai trop de temps pour refaire ça de zero. Donc Ces dernières semaines étant en vacances, je souhaite faire évoluer mon serveur web avant la reprise pour que mes collaborateurs puissent de nouveau travaillé dessus a leurs retour de vacances et ensuite pouvoir évolué mon site avec PHP7.

Je mets pas souvent a jour mon serveur web, pour éviter des soucis de compatibilités avec certains modules perso qu'ont utilisent. Mais la niveau sécurité il faut que j'y passe ;-) !

totoharibo
Posts: 4245
Joined: Thu Jan 24, 2013 8:43 am

Re: Impossible de mettre a jour ma version de PHP

Sat Aug 03, 2019 9:02 am

ne ris pas : mon serveur web ne répond plus.

Je ne le retrouve physiquement plus ... il était derrière sur l'étagère.
Pas question d'upgrade :lol:

jelopo
Posts: 1515
Joined: Wed Oct 17, 2012 7:53 pm

Re: Impossible de mettre a jour ma version de PHP

Sat Aug 03, 2019 9:04 pm

Bonjour,


Tu dit être sous Buster et les commandes pointent sur des dépots wheezy, ça ne peut pas fonctionner.
Il faut que le fichier /etc/apt/sources.list soit cohérent avec la version de raspbian installé ainsi que les fichiers de /etc/apt/source.list.d

A+

JumpZero
Posts: 1033
Joined: Thu Mar 28, 2013 7:35 pm
Location: 127.0.0.1

Re: Impossible de mettre a jour ma version de PHP

Sun Aug 04, 2019 12:45 pm

+1 @jelopo
et aussi /etc/apt/sources.list.d/raspi.list doit pointer sur buster
comment as-tu fais tes mises à jour de wheezy à jessie puis de jessie à stretch puis de strech à buster?
là bonne procédure est ici: https://pimylifeup.com/upgrade-raspbian ... an-buster/ (entre autre)

Return to “Français”