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

Commit 8218f79

Browse files
committed
Update readme
1 parent ec2f23c commit 8218f79

5 files changed

Lines changed: 10 additions & 13 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ GOCLEAN=$(GOCMD) clean
77
APP_NAME=main
88
BINARY_WIN=.exe
99

10-
BUILDDIR=dist
10+
BUILDDIR=ezphp
1111

1212
RELEASE_NAME=ezphp
13-
RELEASEDIR=$(BUILDDIR)/$(RELEASE_NAME)
13+
RELEASEDIR=$(BUILDDIR)
1414
RELEASEFILE=$(RELEASE_NAME).zip
1515

1616
all: release
@@ -30,5 +30,6 @@ build-linux: clean
3030

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

3435
release: build-win

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
### EzPHP
22

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

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

77
### Installation
88

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

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

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

31-
### Can i use EzPHP on command line (e.g. PowerShell)?
32-
33-
No, EzPHP does not support running PHP from command line.
34-
3531
### Contribution
3632

3733
Feel free to contribute! Just create a new issue or a new pull request.

engine/fs/fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func createDefaultIndex(basePath string) {
3636
fmt.Fprintf(file, "<?php\n")
3737
fmt.Fprintf(file, "\n")
3838
fmt.Fprintf(file, "echo \"Welcome to your personal web server.<br>Replace this file with your own index.php.<br>\";\n")
39-
fmt.Fprintf(file, "echo \"This file is located in directory: " + basePath + "\";\n")
39+
fmt.Fprintf(file, "echo \"This file is located in directory: "+basePath+"\";\n")
4040
fmt.Fprintf(file, "\n")
4141
}
4242

ezphp.gif

-45.9 KB
Binary file not shown.

ezphp.png

7.32 KB
Loading

0 commit comments

Comments
 (0)