Alfresco PHP Library Installation Documentation

cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco PHP Library Installation Documentation

resplin
Intermediate
0 0 2,612

{{Obsolete}}

The PHP SDK is now being maintained as a separate project at Google Code:
http://code.google.com/p/alfresco-php-sdk/


Introduction


The following installation instructions relate to Alfresco PHP library releases up to 1.2.


Dependancies


Installing and Configuring


It is presumed that you have a correct installation of PHP 5.x and a suitable web server.  (Note:  the current PHP library has only been tested on Win XP running Apache 2.x)


  • Ensure that PEAR SOAP and its dependant libraries are installed and present on the PHP include path. 
  • Unpack the PHP source distribution into a convenient location.  You should see an Alfresco and Examples directory.
  • Add the Alfresco directory to the PHP include path and ensure that Examples is accessible to the web server.
  • Edit your php.ini file to indicate which Alfresco repository you want it to communicate with.


[alfresco]
; Alfresco server location
alfresco.server=http://localhost:8080


Point your browser to
http://<apache2_host>/Examples/SimpleBrowse/index.php
to browse the Alfresco repository. {spelling and capitalization depends on the alias entry you made in the Apache2 config file(s). i.e. '/etc/apache2/sites-available/default'