Post by Qphoria » Tue Oct 27, 2009 7:53 pm

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

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by digitalchaos » Wed Oct 28, 2009 7:11 am

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

The most terrifying words in the English language are: I'm from the government and I'm here to help.
Ronald Reagan

Digital Chaos | Graphic Design Studio http://www.digitalchaos.biz
Digital Chaos Prints | Custom Art Prints http://www.digitalchaosprints.biz


User avatar
New member

Posts

Joined
Mon Sep 28, 2009 9:22 pm
Location - Paterson NJ

Post by Jan R » Wed Oct 28, 2009 12:41 pm

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?

-=:@:=-

»-(¯`·.·´¯)->"The most wasted day in that in which we have not laughed."<-(¯`·.·´¯)-«


User avatar
New member

Posts

Joined
Fri Oct 16, 2009 2:20 am

Post by Franz-Peter » Thu Oct 29, 2009 10:10 pm

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.

New member

Posts

Joined
Tue Aug 25, 2009 4:30 pm

Post by Qphoria » Thu Oct 29, 2009 10:23 pm

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

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Jan R » Fri Oct 30, 2009 12:55 am

Jan here...

THANKS GUYS :-*

-=:@:=-

»-(¯`·.·´¯)->"The most wasted day in that in which we have not laughed."<-(¯`·.·´¯)-«


User avatar
New member

Posts

Joined
Fri Oct 16, 2009 2:20 am

Post by readyman » Fri Oct 30, 2009 1:53 pm

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

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by Qphoria » Fri Oct 30, 2009 6:56 pm

Yea, twamp is actually designed to install on usb.. i just run most of my portables from my harddrive

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: Baidu [Spider] and 7 guests