Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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