https://github.com/hopsoft/vagrant-nginx-php
Vagrant setup for running PHP scripts
https://github.com/hopsoft/vagrant-nginx-php
Last synced: 6 months ago
JSON representation
Vagrant setup for running PHP scripts
- Host: GitHub
- URL: https://github.com/hopsoft/vagrant-nginx-php
- Owner: hopsoft
- Created: 2014-02-26T18:11:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-26T19:09:49.000Z (over 11 years ago)
- Last Synced: 2025-02-09T15:25:40.812Z (8 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrant setup for running PHP scripts
Note: PHP scripts are served with Nginx on port 8000.
## Usage
### 1. Start the box
```
git clone https://github.com/hopsoft/vagrant-nginx-php.git
cd vagrant-nginx-php
mkdir php_scripts
vagrant up
```### 2. Write some PHP
```
echo "" > php_scripts/hello_world.php
```### 3. View the result
```
curl http://localhost:8000/hello_world.php
```