Phpup
Run a minimal apache instance for a given php script or directory
Install / Use
/learn @lox/PhpupREADME
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.
Tested under:
- 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.
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 .
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
