man turck-encode (Commandes) - PHP precompiler for turck-mmcache
NAME
turck-encode - PHP precompiler for turck-mmcache
SYNOPSIS
turck-encode [options] source_file_name
DESCRIPTION
[Note: turck-encode is called 'encoder.php' in the original package, and is executed as an argument to PHP. It has been renamed in the Debian package and placed in a central location (/usr/bin) so it can be executed directly by all users on the system.]
This manual page documents briefly the turck-encode command. This manual page was written for the Debian distribution because the original program does not have a manual page.
turck-mmcache is a PHP Accelerator, Optimizer, Encoder and Dynamic Content Cache. It increases performance of PHP scripts by caching them in a compiled state so that the overhead of compiling is almost completely eliminated. turck-encode is used to precompile PHP scripts into a bytecode format compatible with turck-mmcache, increasing their performance and allowing them to be distributed without sourcecode.
OPTIONS
The options are:
- -s suffix
- encode files only with following suffix (default is "php").
- -a
- encode all files (no by default)
- -l
- follow symbolic links (no by default)
- -r
- encode directories recursively (no by default)
- -c
- copy files that shouldn't be encoded (no by default)
- -f
- overwrite existing files (no by default)
- -o
- specify output target. If you encode only one script then 'target' specifies an output file name. If you encode a directory or several files at once then target specifies an output directory name.
EXAMPLES
turck-encode some_file.php turck-encode some_file.php -o some_encoded_file.php turck-encode *.php -o some_dir turck-encode ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y
MORE INFORMATION
More information is available online at the following sites:
http://www.turckware.ru/en/e_mmc.htm
http://sourceforge.net/projects/turck-mmcache/
SEE ALSO
AUTHOR
This manual page was written by Jonathan Oxer <jon@debian.org>, for the Debian project (but may be used by others).