Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Building Websites with PHP Slim Basics & Twig Templates Including & Running Slim

My Linh Nguyen
My Linh Nguyen
1,847 Points

Does the version of php interpreter effect the code execution?

Hi, I am using php 7 interpreter in my PHP storm, I installed slim 2.6 but my code did not work @.@ does the version of php affect this?

1 Answer

PHP 7 is fine. Did you update the framework? and here check out the docs for slim slim docs This should be your go to for questions about this framework.

My Linh Nguyen
My Linh Nguyen
1,847 Points

hi, thank you for your reply, actually, I did not find anything wrong with my code, but I open a new project and started it again and everything seem to be fine now :D