Page 1 of 1

Local Web server: TWAMP

Posted: Tue Oct 27, 2009 7:53 pm
by Qphoria
So I just reformatted and reinstalled Windows. While I was looking to reinstall my dev server, I decided to try something other than Easywamp or Xampp, as those can be a bit bloated.

So I found a portable server called "TWAMP" (Tiny Windows Apache MySQL PHP Portable Web Server). Works great with OpenCart. The only change I made was disable magic quotes gpc in the php.ini. Everything else works out-of-the-box

It is nice that its all in one place and portable so next time i reformat I won't need to reinstall or reconfigure. And it is all handled by a single exe file that runs in the tasktray for easy start/stop/restart of php, apache, and mysql.

So I highly recommend it to those looking to run their own local test servers

Q

Re: Local Web server: TWAMP

Posted: Wed Oct 28, 2009 7:11 am
by digitalchaos
And for you OSX people there is MAMP (Macintosh, Apache, Mysql and PHP) http://www.mamp.info/en/index.html its nice because everything is in one folder and all you have to do is double click to start and quit to stop and delete the folder to get rid of it there is no installation at all check it out

Re: Local Web server: TWAMP

Posted: Wed Oct 28, 2009 12:41 pm
by Jan R
Jan Here ... Qphoria

I am really new to this whole "having a server of my own" thing for testing..
New as of today when I followed your advice to try TWAMP. :)

I liked the ideal of all in one and no install..

I tried installing OC on my localhost. And of course when I ran the install I saw the "magic quotes" setting was on (as you said it would be)

I know this is not a TWAMP forum but could you quickly clue me in to where I need to go to turn off "magic quotes" ? And how to change root password?

-=:@:=-

Re: Local Web server: TWAMP

Posted: Thu Oct 29, 2009 10:10 pm
by Franz-Peter
You need to find the php.ini file inside the TWAMP folder.
There should be entries like:
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off

You simply write instead of On Off or instead of Off On and save the result. After that restart your TWAMP.
OpenCart works with Magic Quotes On or Off.
Info from PHP Manual:
This feature (Magic Quotes) has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.

Re: Local Web server: TWAMP

Posted: Thu Oct 29, 2009 10:23 pm
by Qphoria
As franz said.. the php.ini file has it.
The location is: X:\TWAMPd\app\bin\php.ini
After you change and save, goto the tasktray icon for TWAMP (might say APM)
and do Restart APM(R)

Then refresh the install page and it should go green

Re: Local Web server: TWAMP

Posted: Fri Oct 30, 2009 12:55 am
by Jan R
Jan here...

THANKS GUYS :-*

-=:@:=-

Re: Local Web server: TWAMP

Posted: Fri Oct 30, 2009 1:53 pm
by readyman
TWAMP sounds good if it runs on a USB drive... I've been using Server2go which also runs on USB drive.
Other good portable apps at portableapps.com

Re: Local Web server: TWAMP

Posted: Fri Oct 30, 2009 6:56 pm
by Qphoria
Yea, twamp is actually designed to install on usb.. i just run most of my portables from my harddrive