Re: [PHP] Website on a USB key?

2009-03-06 Thread Sean O

Another good website-on-a-stick software is... well, WOS (now called MoWeS --
Modular Webserver System).
http://www.chsoftware.net/en/useware/mowes/mowes.htm

The nice thing about this software is the ability to download "packages" of
just about any major server-based software -- Drupal, Mambo, Joomla, Moodle,
SugarCRM, WordPress, etc.
http://www.chsoftware.net/en/useware/mowesmixer/mowesmixer.htm?step=2

And, of course, run it all from your USB Drive.


SEAN O
http://www.sean-o.com



haliphax wrote:
> 
> On Fri, Mar 6, 2009 at 3:24 AM, Robert Cummings 
> wrote:
>> On Fri, 2009-03-06 at 01:40 -0500, Paul M Foster wrote:
>>> On Fri, Mar 06, 2009 at 04:24:24PM +1100, Clancy wrote:
>>>
>>> > I bought some appliance recently, and found that they had thrown in a
>>> 2G
>>> > USB key for good
>>> > luck.  I guess I ought to be able to put a PHP server plus a copy of
>>> my
>>> > website on it for
>>> > demonstration purposes, but has anyone actually tried it, and if so
>>> are
>>> > there any traps to
>>> > avoid?
>>>
>>> Maybe I'm dense or I don't understand your question. It sounds like you
>>> want to run lighttpd or apache on this USB device in order to serve up
>>> your website. If so, then the device would have to be assigned a
>>> separate IP address from the machine it's mounted on. Someone would have
>>> to be able to surf to that IP at least, much less have the IP address
>>> translated into a name. Otherwise, there's no way a web server can serve
>>> up a website; it has to have an IP address. I don't know how you'd
>>> possibly do that. Even then, you'd have to mount the device and then
>>> issue a separate call to the USB-hosted web server to start, and then
>>> serve your site up.
>>
>> 127.0.0.1 and name localhost should suffice. You might want to use a
>> non-standard port so that it doesn't conflict with anything else the
>> machine is running.
> 
> 
> I've been running XAMPP and even Eclipse from my USB key for well over
> a year now. It works like a charm. Fantastic for demonstrations, or if
> you've got a pet project that you need to test and carry with you.
> 
> 
> -- 
> // Todd
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Website-on-a-USB-key--tp22366414p22372871.html
Sent from the PHP - General mailing list archive at Nabble.com.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Changes from 5.0.4 => 5.0.5 (_SERVER variabes not defined).

2005-11-14 Thread Sean O Sullivan

Hello,

Was upgrading PHP-5.0.3 => 5.0.5
Apache version : httpd-2.0.46-54.ent
Distro : RHEL3 U2

configure switches :
./configure --with-zlib --without-gd --without-gdbm 
--with-oracle=/opt/oracle/app/oracle/product/9.2.0/ --enable-sigchild 
--enable-force-cgi-redirect --enable-memory-limit --enable-ftp 
--enable-xml --with-apxs2=/usr/sbin/apxs --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d


I came accross a problem where in 5.0.3 I had a series of PHP Variables 
defined ( _SERVER & _ENV )

By and large, these were the same as the Environment variables.
e.g.

HOSTNAME => myhostname
SHELL => /bin/bash
TERM => xterm

_SERVER["HOSTNAME"] => myhostname
_SERVER["SHELL"] => /bin/bash
_SERVER["TERM"] => xterm

(just to give a brief example).

However, these were not defined in PHP-5.0.5 - I then tried PHP-5.0.4 to 
see if affected this too, which it didn't.


So there is some change in PHP between 5.0.4 & 5.0.5, I'd be grateful 
for any suggestions/ideas in regards to this matter.


Regards,

Sean O Sullivan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php