Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomilon committed Dec 4, 2018
1 parent ec2f23c commit 8218f79
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ GOCLEAN=$(GOCMD) clean
APP_NAME=main
BINARY_WIN=.exe

BUILDDIR=dist
BUILDDIR=ezphp

RELEASE_NAME=ezphp
RELEASEDIR=$(BUILDDIR)/$(RELEASE_NAME)
RELEASEDIR=$(BUILDDIR)
RELEASEFILE=$(RELEASE_NAME).zip

all: release
Expand All @@ -30,5 +30,6 @@ build-linux: clean

build-win: format clean setup
GOOS=windows GOARCH=386 $(GOBUILD) -ldflags "-X main.DEBUG=NO -s -w" -o $(APP_NAME).go -o $(RELEASEDIR)/$(RELEASE_NAME)$(BINARY_WIN)
##zip -r $(RELEASEDIR)/$(RELEASEFILE) $(BUILDDIR)

release: build-win
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
### EzPHP

EzPHP is an alternative to Xamp/Wamp. EzPHP is the easiest way to setup a PHP development environment for learning PHP on Windows.
EzPHP is an alternative to Xamp/Wamp. EzPHP is the easiest way to setup a PHP development environment for learning PHP programming on Windows.

![EzPHP](https://raw.githubusercontent.com/marcomilon/ezphp/master/ezphp.gif)
![EzPHP](https://raw.githubusercontent.com/marcomilon/ezphp/master/ezphp.png)

### Installation

1. Download [ezphp.zip](https://github.com/marcomilon/ezphp/releases/download/1.1.0/ezphp.exe).
2. Copy ezphp.exe to your project folder. Its where you have your PHP files.
3. Run ezphp.exe. If PHP is not installed we may try to download and install PHP-7.0.0 in a local directory
4. Open your browser in http://localhost:8080
1. Download [ezphp.zip](https://github.com/marcomilon/ezphp/releases/download/1.1.1/ezphp.exe).
2. Create a new folder for your project and copy ezphp.exe.
3. Run ezphp.exe. If PHP is not installed locally ezphp will try to download and install PHP.
4. Open your browser in http://localhost:8080.

Advanced user execute `ezphp.exe -h` to view all options.

Expand All @@ -28,10 +28,6 @@ EzPHP is available only for windows.
PHP binaries required to have *Visual C++ Redistributable for Visual Studio 2017* installed on your computer.
In case you need it you can download it from https://www.microsoft.com/en-us/download/details.aspx?id=48145

### Can i use EzPHP on command line (e.g. PowerShell)?

No, EzPHP does not support running PHP from command line.

### Contribution

Feel free to contribute! Just create a new issue or a new pull request.
Expand Down
2 changes: 1 addition & 1 deletion engine/fs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func createDefaultIndex(basePath string) {
fmt.Fprintf(file, "<?php\n")
fmt.Fprintf(file, "\n")
fmt.Fprintf(file, "echo \"Welcome to your personal web server.<br>Replace this file with your own index.php.<br>\";\n")
fmt.Fprintf(file, "echo \"This file is located in directory: " + basePath + "\";\n")
fmt.Fprintf(file, "echo \"This file is located in directory: "+basePath+"\";\n")
fmt.Fprintf(file, "\n")
}

Expand Down
Binary file removed ezphp.gif
Binary file not shown.
Binary file added ezphp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8218f79

Please sign in to comment.