没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > local-php-web-server |
local-php-web-server
|
0 | 0 | 25 |
贡献者 | 讨论 | 代码提交 |
local-php-web-server enables to easily run a JVM-deployed PHP web server on your local machineperfect to debug PHP applications on an EEE-style netbook no configuration required (works immediately) no network connectivity required (by the server) requires only ~12 MB of disk space based on Quercus and Jetty Quick start for OS X systemsFirst install the software (see Installation here below)
Go to the local-php-web-server directory
Right-click on startup-osx-desktop.sh, select Open With, select Other, select Enable: All Applications, select the Utilities directory in the application list just above, select Terminal in the application list to the right, click Always Open With, click Open
Files from the user's desktop are now served (see Usage here below)
Quick start for Windows systemsFirst install the software (see Installation here below)
Go to the local-php-web-server directory
Double-click on startup-windows-desktop.bat
Files from the user's desktop are now served (see Usage here below)
UsageThat's it, your PHP website is served from http://localhost:8080/index.php (if your PHP website's home page is index.php)
Usage (shell command to specify the website directory)Run on Linux/OSX/BSD/Unix systems
./startup.sh /path/to/local/website/base/directory
Run on Windows systems
startup.bat c:\path\to\local\website\base\directory
Installation (option 1: stable release)Download a .zip file release from the release list
Unzip it anywhere
Installation (option 2: development release)Download from trunk
svn checkout http://local-php-web-server.googlecode.com/svn/trunk/ local-php-web-server
Build on Linux/OSX/BSD/Unix systems
./build.sh
Build on Windows systems
build.bat
DependenciesOnly requires Java JDK 6
local-php-web-server is essentially a useful repackaging of
the Quercus PHP5 web server that is run as an embedded Java web application within the Jetty servlet container configured by a simple custom wrapper class and a web.xml file