This repository was archived by the owner on Apr 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ GOCLEAN=$(GOCMD) clean
77APP_NAME =main
88BINARY_WIN =.exe
99
10- BUILDDIR =dist
10+ BUILDDIR =ezphp
1111
1212RELEASE_NAME =ezphp
13- RELEASEDIR =$(BUILDDIR ) / $( RELEASE_NAME )
13+ RELEASEDIR =$(BUILDDIR )
1414RELEASEFILE =$(RELEASE_NAME ) .zip
1515
1616all : release
@@ -30,5 +30,6 @@ build-linux: clean
3030
3131build-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
3435release : build-win
Original file line number Diff line number Diff line change 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
1414Advanced user execute ` ezphp.exe -h ` to view all options.
1515
@@ -28,10 +28,6 @@ EzPHP is available only for windows.
2828PHP binaries required to have * Visual C++ Redistributable for Visual Studio 2017* installed on your computer.
2929In 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
3733Feel free to contribute! Just create a new issue or a new pull request.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments