Portable Web Server Using lighttpd

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=mki6hW3AA6s



Duration: 2:38
2,990 views
19


#WebServer #Portable #USBFlashApps #PHP

Full steps can be found at https://i12bretro.github.io/tutorials/0126.html

--------------------------------------------------------------------
Things You Will Need
--------------------------------------------------------------------
   - A USB flash drive, at least 8 GB  https://amzn.to/3wkR5ju |  https://amzn.to/3qkrJ1p |  https://amzn.to/3Nhu9b9
 
   01. Download lighttpd for Windows  http://lighttpd.dtech.hu/
   02. Download Microsoft Visual C++  https://aka.ms/vs/16/release/vc_redist.x86.exe
   03. Install Microsoft Visual C++
   04. Extract the lighttpd .zip file
   05. Copy the extracted lighttpd folder to the root of a USB flash drive
   06. Navigate to /lighttpd and double click lighttpd.exe to start the portable web server with the default configuration
 
--------------------------------------------------------------------
Add PHP Support (Optional)
--------------------------------------------------------------------
   01. Download the zip version of PHP for Windows  https://windows.php.net/download
   02. Extract the downloaded PHP .zip file
   03. Copy the extracted PHP files to /lighttpd/PHP
   04. Navigate to /lighttpd/conf and edit lighttpd.conf in a text editor
   05. Add the following lines to lighttpd.conf
    cgi.assign = ( ".php" =≫ server_root + "/PHP/php-cgi.exe")
   06. Find static-file.exclude-extensions and add ".php" to the listing
   07. Find index-file.names and add "index.php" to the listing
   08. Find mod_cgi and remove the # to uncomment it
   09. Save the changes to lighttpd.conf
   10. Navigate to /lighttpd and double click lighttpd.exe to start the portable web server with PHP support
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Coding
Flash Disk
Flash Drive
Free Software
Fun With Code
HTTP
How To
IT Toolbox
Install Guide
Lighttpd
On The Go
PHP
PHP Developer
PHP Web Server On A Flash Drive
Portable
Portable PHP Web Server
Portable Software
System Administrator
Tutorial
USB
Web
Web Developer
Web Server
Web Server Administration
Windows
i12bretro