Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveDebug

Portable PHP Sandbox

Prerequisites

  • Apache/nginx HTTP server
  • PHP v5+

Installation

  1. Download, unpack to HTTP server WWW directory (e.g., /var/www/html/livedebug)
  2. Edit lib/config.php file
  3. Use it!

Config file

  • LIVEDEBUG_LANG_INI_FILE - point to INI file containing translations for interface elements
  • LIVEDEBUG_TMP_RUN_PATH - dir used to put PHP-files to be run (can be out of HTTP-folder of your server, e.g. /var/tmp)
  • LIVEDEBUG_RUN_MODE - determines in what mode PHP code used. eval - force using eval() function to run code. file - force using PHP files to run PHP code. user - user can select run mode from interface "Run mode" menu.
  • LIVEDEBUG_FILESTORAGE_TYPE - determines the type of file storage implementation. Now only FS (File System) type implemented (FileStorage_FS class). To implement another type of file storage, create class, name it, e.g. "FileStorage_PG" and set LIVEDEBUG_FILESTORAGE_TYPE param to "PG".
  • LIVEDEBUG_FILES_PATH - option for FS file storage implementation only. Determines folder to save files to and load files from.

Usage

About

Portable PHP Sandbox

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages