Home page: https://www.scriptol.org/
1) Extract the zip archive inside a directory, for example:
c:\scriptolpThis can be achieved by several free tools, 7-Zip or Advanced Explorer, 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, change the path variable, into autoexec.bat on old systems:
path=%path%;c:\scriptolpUnder Windows, you have to reach the path variable through the start menu:
1) Download the PHP interpreter from www.php.net.
2) Unarchive the files into a directory, for example:
3) Let this directory included in the path, add c:\php to the path variable.
4) Copy the file "php.ini-dist" into the Windows directory, under the name "php.ini".
5) Set the path of extensions:
For that, use the Universal Configurator or 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:
6) 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 search for this line:
extension=php_gd.dllAnd remove the semicolon at start.
7) Set the parameters:
If you use the PHP interpreter for application, 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=128MTo allow php code use html variables, change this flag:
register_globals = On
Now, you are ready to work.
Using the compiler:
The solp.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:
If you want to compile and run a script, type:
To compile only a source into php, type:
solp -c filename
If you want to compile a page with scriptol code embedded inside, type:
solp -w filename php -q filename.php > test.htm
Under Windows, you can make a batch file with these commands and %1 as node of the filename.
solp %1 php -q %1.php
1) Copy the archive inside your personal directory.
2) Extract the archive with this command (or from the file manager):
tar -zpxvf scriptol.tar.gzThe scriptol directory is created.
Using the Scriptol PHP compiler, type:
solp -c xxxxto create a xxxx.php file from a xxxx.sol scriptol source, type:
solp xxxxto create and run a php program.