GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Simple and small web server (software) (https://gfy.com/showthread.php?t=980241)

alsdesign 07-29-2010 04:12 PM

Simple and small web server (software)
 
If you are a developer or a designer, I'm sure you were faced with a need for a web server. You move to another computer / laptop , you need to run your site locally , simple script.... and you need to go through the whole procedure of installing software that you need to use only once or twice.

Well, as I found out there is a nice solution to this: Mongoose

Mongoose is an ultra light-weight web server for Windows. It's 56 kb, yes things like this still exist, not all software developers rely on heavy VB library abuse. It can run even from a single file, no need to install / start / stop services. Standalone application is sufficient for most basic stuff, though I think you can also set it up for more complicated usage.

You can easily plug-in also PHP, all you need to do is copy 3 files: php-cgi.exe, php5.dll and php.ini into same directory, then add 2 lines of code into Mongoose config. Adding SQL is easy too.

Only disadvantage is it doesn't have graphical interface, but that is not a problem for developers anyway.

woj 07-29-2010 04:26 PM

not bad, so it actually works well, you tried it out?

alsdesign 07-29-2010 04:38 PM

Yes, so far it worked fine -tested it with a custom PHP script. I will try also a SQLite probably.

You gotta love portable appz like this. One pen drive and you can work comfortably on any new computer.

alsdesign 07-29-2010 04:55 PM

Here is a nice article on how to setup the Mongoose: http://www.praggo.com/2009/12/web-se...ilds-play.html

Serge Litehead 07-29-2010 05:04 PM

developers better off replicating live production environment apache/php/mysql/etc. locally for the use of modules and such.

Serge Litehead 07-29-2010 05:08 PM

although small web server maybe useful at times

gabe100 07-29-2010 05:11 PM

I remember using VB back in 97,98 and relied heavily on those libraries :) Active X controls saved my life. 56k is a small file size for sure.

Sounds like a great app. Thanks.

alsdesign 07-29-2010 05:24 PM

Quote:

Originally Posted by holograph (Post 17373599)
developers better off replicating live production environment apache/php/mysql/etc. locally for the use of modules and such.

I agree, developing scripts in "foreign" environment can result in non-functional scripts when deployed.

But I was referring to simpler usage, for example if you use PHP as parser, file manipulations, or just quick check for php errors.


All times are GMT -7. The time now is 10:51 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123