Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-15-2007, 07:00 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2006
Posts: 3
Rep:
|
deb 4.0: how to install apache2, mysql 4.1, php 4 and phpmyadmin
Hi all,
i've just installed debian 4.0. Can someone tell me command line to install apache2, mysql 4.1, php 4, and phpmyadmin, libapache2 and all the necessaries modules? I was using debian 3.1 before: it seems that there is a difference (maybe a bit) between debian 3.1 and debian 4.0 commands; i couldn't find lot of support on internet because the version 4.0 came out only a few days ago, i guess? Thank you.
|
|
|
|
05-15-2007, 08:43 AM
|
#2
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
I think the 4.0 and higher version of debian do not use mysql-server-4.1 anymore.
|
|
|
|
05-15-2007, 01:40 PM
|
#3
|
|
Member
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379
Rep:
|
Code:
apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql
All dependencies will be installed by default, just say "y" when it asks.
Honestly though, I would recommend using PHP5 and MySQL5.
Last edited by BillyGalbreath; 05-15-2007 at 01:41 PM.
|
|
|
|
05-16-2007, 01:19 PM
|
#4
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
Quote:
Package: mysql-server-4.1
Depends: mysql-server-5.0
Size: 46708
Description: mysql database server (transitional package)
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This is an empty transitional package and can safely be removed.
|
It pulls mysql-server 5
|
|
|
|
05-16-2007, 01:52 PM
|
#5
|
|
Member
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379
Rep:
|
Quote:
|
Originally Posted by nx5000
It pulls mysql-server 5
|
I did not notice that. I guess it helps to read into things a little more than just the serface lol!
|
|
|
|
10-23-2007, 09:53 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2007
Posts: 17
Rep:
|
help
Quote:
Originally Posted by BillyGalbreath
Code:
apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql
All dependencies will be installed by default, just say "y" when it asks.
Honestly though, I would recommend using PHP5 and MySQL5.
|
My Friend I try to do it for this way but I have a problem whem I try to do this apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql it install the mysql-server-5 as dependecie do you know how to install the version 4 and not install version 5.
|
|
|
|
10-23-2007, 10:28 AM
|
#7
|
|
Senior Member
Registered: Dec 2005
Posts: 1,633
Rep: 
|
Read through the thread, ok? Debian Etch doesn't have version 4 anymore, but for compatability reasons maintain a link from v4 to v5. So you get the latest version instead of the older, less secure package...
Btw, it's considered 'not done' to kick a 6 month old thread...
|
|
|
|
10-23-2007, 12:22 PM
|
#8
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,474
|
Quote:
Originally Posted by Dutch Master
Btw, it's considered 'not done' to kick a 6 month old thread...
|
Well, at least his reply was directly on topic..
|
|
|
|
11-06-2007, 05:30 AM
|
#9
|
|
LQ Newbie
Registered: Oct 2007
Posts: 17
Rep:
|
So dont have a way to install mysql-server-4.1 becouse I have a software here in my colege and it dont work well with version 5 of mysql-server-5.0
|
|
|
|
11-06-2007, 07:25 AM
|
#10
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
There are probably good reasons if debian is not maintaining it anymore. Either it's too complicated, not usefull, easy for webdevelopper to port their php from 4->5 or there are security problems.
I guess you can always take the source from php homepage and compile it yourself but it could be easier, secure and much cleaner to change the php from 4->5. Maybe there are some tutorial to port apps from 4 to 5.
|
|
|
|
11-09-2007, 10:39 AM
|
#11
|
|
LQ Newbie
Registered: Sep 2007
Distribution: Debian, Ubuntu
Posts: 5
Rep:
|
PHP 4 is near abandoning from support. PHP 5 is the version pushed by the developers and your PHP4 code should normally run well even with version 5 so in my opinion, you should install the latest version of php.
for mysql, you can probably download a package somewhere. on the mysql page, you can grab version 4.1 of the server but unfortunately, they don't have a .deb. you could either compile from souces or use alien to convert the RPM into a .deb. for the second method, I really don't know if it will integrate well with apache on debian.
http://dev.mysql.com/downloads/mysql/4.1.html
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:51 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|