Setup and Installation Guidelines

System Requirements

Aspose.Cells for PHP via Java is platform independent API and can be used on any platform (Windows, Linux, MacOS etc.) where PHP 7 or greater versions is installed. The machine must have Oracle JDK 7 or greater versions before setting up the installation.

Installation and Usage

Aspose.Cells for PHP via Java is distributed as a ZIP archive.

To setup environment, install and use Aspose.Cells for PHP via Java, follow the instructions:

Linux:

$JAVA_HOME/bin/java -Djava.ext.dirs=lib -jar JavaBridge.jar SERVLET_LOCAL:8080 >/dev/null 2>&1 &
  • Run “example.php” in “aspose.cells” folder to run the example with below command:
$ php example.php

Windows:

> %JAVA_HOME%/bin/java -Djava.ext.dirs=lib -jar JavaBridge.jar
  • Run “example.php” in “aspose.cells” folder to run the example with below command:
> php example.php

Mac:

$ $JAVA_HOME/bin/java -Djava.ext.dirs=lib -jar JavaBridge.jar
  • Run “example.php” in “aspose.cells” folder to run the example with below command:
$ php example.php