Joined January 2012
·

Jedidiah Hurt

Twin Falls, ID
·
·
·

Posted to Use PHP with your Yeoman dev server over 1 year ago

Hey @abumalick, here's the line from the finished file: https://github.com/falsetto/php-from-yeoman/blob/master/Gruntfile.js#L58

I haven't used this dev environment for a couple years now, so YMMV.

Good luck!

-Jedidiah

Posted to Use PHP with your Yeoman dev server over 1 year ago

@wjonthomas: Glad it helped!

Unfortunately, I've only investigated the process of getting a node.js server to interpret PHP files using the php-cgi cli. Getting a MAMP server (Apache+PHP) to load and execute node.js code based off of a Gruntfile would be a wholly different thing that I haven't tried.

I'd be very interested to know if you figure out how to do it.

Posted to Use PHP with your Yeoman dev server over 1 year ago

@davidchase03, glad to hear it!

Achievements
485 Karma
22,506 Total ProTip Views