php not processing? (Step 2 of php beginner tutorial)

No replies
timothyjturner
Offline
Last seen: 3 years 17 weeks ago
Joined: 2015-10-22

I am on the very basic step of switching an html file to a php file.

I have installed Acquia Dev Desktop 2 and have done other tutorials successfully. The sites I have created still run properly. So the DAMP stack appears to be working properly.

However, for some reason when I try to render the step 2 php file, it outputs incorrectly. It wraps pre tags around everything and that obviously ignores the php. I've added html tags to the php file and this stops the browser from inserting pre tags but it does not fix my problem because the browser seems to comment out the php line.

I am on a windows machine and have tried multiple browsers.

What the heck is going on here? I can't believe I'm already running into issues, that I can't solve on my own, on step 2. My poor self esteem has just taken a major hit... :(

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.