How To Install
 Installing and running the Scriptol compiler


1) Extract the zip archive
inside a directory, "c:\scriptol" for example.
This can be achieved by several free tools, ZipCentral, or Wiz, for example.

2) Make the compiler accessible
either by moving it into the php directory or by adding the Scriptol directory to the path.
 For this purpose, add a line into autoexec.bat:
path=%path%;c:\scriptol

Using the compiler:
The sol.exe compiler is executed from the command line under window, with a file name as parameter and an option.
To get the list of options, type:     sol

If you want to compile a script, type:
            sol filename.sol
Then:   php -q filename.php

If you want to compile a page with scriptol code embedded inside,
type:
            sol -web filename.sol
Then:   php -q filename.php

Under Windows, you can make a batch file with these commands and %1 as node of the filename. Ex:
sol %1.sol
php -q %1.php

Read the manual for more details.

 Installing the Php interpreter under Windows

Once you have downloaded the archive on php.net, do as below:

1) Unarchive the files into a directory,
  c:\php for example:

2) Let this directory included in the path.
 To do that, add this line to autoexec.bat (in the root of the C drive unit):
 path=%path%;c:\php
 Don't forget the semicolon.

3) Copy the file "php.ini-dist" into the Windows directory,
under the name "php.ini".

4) Set the path of extensions:
 Now edit php.ini:
 Search for the "extensions_dir" string in the section "Paths and directories". Put here the path of the extensions provided along with the php archive, or got from other sources:
 extensions_dir=c:\php\extensions
 (No quotes.)

5) Select the extensions you will use:
 Search then for the list of extensions in the section "Dynamic Extensions". Each of them is prefixed with a semicolon.
 For each extension you want to use, remove the semicolon.
 For example, if you want to process images, you must have this line:
extension=php_gd.dll
without the preceding semicolon.

6) Set the maximum execution time and memory
 If you use the Php interpreter for application, and especially for applications with a Java GUI, the default max execution time will be too short. Change it for a longer time, 5 hours for example:
max_execution_time = 18000
memory_limit=128M

 Now, you are ready to work.

How to install the Java extension
Search for the java path
Example: c:\jdk1.3
Search for the php extensions path
Example: c:\php\extensions

The extension directory must hold these files:
php_java.dll
php_java.jar

Set these lines into php.ini (in the Windows directory)
extension_dir = c:\php\extensions
extension=php_java.dll

Search for the [java] section in php.ini
java.class.path must be assigned the path of php_java.jar and the path of any Java class you want to use.
- If these classes are inside jar files, the jar filenames are a part of the path.
- If several paths are required, they are separated by semicolons and enclosed in double quotes.
java.home must be assigned the path of the Java directory.
java.library must be assigned the path of jvm.dll.
java.library.path must be assigned the path of php extensions.

Example:
[Java]
java.class.path = "c:\php\extensions\php_java.jar;c:\myclasses" java.home = c:\jdk1.3
java.library = c:\jdk1.3\jre\bin\hotspot\jvm.dll
java.library.path = c:\php\extensions

(c) D.G.Sureau - webmaster@scriptol.com