This package is abandoned and no longer maintained. No replacement package was suggested.

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

v1.0.0 2012-12-06 17:45 UTC

This package is not auto-updated.

Last update: 2019-02-20 17:19:22 UTC


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.

Tested under:

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


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.


# Serving the present dir on default port

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

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