; After you have compile the libphpjit.so copy it to a safe ; directory (like /usr/local/php/lib) and add the following to your ; php.ini: zend_extension = "/path/to/libphpjit.so" ; Either run/restart your apache and see what phpinfo() tells you. ;========================================================================= ; These are all the available configuration directives with their defaults ; These can be placed to the php.ini file or can even be tuned from the ; .htacess files using the php_value keyword. ; ; As they all have defaults they are not mandatory to be specified. ; Enable the JPHP system, php.ini jit.enable = 1 ; Specify the path of data files, php.ini, should not be on NFS mount jit.data_dir = "/tmp/jphp" ; Enable caching using file system, .htaccess jit.enable_file_cache = 1 ; Enable caching using shared memory, .htaccess, if in php.ini permanently ; disabled jit.enable_shared_memory_cache = 1 ; Create data files with given permission, php.ini jit.file_perm = "444" ; Create data directories with given permission, php.ini jit.dir_perm = "777" ; Create data lock files with given permission, php.ini jit.lock_perm = "666" ; Various shared memory creation parameters, all in php.ini jit.shared_memory_perm = "666" ; Memory size in bytes jit.shared_memory_size = 16777216 jit.shared_memory_key = "0xc0dec00" ; Might want to set 0 for CGI mode, 1 = shmctl IPC_RMID after creation jit.shared_memory_destroy_at_exit = 1 ; Should be 110% to the number of files you think will be in the cache, ; takes 4 bytes x of the shared memory jit.shared_memory_hash_size = 1024 jit.shared_memory_max_cached_script_size = 2000000 ; If script becomes dangling due to crashed apache then allow its deletion ; after this time jit.shared_memory_max_cached_script_ttl = 21600