Confusion with install directions

Topics: Developer Forum, User Forum
Nov 10, 2009 at 2:26 PM

I know this is small but it is a bit confusing.  The install.txt instructions says the following:

Installation instructions
-------------------------

Installation is quite easy: copy the contents of the Classes folder to any location
in your application required.

The contents are the PHPExcel folder and the file PHPExcel.php

yet all the examples such as 13calculation.php located in Tests says the following:

/** PHPExcel */
require_once '../Classes/PHPExcel.php';

/** PHPExcel_Calculation */
require_once '../Classes/PHPExcel/Calculation.php';


This seems to say you should have uploaded Classes and everything inside not just the content of Classes.

 

Developer
Nov 10, 2009 at 11:57 PM

I have expanded the install.txt file a bit. The following text should be better:

 

Installation instructions
-------------------------

Installation is quite easy: copy the contents of the Classes folder to any location
in your application required.

Example:

If your web root folder is /var/www/ you may want to create a subfolder called
/var/www/Classes/ and copy the files into that folder so you end up with files:

/var/www/Classes/PHPExcel.php
/var/www/Classes/PHPExcel/Calculation.php
/var/www/Classes/PHPExcel/Cell.php
...

Getting started
---------------

A good way to get started is to run some of the tests included in this download.
Copy the "Tests" folder next to your "Classes" folder from above so you end up with:

/var/www/Tests/01simple.php
/var/www/Tests/02types.php
...

Start running the test by pointing your browser to the test scripts:

http://example.com/Tests/01simple.php
http://example.com/Tests/02types.php
...

Note: It may be necessary to modify the include/require statements at the beginning of
each of the test scripts if your "Classes" folder from above is named differently.

Nov 12, 2009 at 12:46 PM

Perfect.