Results 1 to 10 of 10
I have tried installing lampp on my new debian system. I went onto lampps website and it recommends typing in the following to intsall the system
tar xvfz xampp-linux-1.6.7.tar.gz -C ...
- 10-09-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 21
INstalling apache server - problem
I have tried installing lampp on my new debian system. I went onto lampps website and it recommends typing in the following to intsall the system
tar xvfz xampp-linux-1.6.7.tar.gz -C /opt
the file I downloaded is called
xampp-linux-1.6.8a.tar.tar
I tried to install the system using
tar xvfz xampp-linux-1.6.8a.tar.tar -C /opt
It installed so much then came back with the error
invalid compressed data - format violated
I have no experience of using linux so I do not know what tho type in.
- 10-09-2008 #2
Out of curiosity, why don't you just use Debian packages? It seems like a lot of people struggle with XAMPP when their own distro packages can do the job just fine.
- 10-09-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 21
So would I just install a webserver? Will i be able to create php files and also databases?
Is it php4 or php5
- 10-09-2008 #4
The version of php will depend on the version of Debian. The latest releases, include php5. There is a good tutorial here, that will guide you.
- 10-09-2008 #5that should get you a running amp setup.Code:
apt-get install apache2 php5 mysql-server phpmyadmin
- 10-10-2008 #6Just Joined!
- Join Date
- May 2008
- Posts
- 21
Right - I do not really know what I am doing. I typed in the wrong thing. Then decided to go into synaptic package manager. (probably where I went wrong - installing stuff)
Then I typed
apt-get install update
then
apt-get install apache2 php4 libapache2-mod-php4
It then had problems. Can i type in something that will get rid of apache? Then I could install it again.
- 10-10-2008 #7
- 10-10-2008 #8Just Joined!
- Join Date
- May 2008
- Posts
- 21
I removed apache2 but it told me that it was not there so could not be removed.
Well I then typed the following
debian:~# apt-get install apache2 php5 libapache2-mod-php5
and got this
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
apache2: Depends: apache2-mpm-worker (= 2.0.54-5sarge2) but it is not going to be installed or
apache2-mpm-prefork (= 2.0.54-5sarge2) but 2.2.3-4+etch4 is to be installed or
apache2-mpm-perchild (= 2.0.54-5sarge2) but it is not going to be installed
E: Broken packages
- 10-11-2008 #9
Try the following,
After that try installing the webserver packages you need.Code:apt-get update apt-get install -f
- 10-11-2008 #10Just Joined!
- Join Date
- May 2008
- Posts
- 21
Well going back to the origonal method. I just reinstalled debian. Then I downloaded a version of lampp server which is actually called
xampp-linux-1.6.7.tar.gz
It worked this time. I was told that you don't get '.tar.tar' files. So I am not sure where that came from.


Reply With Quote

