Find the answer to your Linux question:
Results 1 to 5 of 5
I have just installed apache server(lampp) on debian. I cannot get it to recognise php files. It does not know what to do with them. Its asking me to download ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    21

    Browser Does Not Recognize Php


    I have just installed apache server(lampp) on debian. I cannot get it to recognise php files. It does not know what to do with them. Its asking me to download them.

    I have just started with linux so have no idea what I am doing. anyone any ideas.

  2. #2
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    BTW Apparently a server is already running. Its called daemon and when I try running the server its stops me. How do I sort that out. where would that be located

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Have you installed the php modules for Apache? You will need to install them for it to be able to parse php. You should be able to do it using Synaptic if you have a desktop environment or using apt-get on the command line. I think Debian has a meta-package for php....try as root
    Code:
    apt-get install php5

  4. #4
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    OK I have used the synaptic manager. Was getting a little sick of it. I have it on 17 cds. They are already starting to be unreadable. I then tried just downloading apache from the internet. Took me ages to do it right. I do not really know what the basics are eg tar.gz

    I will try what you say.

  5. #5
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    If you have an internet connection on the box you should set up your repositories to directly download. That is the preferred way to use Synaptic/apt. I don't recommend installing from source tarball as you will have to manually manage the application and possibly deal with dependencies and/or version incompatibility. Post your /etc/apt/sources.list here and we can update it for you...it will mean everything will be installed directly

Posting Permissions

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