Skip to content

leo-mail/LWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d6e1d43 · Apr 22, 2020

History

40 Commits
Apr 22, 2020
Jan 2, 2020
Jan 2, 2020
Apr 22, 2020
Jan 1, 2020
Apr 22, 2020
Apr 22, 2020
Apr 22, 2020
Jan 2, 2020

Repository files navigation

LWS

Lion Web Server Version 1.0

Requirements

Linux or Windows system with pre-installed PHP interpreter or with latest PHP version support.

Dependencies

  1. PHP and PHP-CGI
  2. Json Extension
  3. PCRE Extension (Perl-Compatible Regex)
    Minimal PHP version: 5.5

Version Info

Supported protocols: HTTP/1.0, HTTP/1.1
Supported OS: Windows 7^, Linux (Debian, Ubuntu)
*The list of the supporting Operating Systems is made based on tests only.
Configuration is stored in config.xml (Further instructions will be written soon after release)

Installing

  1. Option 1
    Use one of the installers from the releases section

    Option 2
    Download content from the git repository
    use either *.zip option or clone it via git clone https://github.com/leo-mail/LWS.git
  2. Run Start.bat script
    *Double-click on Windows, for Linux: terminal =~> sudo bash Start.bat
    It will automatically identify php packages if it's already installed, if not - script will install it for you

Notice: under Windows it is possible to put php binaries in /php or /bin sub-folders

Troubleshooting

  1. The port is already taken - check for other servers running on the current machine, for example port 80 is by default blocked by Apache on Debian
  2. Cannot start because port opening is prohibited - check & update your system's security settings, its security protocols maybe blocking some applications from opening TCP server ( socket connections )
  3. Bugs - report any bugs to our email address or to the Issues section'

About

Simple HTTP server, written using system functions (console scripts) and pure php code
Uses CGI and PHP Streams to provide responses to the requests.
Features is listed in Features.md every release version