Skip to content

Instantly share code, notes, and snippets.

@cirops
Created January 25, 2013 16:40
Show Gist options
  • Save cirops/4635876 to your computer and use it in GitHub Desktop.
Save cirops/4635876 to your computer and use it in GitHub Desktop.
To run php on sublime:
* Select Tools->Build System->New Build System
* Copy the following code to the created file:
{
"cmd" : ["php", "$file"],
"file_regex" : "php$",
"selector" : "source.php"
}
* Save the file as PHP.sublime-build
* Go to Tools->Build System and select PHP
* Press ctrl+b to "build" (thus interpreting) the code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment