Amazon AWS SDK Installationsanleitung Seite 16

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 151
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 15
Installing via Zip
Each release of the AWS SDK for PHP (since 2.3.2) ships with a zip file containing all of the classes and
dependencies you need to run the SDK in a PSR-0 compatible directory structure. Additionally, the zip file includes a
class autoloader for the AWS SDK for PHP and the following required and suggested libraries:
Guzzle for HTTP requests
Symfony2 EventDispatcher for events
Monolog and Psr\Log for logging
Doctrine for caching
Using the zip file is great if you:
1. Prefer not to or cannot use package managers like Composer and PEAR.
2. Cannot use phar files due to environment limitations.
3. Want to use only specific files from the SDK.
To get started, you must download the zip file, unzip it into your project to a location of your choosing, and include
the autoloader:
require '/path/to/aws-autoloader.php';
Alternatively, you can write your own autoloader or use an existing one from your project.
If you have phing installed, you can clone the SDK and build a zip file yourself using the "zip" task.
Installing via PEAR
PEAR packages are easy to install, and are available in your PHP environment path so that they are accessible to
any PHP project. PEAR packages are not specific to your project, but rather to the machine they're installed on.
From the command-line, you can install the SDK with PEAR as follows (this might need to be run as sudo):
pear config-set auto_discover 1
pear channel-discover pear.amazonwebservices.com
pear install aws/sdk
Alternatively, you can combine all three of the preceding statements into one by doing the following:
pear -D auto_discover=1 install pear.amazonwebservices.com/sdk
Once the SDK has been installed via PEAR, you can include the aws.phar into your project with:
require 'AWSSDKforPHP/aws.phar';
This assumes that the PEAR directory is in your PHP include path, which it probably is, if PEAR is working correctly.
If needed, you can determine your PEAR directory by running pear config-get php_dir.
Getting Started Guide
This "Getting Started Guide" focuses on basic usage of the AWS SDK for PHP. After reading through this material,
you should be familiar with the SDK and be able to start using the SDK in your application. This guide assumes that
you have already downloaded and installed the SDK and retrieved your AWS access keys.
Including the SDK
No matter which technique you have used to to install the SDK, the SDK can be included into your project or script
with just a single include (or require) statement. Please refer to the following table for the PHP code that best fits
your installation technique. Please replace any instances of /path/to/ with the actual path on your system.
Installation
Technique Include Statement
Getting Started Guide
4
Seitenansicht 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 150 151

Kommentare zu diesen Handbüchern

Keine Kommentare

Philips VR299/75 manuali

Manuali dei proprietari e guide per l'utente per Lettori di cassette Philips VR299/75.
We fornisce 1 manuali pdf Philips VR299/75 per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Lettori di cassette Philips

Modelli Tipo di Documento
VR150/58 Manuale Utente   Philips VR150/58 User's Manual, 16 pagine
SVZ162 Manuale Utente   Philips SVZ162 User's Manual, 52 pagine
AZ1080 Manuale Utente   Philips AZ1080 User's Manual, 14 pagine
VR530/07 Manuale Utente   Philips VR530/07 User's Manual, 16 pagine
14PV325/05S Manuale Utente    Philips 14PV325/05S User's Manual, 24 pagine
AQ 6598/17 Manuale Utente      Philips AQ 6598/17 User's Manual, 2 pagine
AQ 5055 Manuale Utente   Philips AQ 5055 User's Manual, 2 pagine
VR423CAT Manuale Utente   Philips VR423CAT User's Manual, 56 pagine
VR 655 Manuale Utente   Philips VR 655 User's Manual, 16 pagine
XP AQ 6581 Manuale Utente      Philips XP AQ 6581 User's Manual, 2 pagine
VR870CC/L/P/07 Manuale Utente    Philips VR870CC/L/P/07 User's Manual, 63 pagine
AQ 6587 Manuale Utente   Philips AQ 6587 User's Manual, 2 pagine
CCC 130AT Manuale Utente   Philips CCC 130AT User's Manual, 60 pagine
VR 130 Manuale Utente   Philips VR 130 User's Manual, 16 pagine
14PV340/05 Manuale Utente    Philips 14PV340/05 User's Manual, 28 pagine
VR220/07 Manuale Utente    Philips VR220/07 User's Manual, 55 pagine
AQ6345/00 Manuale Utente       Philips AQ6345/00 Benutzerhandbuch, 60 pagine
VR150/07 Manuale Utente   Philips VR150/07 User's Manual, 16 pagine
CCC 092AT Manuale Utente   Philips CCC 092AT User's Manual, 54 pagine
AQ6495/00Z Manuale Utente        Philips AQ6495/00Z User's Manual [en] , 1 pagine