+ Reply to Thread
Results 1 to 5 of 5

Thread: Apache not displaying index.php - trying to save it instead!

  Share/Bookmark
  1. #1

    Reputation Reputation
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    Runcorn
    Posts
    721
    Thank Post
    169
    Thanked 19 Times in 19 Posts
    Rep Power
    11

    Default Apache not displaying index.php - trying to save it instead!

    Oh Bum! I have just updated my FOg server from 0.27 to 0.28 and all seemed to go well but when i try to browse to my management page http://fog/fog/index.php instead of my browser opening the console up the browser offers to save the php.ini file for me!

    I'm guessing that the install has written over some config file but I'm not suer what that would be! Could anyone suggest what might have happened and what i need to do?

    thanks

  2. #2

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    3,223
    Blog Entries
    5
    Thank Post
    516
    Thanked 267 Times in 155 Posts
    Rep Power
    71

    Default

    try reinstalling php ?

  3. #3

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    3,865
    Thank Post
    253
    Thanked 579 Times in 530 Posts
    Rep Power
    134

    Default

    Something's upset php/apache.

    Restart apache and look in the logfiles to see if there's anything in there about what it's problem is.

    Alternatively check the php module is being loaded from the config files.

  4. #4

    Reputation Reputation
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    Runcorn
    Posts
    721
    Thank Post
    169
    Thanked 19 Times in 19 Posts
    Rep Power
    11

    Default

    In the end I edited http.conf and another file which I have already forgotten that basically told apache what to do with the .php extension. It then worked?

  5. #5

    Reputation

    Join Date
    Dec 2009
    Posts
    83
    Thank Post
    5
    Thanked 5 Times in 5 Posts
    Rep Power
    2

    Default

    open the apache config

    do a search for index.htm or index.html ... then add index.php next to it

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Showing index.php?member=a
    By handoyo in forum Web Development
    Replies: 4
    Last Post: 10-02-2009, 04:57 PM
  2. The IT Index
    By steve_nfi in forum Recommended Suppliers
    Replies: 24
    Last Post: 24-09-2008, 10:27 AM
  3. Optimise PHP & Apache Configuration
    By FN-GM in forum EduGeek Joomla 1.0 Package
    Replies: 43
    Last Post: 25-07-2008, 08:14 PM
  4. can't find the index.php with the template colour switch
    By e_g_r in forum EduGeek Joomla 1.0 Package
    Replies: 5
    Last Post: 11-12-2007, 09:43 AM
  5. Office 2007 file format support in Apache, PHP and Moodle
    By Geoff in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 08-07-2007, 12:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts