How do I use the Stacks API to force a page to use PHP?

0 votes
asked Mar 11, 2015 in Stacks API by q2aadmin (6,045 points)

I'm building a stack that requires PHP. I need to force the page to have the php extension.

1 Answer

0 votes
answered Mar 11, 2015 by isaiah (13,745 points)
selected Mar 11, 2015 by q2aadmin
 
Best answer

It's a key in the plist. You add the requiresPhp key and set it to true.

Here are the docs:
http://info.yourhead.com/info-plist/#phpFileExtensionEnable

...