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.
- 05-06-2008 #1Just 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.
- 05-06-2008 #2Just 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
- 05-06-2008 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
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
- 05-06-2008 #4Just 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.
- 05-06-2008 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
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


Reply With Quote
