After installing the Wamp test http://localhost/or http://127.0.0.1 can go into the Wamp tool home, you can say Wamp has been properly installed, into the Phpdesigner, In the Tools tool-preferences configuration found debugger localhost, choose to Wamp folder under the WWW, so that the code can be written on localhost on the run.
(following to Uncle arrogant history)
1. Open Sublime Text
————————————————————— ———————————————————————
2. Click: Tools-build system-new Build System, in the open page, enter the following code
{
"cmd": ["d:\\wamp\\php\\php.exe", "$file"],
" File_regex": "php$",
" selector": "Source.php "
}
Note: The red font is the path of your php.exe , the format is filled in correctly.
————————————————————————————————————————————
3. in order to facilitate memory, under your sublime directory \data\packages, create a folder named "PHP".
And put the above code in the PHP folder, named "Php.sublime-build" (also easy to remember)
————————————————————————————————————————————
4. Enter the code in your Sublim text and press CTRL +b to compile
It is not possible to open a PHP file directly with a browser after compiling it under local http://localhost/untitled-1.php, because that php file is equivalent to a text document and is not compiled by the PHP interpretation in local wamp to generate a "readable" Html.
Configuring Sublime and Phpdesigner in Wamp environments