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 3278914
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:32:02+00:00 2026-05-17T19:32:02+00:00

Last week I started playing around with LAMP Ubuntu and I didnt have any

  • 0

Last week I started playing around with LAMP Ubuntu and I didnt have any issues. Today some code wasn’t working so I tried running this in index.php:

<?php phpinfo(); ?>

This doesn’t work when I connect to localhost in my browser, but it works in testphp.php at localhost/testphp.php

Any suggestions?

Thanks

  • 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-05-17T19:32:02+00:00Added an answer on May 17, 2026 at 7:32 pm

    If you mean that code doesn’t get executed when you access http://localhost/, then you should try to add
    DirectoryIndex index.html index.php
    to your apache’s conf file.

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

Sidebar

Related Questions

Hi I have been playing around with MDX and need some very high-level getting-started
I just started using SVN as of last week (TortoiseSVN), is there any SVN
During last week I received some code and was asked to improve the performance.
I've started playing around with XSLT, and am having a few issues. I've managed
Last week i have downloaded Xcode 4.2, so when i started building apps i've
I just started doing jQuery last week, and so far I already made some
I have started experiencing errors in WCF deserialization today - in code which has
I have just started with PHP development since last week. I have installed XAMPP
Randomly late last week, all of my custom page tabs have started showing blank
Last week I started attempting to use Winforms to automate some reports. I am

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.