Skip to content

Commit c58acd9

Browse files
committed
update README.md and example.php
1 parent c76b8a5 commit c58acd9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Aspose.Cells for PHP via Java consists of 2 individual parts, the script wrapper
3939

4040
1. Install Tomcat on any location such as `\java\apache-tomcat-9.0.24`.
4141
2. Copy JavaBridge.war to `webapps` folder of Tomcat such as `\java\apache-tomcat-9.0.24\webapps`.
42-
3. Copy aspose-cells-xx.x.jar and bcprov-jdk15on-xxx.jar to `lib` folder such as `\java\apache-tomcat-9.0.24\lib`.
42+
3. Copy aspose-cells-xx.x.jar, bcpkix-jdk15on-xxx.jar and bcprov-jdk15on-xxx.jar to `lib` folder such as `\java\apache-tomcat-9.0.24\lib`.
4343
4. Run `\bin\startup.bat`, JavaBridge.war will be deployed to `\java\apache-tomcat-9.0.24\webapps\JavaBridge`.
4444
5. Test http://localhost:8080/JavaBridge/test.php to ensure that PHP works fine.
4545
6. Copy aspose.cells.php and example.php to `\java\apache-tomcat-9.0.24\webapps\JavaBridge`.

example.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
44
require_once("aspose.cells.php");
55

6+
echo "Java version: ".java("java.lang.System")->getProperty("java.version");
7+
echo "\n";
8+
69
use aspose\cells;
710

811
$workbook = new cells\Workbook();

0 commit comments

Comments
 (0)