Sublime Forum

PHP Build failures

#1

I’ve created the following build system
{
“cmd”: [“php”, “$file”],
“selector”: “source.php”
}
However, when I run it I get a “No Build System” message. No other error message that I can see.

Running php from the commandline works as expected. Note that I’ve tried many variants on the php build system as I’ve found online. They’ve all saved correctly (php is a build option on the build systems list), they just don’t do anything when I try to use them.

0 Likes

#2

probably because you are using “smart quotes” instead of ASCII character 34, so your file is not valid JSON… check the console for errors.

0 Likes

#3

Yes, smart quotes. Thank you. Unfortunately, there was no message in the console other than “No Build System”.

0 Likes