Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8827107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:18:07+00:00 2026-06-14T07:18:07+00:00

I recently set up an AWS EC2 instance and installed Apache, PHP, and MySQL

  • 0

I recently set up an AWS EC2 instance and installed Apache, PHP, and MySQL on the 64-bit Linux server using yum

Then I uploaded my php files for my contact form in /var/HTML/WWW

It displays fine except parts of my contact form are being displayed. They are PHP— the PHP tags and the code within them are being shown.

Here is a live example: 23.23.152.36

And here is a version on another server where its working fine.

Does anyone have any ideas why this is happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:18:08+00:00Added an answer on June 14, 2026 at 7:18 am

    Do you have PHP enabled on your webserver? For Apache, you may need to modify httpd.conf to enable PHP.

    Can you run phpmyinfo() on your webserver?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently set up an Amazon EC2 Linux instance. I'm wondering, are there logs
I've recently set up a Ubuntu 9.10 server with a LAMP configuration and then
I am a php newbie and I am using MAC OS. I recently set
I've recently set up my own dedicated server and installed everything that is necessary
We recently set the minimum iOS support to 4.0 and started using the LLVM
I recently set up a Nginx server to host a wordpress install and am
I've recently set up cygwin, git, and gitosis on my Windows Server 2003 box
I've recently begun using the aws gem in a Sinatra web application whose purpose
I have recently set up a website using MODx Revolution. I am attempting to
I've recently set up an ASP.net site (not using MVC.net) to use URL Routing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.