2017 © Pedro Peláez
 

library phpup

Run a minimal apache instance for a given php script or directory

image

lox/phpup

Run a minimal apache instance for a given php script or directory

  • Friday, April 18, 2014
  • by lox
  • Repository
  • 4 Watchers
  • 39 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Phpup

Often in development you'll want to run a php project without writing up a full apache config for it. This generates a minimal apache config and runs an apache instance in the foreground., (*1)

Tested under:, (*2)

  • Ubuntu 12.04
  • Ubuntu 10.04
  • Mac OSX 10.7
  • Mac OSX 10.8

Installing

cd /usr/local/bin
wget https://raw.github.com/lox/phpup/master/phpup
chmod +x phpup

Alternately, if you want it as part of your project, install via composer., (*3)

Running

# Serving the present dir on default port
./phpup

# Serving a single file
./phpup -p 8000 helloworld.php

# Serving cwd directory with an .htaccess
./phpup -p 800 .

The Versions

18/04 2014

dev-master

9999999-dev

Run a minimal apache instance for a given php script or directory

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apache webserver

26/02 2013

dev-features/kill_tail_f_with_fire

dev-features/kill_tail_f_with_fire

Run a minimal apache instance for a given php script or directory

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apache webserver

06/12 2012

v1.0.0

1.0.0.0

Run a minimal apache instance for a given php script or directory

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apache webserver