Ciao a tutti!
Sto usando DEBIAN 7.0 e sviluppando con PHP
Devo caricare un file nella cartella delle estensioni PHP.
Ora il problema è che
Non trovo la cartella estensioni php su linux debian versione 7.0
Sapete dove si trova tale cartella ?
Grazie a tutti per l'aiuto
Carlo
:muro:
Gimli[2BV!2B]
09-03-2013, 14:38
Estensioni *binarie* tipo queste? (http://guide.debianizzati.org/index.php/Installare_un_ambiente_LAMP:_Linux,_Apache2,_SSL,_MySQL,_PHP5#Moduli_aggiuntivi) (per esempio quelle raccolte in PECL (http://pecl.php.net/packages.php))
Se sono queste dovrebbero stare tutte in /usr/lib/php5/, ma devono essere compilate correttamente per il sistema e l'architettura in uso (più eventuali dipendenze, ecc...).
Nell'ordine è preferibile:
installare da repository se presente
cercare se disponibile in qualche repository terzo affidabile
compilare ed installare da sorgente
buttare in quella cartella qualcosa che si è trovato in giro
Estensioni collezioni di classi php? (tipo quelle raccolte in PEAR (http://pear.php.net/packages.php))
Queste dovrebbero trovarsi in /usr/share/php/ (alcune sembra si creino una cartella personale in /usr/share con prefisso php-), in questo caso si hanno un po' meno problemi ad aggiungere componenti anche non provenienti dal repository (anche il fatto che si trovino in /usr/share da questa indicazione).
In tutti i casi, se l'estensione che interessa è disponibile nel repository (e non è troppo vecchia per i propri scopi), è preferibile utilizzare quella.
Lista più o meno completa delle estensioni php esclusivamente binarie disponibili in Debian Sid:gimli@phoenix:~$ apt-cache search --names-only "^php5-*" | grep -v dbg
php5-exactimage - fast image manipulation library (PHP bindings)
php5-ffmpeg - audio and video support via ffmpeg for php5
php5-gdcm - Grassroots DICOM PHP5 bindings
php5-vtkgdcm - Grassroots DICOM VTK PHP bindings
php5-lasso - Library for Liberty Alliance and SAML protocols - PHP 5 bindings
php5-mapscript - php5-cgi module for MapServer
php5-ming - Ming module for php5
php5-adodb - Extension optimising the ADOdb database abstraction library
php5-geoip - GeoIP module for php5
php5-imagick - ImageMagick module for php5
php5-memcache - memcache extension module for PHP5
php5-memcached - memcached extension module for PHP5, uses libmemcached
php5-ps - ps module for PHP 5
php5-radius - PECL radius module for PHP 5
php5-rrd - rrd module for PHP 5
php5-sasl - Cyrus SASL extension for PHP 5
php5-svn - PHP Bindings for the Subversion Revision control system
php5-tokyo-tyrant - PHP interface to Tokyo Cabinet's network interface, Tokyo Tyrant
php5 - server-side, HTML-embedded scripting language (metapackage)
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-dev - Files for PHP5 module development
php5-enchant - Enchant module for php5
php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php5-gd - GD module for php5
php5-gmp - GMP module for php5
php5-imap - IMAP module for php5
php5-interbase - interbase/firebird module for php5
php5-intl - internationalisation module for php5
php5-ldap - LDAP module for php5
php5-mcrypt - MCrypt 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-pspell - pspell module for php5
php5-recode - recode module for php5
php5-snmp - SNMP module for php5
php5-sqlite - SQLite module for php5
php5-sybase - Sybase / MS SQL Server module for php5
php5-tidy - tidy module for php5
php5-xmlrpc - XML-RPC module for php5
php5-xsl - XSL module for php5
php5-midgard2 - Midgard2 Content Repository - PHP5 language bindings and module
php5-librdf - PHP5 language bindings for the Redland RDF library
php5-remctl - PECL module for Kerberos-authenticated command execution
php5-xcache - Fast, stable PHP opcode cacher
php5-xdebug - Xdebug Module for PHP 5
php5-mongo - MongoDB database driver
php5-suhosin - advanced protection module for php5
Lista più o meno completa di molte altre estensioni php dotate o no di una porzione binaria disponibili in Debian Sid:gimli@phoenix:~$ apt-cache search --names-only "^php-"
php-geshi - Generic Syntax Highlighter
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-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-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-getid3 - PHP script to extract informations from multimedia files
php-gettext - read gettext MO files directly, without requiring anything other than PHP
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-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-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-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-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-pear - PEAR - PHP Extension and Application Repository
php-wikidiff2 - external diff engine for mediawiki
php-zeroc-ice - Ice for PHP extension
php-crypt-gpg - PHP PEAR module for encrypting and decrypting with GnuPG
php-horde - Horde Application Framework
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-content - Tagging application
php-horde-controller - Horde Controller libraries
php-horde-core - Horde Core Framework libraries
php-horde-crypt - Horde Cryptography API
php-horde-crypt-blowfish - Blowfish Encryption Library
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-elasticsearch - Horde ElasticSearch client
php-horde-exception - Horde Exception Handler
php-horde-feed - Horde Feed libraries
php-horde-form - Horde Form API
php-horde-gollem - Web-based file manager
php-horde-group - Horde User Groups System
php-horde-groupware - Horde Groupware
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 Client
php-horde-imp - A web based webmail system
php-horde-imsp - IMSP API
php-horde-ingo - An email filter rules manager
php-horde-injector - Horde dependency injection container
php-horde-itip - iTip invitation response handling
php-horde-kolab-format - A package for reading/writing Kolab data formats
php-horde-kolab-server - A package for manipulating the Kolab user database
php-horde-kolab-session - A package managing an active Kolab session
php-horde-kolab-storage - A package for handling Kolab data stored on an IMAP server
php-horde-kronolith - A web based calendar
php-horde-ldap - Horde LDAP libraries
php-horde-listheaders - Horde List Headers Parsing Library
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-memcache - Horde Memcache API
php-horde-mime - Horde MIME Library
php-horde-mime-viewer - Horde MIME Viewer Library
php-horde-mnemo - A web based notes manager
php-horde-nag - A web based task list manager
php-horde-nls - Native Language Support (NLS)
php-horde-notification - Horde Notification System
php-horde-oauth - Horde OAuth client/server
php-horde-passwd - Horde password changing application
php-horde-pdf - Horde PDF library
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-routes - Horde Routes URL mapping system
php-horde-rpc - Horde RPC API
php-horde-scheduler - Horde Scheduler System
php-horde-scribe - Scribe
php-horde-secret - Secret Encryption API
php-horde-serialize - Data Encapulation API
php-horde-service-facebook - Horde Facebook client
php-horde-service-twitter - Horde Twitter client
php-horde-service-urlshortener - Horde_Service_UrlShortener Class
php-horde-service-weather - Horde Weather Provider
php-horde-sesha - A simple Inventory App for Horde
php-horde-sessionhandler - Horde Session Handler API
php-horde-share - Horde Shared Permissions System
php-horde-spellchecker - Spellcheck API
php-horde-stream - Horde stream handler
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-test - Horde testing base classes
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-thrift - Thrift
php-horde-timeobjects - Horde timeobjects application
php-horde-timezone - Timezone library
php-horde-token - Horde Token API
php-horde-translation - Horde translation library
php-horde-tree - Horde Tree API
php-horde-turba - A web based address book
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-webmail - Horde Groupware Webmail Edition
php-horde-whups - Ticket-tracking application
php-horde-wicked - Wiki application
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-letodms-core - Document management system - Core files
php-letodms-lucene - Document management system - Fulltext search
php-mail-mbox - Read and modify Unix MBOXes
php-net-publicsuffix - PHP module for detecting registered domains and public suffixes
Conclusione: nei repository ce ne sono a bizzeffe; purtroppo non hanno una nomenclatura completamente omogenea, ma cercando il nome ufficiale dell'estensione si può solitamente capire piuttosto facilmente se c'è.
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.